Skip to content

Add an inline category pill bar above MarketplacePage results #159

Description

@greatest0fallt1me

Description

This is a UI/UX issue. Most users filter by exactly one category, yet they must open the FiltersSidebar to do so. Surface category selection as a horizontally scrollable pill bar above the results grid, mirroring ALL_CATEGORIES from FiltersSidebar.tsx, with an "All" pill on the left.

Requirements and Context

  • Reference: src/pages/MarketplacePage.tsx, src/components/FiltersSidebar.tsx
  • Pills toggle the same selectedCategories Set as the sidebar
  • Active pill uses aria-pressed="true" and a distinct token-backed background
  • Pill bar must overflow-scroll with visible scrollbar on hover for desktop
  • 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/category-pill-bar
  2. Implement changes
    • src/components/CategoryPills.tsx — accepts categories + selected set + toggle
    • src/pages/MarketplacePage.tsx — render above results
    • src/index.css.pill-bar, .pill-bar__item--active
  3. Test and commit
    • Toggle pills and confirm sidebar checkboxes stay in sync
    • Verify scroll snap on a 360px viewport

Example commit message

feat: inline category pill bar on MarketplacePage

Acceptance Criteria

  • Pills mirror sidebar category state both ways
  • Active pill uses aria-pressed and tokenized color
  • Pill bar scrolls horizontally without page overflow
  • "All" pill resets to no categories selected

Guidelines

  • Maintain 44x44 minimum target on mobile
  • Use design tokens for all colors and radii
  • 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 programdesignVisual/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