Skip to content

feat: improve mic detection app filtering and settings UI#4484

Open
ComputelessComputer wants to merge 10 commits intomainfrom
add-platform-inclusion-filtering
Open

feat: improve mic detection app filtering and settings UI#4484
ComputelessComputer wants to merge 10 commits intomainfrom
add-platform-inclusion-filtering

Conversation

@ComputelessComputer
Copy link
Collaborator

@ComputelessComputer ComputelessComputer commented Mar 10, 2026

  • Improves mic detection app filtering by persisting included_platforms so users can re-include apps that are ignored by default while keeping explicit ignores highest priority.
  • Polishes the notification settings UI with the new search/popover flow and clearer excluded-app state.
  • Adds coverage for the new filtering behavior in Rust and desktop tests.

Simplify ignored platforms logic by storing bundle IDs instead of
app names. Extract dropdown options logic into separate function
and remove unnecessary name-to-bundleId conversions. Update form
handling to work directly with bundle IDs and improve variable
naming for clarity.
Add included_platforms configuration alongside ignored_platforms to
provide more granular control over app tracking. This allows users
to explicitly include categorized apps that would normally be
filtered out.

Implement storage layer support for included platforms with JSON
array serialization. Update MicNotificationPolicy to prioritize
included platforms over default category-based filtering while
maintaining ignored platform precedence. Add comprehensive test
coverage for the new inclusion behavior.
Filter out already ignored apps from the dropdown options instead of
showing them with an "include" action. This simplifies the interface
by only displaying apps that can actually be excluded, making the
user experience more intuitive.

Remove action labels and isDefaultIgnored properties from dropdown
items since they are no longer needed. Update helper text to reflect
the new behavior where only non-ignored apps appear in search results.
…mponent

Migrate notification settings app selection from custom dropdown
implementation to shadcn's Command/Popover components for
better UX and maintainability. Remove manual keyboard handling
and click-outside logic in favor of built-in Command component
functionality.
@ComputelessComputer ComputelessComputer force-pushed the fix-exclude-mic-detection branch from 2b018cc to 181514d Compare March 10, 2026 08:17
@ComputelessComputer ComputelessComputer force-pushed the add-platform-inclusion-filtering branch from 844fc81 to db6926d Compare March 10, 2026 08:17
Add width-aware ordering algorithm for ignored platform ID chips
that optimizes layout by filling rows efficiently. Implement
container width tracking using ResizeObserver to dynamically
adjust chip ordering based on available space.

This improves visual organization of ignored apps by minimizing
gaps and creating more balanced rows when chips wrap to multiple
lines.
@ComputelessComputer ComputelessComputer changed the title added default apps for ignoring added default apps for ignoring and polished ui Mar 10, 2026
Base automatically changed from fix-exclude-mic-detection to main March 10, 2026 08:58
…ges)

Co-Authored-By: John <john@hyprnote.com>
@netlify
Copy link

netlify bot commented Mar 10, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 02b58b9
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69afe4aad3b379000865ff7c

@netlify
Copy link

netlify bot commented Mar 10, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit 02b58b9
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69afe4aa574cfe00086bc891

@devin-ai-integration devin-ai-integration bot changed the title added default apps for ignoring and polished ui feat: add platform inclusion filtering and polish notification UI Mar 10, 2026
@ComputelessComputer
Copy link
Collaborator Author

ComputelessComputer commented Mar 10, 2026

@yujonglee FYI - included_platforms exists to let users override default-ignored apps. With only ignored_platforms, the default ignore list would always suppress those apps with no opt-back-in path.

devin-ai-integration bot and others added 2 commits March 10, 2026 09:23
…le_ids, add priority test

Co-Authored-By: John <john@hyprnote.com>
Co-Authored-By: John <john@hyprnote.com>
@ComputelessComputer ComputelessComputer changed the title feat: add platform inclusion filtering and polish notification UI feat: improve mic detection app filtering and settings UI Mar 16, 2026
@ComputelessComputer ComputelessComputer requested review from goranmoomin and removed request for yujonglee March 16, 2026 07:01
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