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
Dashboard filter bar: clear actions, active count, impact hints, and overflow
Problem
The dashboard filter bar already renders shared parameter controls and reruns affected panels. With several filters, however, users cannot easily answer:
Which filters are active?
How do I clear one or all dashboard filters?
Which panels does a filter affect?
Is a hidden filter blocking a panel?
How can the toolbar stay compact when many parameters exist?
These are presentation and usability problems over the existing parameter analysis. They do not require query-backed option sources, multiselect, or new execution semantics.
Goal
Improve the dashboard filter bar with four focused behaviors:
clear one filter;
clear all filters used by this dashboard;
show active count and per-filter impact;
collapse overflow behind More filters (N) without hiding errors.
Shared-state rule
Dashboard filters use the existing shared stores:
state.varValuesstate.filterActive
Clear actions change activation only unless explicitly stated.
A cleared filter:
becomes inactive;
keeps its stored value dormant;
persists activation;
re-runs affected dashboard panels;
does not delete recent-value history.
This matches optional-block semantics and allows reactivation without retyping.
Per-filter clear
Every active filter gets a clear affordance:
level: [Warning ×]
Behavior:
sets filterActive[name] = false;
preserves varValues[name];
persists activation;
performs one affected-panel rerun wave;
remains keyboard accessible;
is absent or disabled when already inactive.
Clear dashboard filters
Add a toolbar action:
Clear filters
It deactivates only parameters referenced by the current dashboard snapshot.
It must not:
remove unrelated globally stored values;
clear recent history;
affect parameters used only by saved queries outside the dashboard;
trigger one rerun per field.
All activation changes coalesce into one preparation and rerun wave.
Disable or hide the action when no dashboard filter is active.
Active-filter count
Show a compact status near the filter bar:
3 active
Rules:
count active dashboard parameters, not non-empty stored values;
hidden/overflow filters still count;
invalid required fields do not count as active;
count updates immediately after clear or activation change.
Impact hints
Use existing multi-source parameter analysis.
Each field displays one concise hint:
used by 6 panels
3 panels waiting
used by 1 setup source
Rules:
ordinary count is the number of displayed Panel sources referencing the parameter;
waiting count is shown while the parameter is inactive/invalid and required by those Panels;
Dashboard filter bar: clear actions, active count, impact hints, and overflow
Problem
The dashboard filter bar already renders shared parameter controls and reruns affected panels. With several filters, however, users cannot easily answer:
These are presentation and usability problems over the existing parameter analysis. They do not require query-backed option sources, multiselect, or new execution semantics.
Goal
Improve the dashboard filter bar with four focused behaviors:
More filters (N)without hiding errors.Shared-state rule
Dashboard filters use the existing shared stores:
Clear actions change activation only unless explicitly stated.
A cleared filter:
This matches optional-block semantics and allows reactivation without retyping.
Per-filter clear
Every active filter gets a clear affordance:
Behavior:
filterActive[name] = false;varValues[name];Clear dashboard filters
Add a toolbar action:
It deactivates only parameters referenced by the current dashboard snapshot.
It must not:
All activation changes coalesce into one preparation and rerun wave.
Disable or hide the action when no dashboard filter is active.
Active-filter count
Show a compact status near the filter bar:
Rules:
Impact hints
Use existing multi-source parameter analysis.
Each field displays one concise hint:
Rules:
Keep exact source names in the tooltip when useful.
Overflow
When filters no longer fit the intended first toolbar row, keep a stable visible subset and place the rest under:
Requirements:
Initial ordering may remain parameter discovery order. MRU ordering is not required.
Never hide blocking states
A filter in any of these states must not be silently hidden:
Choose one consistent behavior:
More filters (N)and focus/open it when activated.The user must be able to identify why a Panel is blocked without searching blindly.
Accessibility
aria-expandedandaria-controls;Files
Expected changes:
src/core/dashboard.jssrc/ui/dashboard.jssrc/styles.cssNo new runtime dependency.
Tests
Clear behavior
Count and impact
Overflow
Acceptance criteria
Clear filtersdeactivates only parameters used by the current dashboard and performs one rerun wave.More filters (N).Non-goals