Skip to content

feat(mobile): chronological feed filter button uses drawer pattern#14335

Merged
dylanjeffers merged 1 commit into
mainfrom
mobile-feed-filter-drawer
May 15, 2026
Merged

feat(mobile): chronological feed filter button uses drawer pattern#14335
dylanjeffers merged 1 commit into
mainfrom
mobile-feed-filter-drawer

Conversation

@dylanjeffers
Copy link
Copy Markdown
Contributor

Summary

Follow-up to apps#14332. The merged version of that PR rendered the filter as a single inline FilterButton pill, but the desired UX is the Trending screen pattern: a single icon button anchored to the right of the screen header that opens a bottom-sheet drawer.

This PR replaces the inline pill with that pattern:

  • New FeedFilterButton — an icon SelectablePill rendered in the MobileRootHeader right-side children slot, mirroring TrendingFilterButton.
  • New FeedFilterDrawer — a bottom sheet with radio options for All Posts / Original Posts / Reposts, mirroring TrendingCombinedFilterDrawer.
  • Removes the old inline FeedFilters.tsx component and its rendering in the Chronological tab body.
  • Adds FeedFilter to the common Modals union and initial state; registers the drawer in Drawers.tsx.

Test plan

  • Open the app, navigate to Feed → Chronological tab. Confirm the filter icon-button appears on the right of the header (matching Trending's filter button placement).
  • Tap the button → a bottom-sheet drawer opens with the three radio options.
  • Select each option and confirm the feed re-queries with the new filter and the button becomes "selected" (highlighted) when the filter is non-default.
  • Switch to the For You tab and confirm the filter button is hidden.

🤖 Generated with Claude Code

Replace the inline SelectablePill filter row with a single icon
filter button in the right side of the feed header, opening a
bottom-sheet drawer with radio options for All Posts / Original
Posts / Reposts. Mirrors the Trending screen's filter button
pattern (TrendingFilterButton + TrendingCombinedFilterDrawer).

- Add 'FeedFilter' modal to the common Modals union and initial state
- New FeedFilterButton (icon SelectablePill in MobileRootHeader children)
- New FeedFilterDrawer (RadioButton list inside AppDrawer)
- Register FeedFilter drawer in Drawers.tsx commonDrawersMap
- Remove the old inline FeedFilters pill row from FeedScreen

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

changeset-bot Bot commented May 15, 2026

⚠️ No Changeset found

Latest commit: bb5c9f1

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

🌐 Web preview ready

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

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

@dylanjeffers dylanjeffers merged commit 0f9d73a into main May 15, 2026
14 checks passed
@dylanjeffers dylanjeffers deleted the mobile-feed-filter-drawer branch May 15, 2026 20:16
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