Skip to content

feat(core): add FilterPresets component, table row drilldown, and expanded date range presets - #3325

Open
FrancescoCastaldi wants to merge 1 commit into
evidence-dev:nextfrom
FrancescoCastaldi:feat/advanced-filters-presets-drilldown
Open

feat(core): add FilterPresets component, table row drilldown, and expanded date range presets#3325
FrancescoCastaldi wants to merge 1 commit into
evidence-dev:nextfrom
FrancescoCastaldi:feat/advanced-filters-presets-drilldown

Conversation

@FrancescoCastaldi

Copy link
Copy Markdown

Description

This PR introduces advanced interactive filtering capabilities to Evidence:

  1. <FilterPresets> / filter_presets Component (Saved Views):
    • Allows authors to define quick preset buttons, pills, or chips that simultaneously set multiple filter values across the page (e.g. [ { label: "Q1 US Enterprise", values: { region: "US", segment: "Enterprise" } } ]).
    • Supports active state detection, toggling, variant="pills|buttons|chips", size="sm|base|lg", and align="left|center|right".
    • Included in FILTER_INPUT_COMPONENTS and allowed inside <FilterBar>.
  2. Table Row Click Cross-Filtering / Drill-down:
    • Enables cross_filter=true, cross_filter="filter_id", and cross_filter_multiple=true on <Table>.
    • Clicking a table row filters other charts and tables by that row's dimension value and highlights the active row.
    • Prevents self-filtering on the table itself.
  3. Expanded Date Range Presets:
    • Added last 14 days, last 60 days, and last 90 days to the native preset definitions and schemas.
  4. Unit Tests:
    • Added unit test suites for FilterPresets, table cross-filtering attributes, and date-range presets with full pass.

…date range presets

- add <FilterPresets> / filter_presets tag for quick multi-filter presets and saved views with pills/buttons/chips styling
- add table row click cross-filtering / drilldown with selection highlight and self-filter exclusion
- add expanded date range presets (last 14 days, last 60 days, last 90 days)
- add comprehensive unit test suites
@vercel

vercel Bot commented Aug 27, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Evidence Team on Vercel.

A member of the Team first needs to authorize it.

@FrancescoCastaldi

Copy link
Copy Markdown
Author

Hi @archiewood @hughess! 👋 This PR adds the new / saved views component, table row click cross-filtering, and expanded date range presets. Whenever you get a chance, we would love your feedback!

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