Skip to content

feat: default archived tournaments sort to newest#4501

Draft
SylvainChevalier wants to merge 1 commit intomainfrom
claude/issue-4500-archived-tournaments-should-be-sorted
Draft

feat: default archived tournaments sort to newest#4501
SylvainChevalier wants to merge 1 commit intomainfrom
claude/issue-4500-archived-tournaments-should-be-sorted

Conversation

@SylvainChevalier
Copy link
Contributor

Closes #4500

Set the default sort for the archived tournaments page to "newest" (by start date descending) instead of "featured", which is more meaningful for archived content.

Generated with Claude Code

Set the default sort for the archived tournaments page to 'newest'
(by start date descending) instead of 'featured', which is more
meaningful for archived content.

Closes #4500

Co-authored-by: Sylvain <SylvainChevalier@users.noreply.github.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 17, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c64df42d-96ef-44b0-9984-261594b3afbe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/issue-4500-archived-tournaments-should-be-sorted
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can generate a title for your PR based on the changes.

Add @coderabbitai placeholder anywhere in the title of your PR and CodeRabbit will replace it with a title based on the changes in the PR. You can change the placeholder by changing the reviews.auto_title_placeholder setting.

@github-actions
Copy link
Contributor

🚀 Preview Environment

Your preview environment is ready!

Resource Details
🌐 Preview URL https://metaculus-pr-4501-claude-issue-4500-archived-tou-preview.mtcl.cc
📦 Docker Image ghcr.io/metaculus/metaculus:claude-issue-4500-archived-tournaments-should-be-sorted-10eb425
🗄️ PostgreSQL NeonDB branch preview/pr-4501-claude-issue-4500-archived-tou
Redis Fly Redis mtc-redis-pr-4501-claude-issue-4500-archived-tou

Details

  • Commit: 09c2b356bf8ce706c8caea757719d80acb62c9d9
  • Branch: claude/issue-4500-archived-tournaments-should-be-sorted
  • Fly App: metaculus-pr-4501-claude-issue-4500-archived-tou

ℹ️ Preview Environment Info

Isolation:

  • PostgreSQL and Redis are fully isolated from production
  • Each PR gets its own database branch and Redis instance
  • Changes pushed to this PR will trigger a new deployment

Limitations:

  • Background workers and cron jobs are not deployed in preview environments
  • If you need to test background jobs, use Heroku staging environments

Cleanup:

  • This preview will be automatically destroyed when the PR is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Archived tournaments should be sorted by new by default

1 participant