Skip to content

Client-side filtering, sort by grade, pagination#64

Merged
Pyronewbic merged 1 commit into
mainfrom
dev
May 13, 2026
Merged

Client-side filtering, sort by grade, pagination#64
Pyronewbic merged 1 commit into
mainfrom
dev

Conversation

@Pyronewbic
Copy link
Copy Markdown
Owner

Summary

  • Client-side format filtering: Raw excludes graded slabs, Slab only shows listings matching selected provider+grade
  • Client-side condition filtering: instant without re-fetch when results are loaded
  • Sort by grade (high to low) added to sort dropdown
  • Pagination: 25 listings per page with "Show more" button
  • Autocomplete suppressed on hint chip clicks
  • 7 new smoke tests for search filters
  • 278 tests total (128 unit + 80 API + 70 smoke)

Breaking changes

None.

Demo data

  • Sample data hints still work
  • Format toggle filters correctly (Raw/Slab)
  • Sort by grade works on AI-graded cards

Dashboard now matches Lovable frontend behavior:
- Raw excludes slabs, Slab matches provider+grade (client-side)
- Condition filter applies instantly without re-fetch
- Sort by grade (high to low) added
- Pagination with 25/page and "Show more" button
- Autocomplete suppressed on hint chip clicks

7 new smoke tests for search filters. 278 tests total.
@Pyronewbic Pyronewbic merged commit 5bfccaf into main May 13, 2026
2 checks passed
Pyronewbic added a commit that referenced this pull request May 14, 2026
Client-side filtering, sort by grade, pagination
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