Skip to content

feat: show all search filters on the All tab (web + mobile)#14248

Draft
dylanjeffers wants to merge 1 commit intomainfrom
dylan/search-all-tab-filters
Draft

feat: show all search filters on the All tab (web + mobile)#14248
dylanjeffers wants to merge 1 commit intomainfrom
dylan/search-all-tab-filters

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Summary

  • The Search All tab now shows the same filter buttons that appear on the Tracks/Albums/Playlists sub-tabs (genre, mood, key, bpm, premium, downloads available, verified) on both web and mobile.
  • Implementation: extends the all entry in the categories/filters mapping (packages/web/src/pages/search-page/categories.ts and packages/mobile/src/screens/search-screen/SearchCategoriesAndFilters.tsx) from an empty list to the union of sub-tab filters. The filters were already wired through useSearchAllResults in packages/common/src/api/tan-query/search/useSearchResults.ts, so no API plumbing was needed.

Test plan

  • Web: npm run web:prod, navigate to /search, confirm the All tab shows all 7 filter buttons in the header bottom bar
  • Web: select a genre / mood / key / bpm / premium / downloads / verified filter on the All tab and verify results across all four sections (Profiles, Tracks, Albums, Playlists) update accordingly
  • Web: switching from All to Tracks/Albums/Playlists preserves applied filters where they overlap
  • Web: when genre is Podcasts, key + bpm filters are hidden (existing behavior)
  • Mobile (iOS + Android): open Search, confirm All tab shows the full set of filter pills, scroll horizontally
  • Mobile: applying any filter on All tab updates the All results (sections re-fetch)
  • Mobile: switching categories still clears filters (existing behavior)

🤖 Generated with Claude Code

Previously the All tab had no filter buttons even though the underlying
search-all query already accepts every filter. The Tracks/Albums/Playlists
sub-tabs each exposed their relevant subset, so filtering was only
available after switching tabs. The All tab now exposes the union of all
sub-tab filters: genre, mood, key, bpm, isPremium, hasDownloads, isVerified.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 6, 2026

⚠️ No Changeset found

Latest commit: 752c6e6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

🌐 Web preview ready

Preview URL: https://audius-web-preview-pr-14248.audius.workers.dev

Unique preview for this PR (deployed from this branch).
Workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant