Skip to content

[Backport v0.17 beta] Fix clearing optional dashboard filters - #3003

Merged
jerome-ng merged 1 commit into
release/v0.17.0-betafrom
jerome-ng/backport-2913-v0.17-beta
Aug 3, 2026
Merged

[Backport v0.17 beta] Fix clearing optional dashboard filters#3003
jerome-ng merged 1 commit into
release/v0.17.0-betafrom
jerome-ng/backport-2913-v0.17-beta

Conversation

@jerome-ng

Copy link
Copy Markdown
Collaborator

Summary

Backports #2913 to release/v0.17.0-beta.

  • Normalize empty optional dashboard filter values.
  • Clear the filter-card constraint with [] when a previously selected optional value is removed.
  • Keep required-filter modal state consistent after a field is cleared.

Why

Selecting and then clearing an optional Cohort Builder wizard field could leave an invalid constraint and show an error. This applies the reviewed fix from #2913 to the v0.17 beta release line.

User impact

Users can clear optional dashboard filters without encountering the previous error.

Validation

  • npm --prefix plugins/ui/apps/vue-mri-ui-lib run test:unit -- src/utils/__tests__/dashboardFlowUtils.test.ts — 13 tests passed.
  • git diff --check origin/release/v0.17.0-beta...HEAD — passed.
  • Backport patch ID matches the merged [D2E 21] Fix clearing optional dashboard filters #2913 squash commit (c6479368ffc82a9274e39d1a05bee253ad18a81b).

@jerome-ng
jerome-ng merged commit 4363124 into release/v0.17.0-beta Aug 3, 2026
107 of 110 checks passed
@jerome-ng
jerome-ng deleted the jerome-ng/backport-2913-v0.17-beta branch August 3, 2026 01:04
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.

2 participants