mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Replace the modal "type a name to save" flow with a one-click Save that auto-generates the label from the active filters (describeQuery, reusing the same formatter FilterPill uses for pill text — one source of truth, nothing to type, nothing to fall out of sync). Saved views render as a grid of cards at the top of the filter bar instead of being buried in a dropdown. - useSavedViews: localStorage state, extracted so FilterBar owns one instance instead of two components each subscribing separately - SaveViewButton: filled (not outline) since it's the one action-y control among a row of filter pills; flashes to a disabled "Saved" + checkmark state for 1.5s on click, in addition to the corner toast — the toast alone wasn't registering as feedback - SavedViewCards: click to apply, per-card delete, active one highlighted - moved from the wrapping filter-pill row into the pinned right-hand zone (with sort) behind its own divider, so it can't shove pills around - Save icon: BookmarkPlus -> Save (floppy disk reads as "save" faster) - More filters button: outline/gray -> default variant — same low- contrast-outline problem the inactive filter pill had - Clear button font bumped xs -> sm to match the rest of the bar