Skip to content

Show active filter chips with one-tap remove above MarketplacePage results #160

Description

@greatest0fallt1me

Description

This is a UI/UX issue. Once filters are applied in FiltersSidebar.tsx, users on MarketplacePage.tsx have no visible summary of what's filtering the results. Render active filters as removable chips (category names, price range, popularity) above the grid with an × per chip and a "Clear all" link.

Requirements and Context

  • Reference: src/components/FiltersSidebar.tsx, src/pages/MarketplacePage.tsx
  • Each chip exposes aria-label="Remove filter <name>"
  • "Clear all" appears only when ≥2 chips present
  • Chip row collapses when no filters active
  • Must be secure, tested, and documented
  • Should be efficient and easy to review

Suggested Execution

  1. Fork the repo and create a branch
    git checkout -b feature/active-filter-chips
  2. Implement changes
    • src/components/ActiveFilterChips.tsx
    • src/pages/MarketplacePage.tsx — derive chip list from state
  3. Test and commit
    • Add filters, remove one chip, confirm result updates
    • Confirm screen-reader announces chip removal

Example commit message

feat: active filter chips above MarketplacePage results

Acceptance Criteria

  • Each chip removes the correct piece of filter state
  • "Clear all" link appears only with ≥2 chips
  • Chip row collapses when no filters apply
  • Chip remove button hits 44x44 on mobile

Guidelines

  • Keep chips height-aligned with the search bar above them
  • Use design tokens; no inline hex
  • Clear documentation and inline comments
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

GRANTFOX OSSGrantFox open-source campaign taskMAYBE REWARDEDMay be rewarded under the GrantFox campaignOFFICIAL CAMPAIGNOfficial GrantFox campaign issueStellar WaveIssues in the Stellar wave programaccessibilityWCAG 2.1 AA accessibilitydesignVisual/design-system workenhancementNew feature or improvementui/uxUI/UX design, usability, and visual polish

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions