Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Contest on Explore Page #10384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Link to Issue
Closes: #10320

Description of Changes

  • Rename "/communities" link to "/explore"
  • Update header to show only "explore" instead of "explore communities"
  • Implement new contest sorting logic:
    • Active contests appear first
    • Active contests sorted by closest end_date (ending soonest)
    • For same end_date, sort by prize amount (descending)
    • Inactive contests sorted by most recent end date (descending)

Test Plan

  1. Navigate to /explore (previously /communities)
  2. Verify header shows only "Explore"
  3. Test contest sorting:
    • Create multiple contests with different end dates and prize amounts
    • Verify active contests appear first
    • Verify active contests are sorted by end date (soonest first)
    • Verify contests with same end date are sorted by prize amount
    • Verify inactive contests are sorted by most recent end date

Deployment Plan
Standard deployment process - no special steps required.

Other Considerations
N/A

Link to Devin run: https://app.devin.ai/sessions/d0d961146c4b443cbbc55ed9a3828928

- Rename /communities route to /explore
- Update header to show only 'explore'
- Implement new contest sorting logic:
  - Active contests first, sorted by end date
  - Secondary sort by prize amount
  - Inactive contests sorted by most recent end date

Co-Authored-By: [email protected] <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

@dillchen dillchen requested review from Israellund and removed request for burtonator and mzparacha January 17, 2025 15:56
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.

Update Contest on Explore Page
0 participants