You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the current always-visible list of filter toggles with a filter group model: named, savable bundles of repos + PR types the user can switch between.
Motivation
Today users configure repos and PR types once, and can only toggle individual filters on/off. Users who monitor different sets of PRs at different times have no way to save and switch between configurations.
Design summary
A filter group is a named collection of repo filters + state filter (open/closed/all). Persisted in localStorage.
On first load, existing filter config migrates into a single group named "Default".
When there is only one group, the UI looks identical to today — no dropdown, no group management chrome.
Once a second group is created (via Save new), a dropdown selector appears above the filter panel. Groups sorted alphabetically case-insensitive.
Dirty state (structural change OR enabled toggle) surfaces Save and Save new buttons. Dirty state lives in React memory only — persists across in-app navigation, lost on refresh.
Save updates the current group in localStorage.
Save new replaces the buttons with an inline name input (Enter confirm, Escape cancel). Unique-case-insensitive + trimmed. On confirm, creates a new group and switches to it — dropdown appears at that moment.
Switching groups while dirty silently discards the pending edits.
Delete via a trash/kebab affordance on hover of a dropdown row, with a confirm dialog. If the active group is deleted, fall back to the alphabetically-first remaining group. When only one group remains, the dropdown hides — so the last group is structurally undeletable.
Renaming is out of scope. Users delete + Save-new to rename.
Planned sub-tasks
Refactor filter storage into named groups + migrate existing config.
Add group selector dropdown, Save/Save-new buttons, dirty tracking, switching.
Replace the current always-visible list of filter toggles with a filter group model: named, savable bundles of repos + PR types the user can switch between.
Motivation
Today users configure repos and PR types once, and can only toggle individual filters on/off. Users who monitor different sets of PRs at different times have no way to save and switch between configurations.
Design summary
enabledtoggle) surfaces Save and Save new buttons. Dirty state lives in React memory only — persists across in-app navigation, lost on refresh.Planned sub-tasks