Skip to content

Add bounty sort dropdown#291

Open
GHX5T-SOL wants to merge 1 commit into
algora-io:mainfrom
GHX5T-SOL:fix/124-bounty-sort-dropdown
Open

Add bounty sort dropdown#291
GHX5T-SOL wants to merge 1 commit into
algora-io:mainfrom
GHX5T-SOL:fix/124-bounty-sort-dropdown

Conversation

@GHX5T-SOL
Copy link
Copy Markdown

Refs #124.

Summary

  • add a URL-backed sort selector on /bounties
  • support newest, highest price, and primary technology ordering in bounty queries
  • use offset pagination for the sorted bounty list and add focused query coverage

Validation

  • mix format --check-formatted lib/algora_web/live/bounties_live.ex lib/algora/bounties/bounties.ex test/algora/bounties_test.exs
  • TEST_DATABASE_URL=postgresql://postgres:postgres@localhost:15432/algora_test mix test test/algora/bounties_test.exs (21 tests, 0 failures; existing unrelated Oban sandbox/ChromicPDF warnings emitted)
  • git diff HEAD~1..HEAD --check
  • git diff HEAD~1..HEAD | gitleaks detect --pipe --no-banner --redact (no leaks found)

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.

1 participant