Skip to content

feat(marketplace): sector filter chips with live counts - #499

Merged
TS-mfon merged 1 commit into
StellarState:devfrom
ayinde38:feat/477-sector-chips
Oct 18, 2026
Merged

TS-mfon merged 1 commit into
StellarState:devfrom
ayinde38:feat/477-sector-chips

Conversation

@ayinde38

@ayinde38 ayinde38 commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #477
Closes #493

  • New SectorChips row below the marketplace header: one toggle per sector, several can be active at once, and Reset All clears the selection
  • Chips write to the existing category query param and taxonomy state, which is part of the React Query key, so toggling refetches the invoice list
  • sectorCounts() in lib/invoiceTaxonomy.ts counts live (open) invoices per sector; the page keeps the counts from the last unfiltered list so the other chips don't drop to 0 while a sector is active
  • The row scrolls sideways (overflow-x-auto, shrink-0 chips) so it doesn't wrap or overflow on mobile
  • Tests cover the chip states, toggle/reset callbacks and the count rules

…tate#477)

Horizontal, scrollable row of multi-select sector chips below the
marketplace header. Toggling a chip updates the category query param and
the React Query key, so the invoice list refetches; Reset All clears the
sector selection. Chips show live (open) invoice counts per sector.
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@ayinde38 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@TS-mfon
TS-mfon merged commit 0578ffc into StellarState:dev Oct 18, 2026
1 check failed
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.

Implement referral dashboard page with earnings and invite link Build invoice categorisation filter panel with sector chips

2 participants