Skip to content

feat(mobile): add "Any" option to inbox Source and Priority filters (port #3493)#3595

Open
Gilbert09 wants to merge 1 commit into
mainfrom
posthog-code/mobile-inbox-any-filter
Open

feat(mobile): add "Any" option to inbox Source and Priority filters (port #3493)#3595
Gilbert09 wants to merge 1 commit into
mainfrom
posthog-code/mobile-inbox-any-filter

Conversation

@Gilbert09

Copy link
Copy Markdown
Member

Problem

The desktop inbox filters gained an "Any" option for Source and Priority in #3493, but the mobile filter sheet had no equivalent — there was no explicit way to see or reset to "no filtering" on those two sections.

Changes

Ports #3493 to apps/mobile. Adds an "Any" row at the top of the Source and Priority sections of the filter sheet, matching the existing mobile filter-row styling:

  • "Any" reads as selected when that filter array is empty (empty = no filtering).
  • Tapping "Any" clears the filter back to empty. Source clears via a new clearSourceProductFilter store action (mirroring desktop); Priority reuses the existing setPriorityFilter([]).

Mobile only — no desktop code touched.

How did you test this?

  • Extended inboxFilterStore.test.ts with a case for the new clearSourceProductFilter action; vitest run src/features/inbox/stores/inboxFilterStore.test.ts passes (9/9).
  • biome check clean; tsc --noEmit reports no errors in the inbox feature.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

Ports #3493 to the mobile filter sheet. Adds an "Any" row at the top of the
Source and Priority sections that reads as selected when the filter is empty
and clears the filter back to empty when tapped. Source clears via a new
clearSourceProductFilter store action; Priority reuses setPriorityFilter([]).

Generated-By: PostHog Code
Task-Id: be78b0df-c31b-4e0e-8d37-feaf22a054d0
@Gilbert09
Gilbert09 requested a review from a team July 20, 2026 16:17
@trunk-io

trunk-io Bot commented Jul 20, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit c6fcc38.

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.

1 participant