feat: show leaderboards inline in project Django admin page#4323
feat: show leaderboards inline in project Django admin page#4323SylvainChevalier wants to merge 3 commits intomainfrom
Conversation
Adds a LeaderboardInline to ProjectAdmin so all leaderboards associated with a project are visible directly on the project change page. Each row shows the leaderboard's score type, time range, finalize time, finalized status, prize pool, and whether it is the primary leaderboard. The leaderboard name links to its own change page for easy navigation. Closes #4305 Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
|
@claude some QA feedback:
|
|
Claude finished @SylvainChevalier's task in 1m 36s —— View job QA Feedback AddressedAll three issues have been fixed in commit
|
|
@claude info is still duplicated. E.g. the first three columns from a table I'm looking at right now: The scoring type is repeated thrice. The name of the project is redundant since we're already on the project page. We should give the link to the leaderboard page, and the scoring type, with not repetition. |
|
Claude finished @SylvainChevalier's task in 3m 56s —— View job Duplicate Info Fixed in Leaderboard Inline
Changes MadeThe score type was appearing 3 times per row:
Fixes applied:
The inline now shows each piece of info exactly once: a clickable link (with score type), start/end/finalize times, finalized status, prize pool, and is_primary. |
Adds a LeaderboardInline to ProjectAdmin so all leaderboards associated with a project are visible directly on the project change page.
Closes #4305
Generated with Claude Code