Skip to content

feat(figures): add selector-based filtering to figure gallery#15

Merged
lewisjared merged 2 commits intomainfrom
add-filters
Mar 6, 2026
Merged

feat(figures): add selector-based filtering to figure gallery#15
lewisjared merged 2 commits intomainfrom
add-filters

Conversation

@lewisjared
Copy link
Contributor

Summary

  • Add multi-select selector filters to the figure gallery, allowing users to filter figures by execution group selector attributes (e.g. source_id, variable_id, experiment_id)
  • Selector keys and values are automatically extracted from the loaded execution groups
  • Each selector key gets a searchable multi-select popover with checkboxes
  • Active filters display as removable badges below the selector buttons
  • Filters combine with existing execution group and figure name filters (AND across keys, OR within values)

Changes

  • New: frontend/src/components/diagnostics/selectorFilterPanel.tsxSelectorFilterPanel component with matchesSelectorFilters utility
  • Modified: frontend/src/components/diagnostics/figureGallery.tsx — integrated selector filter state and UI

Add multi-select filter controls for execution group selectors
(e.g. source_id, variable_id, experiment_id) so users can narrow
figures by dataset attributes. Filters combine with existing
execution group and figure name filters.
@netlify
Copy link

netlify bot commented Mar 6, 2026

Deploy Preview for climate-ref canceled.

Name Link
🔨 Latest commit a78d0bf
🔍 Latest deploy log https://app.netlify.com/projects/climate-ref/deploys/69aa681a2500fe00087df0ca

* origin/main:
  fix: use starlette.exceptions.HTTPException for SPA fallback
@lewisjared lewisjared merged commit 570e20c into main Mar 6, 2026
7 checks passed
@lewisjared lewisjared deleted the add-filters branch March 7, 2026 05:46
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