SRVKP-12917: Clear all filters should clear datasource instead of resetting to default#1189
SRVKP-12917: Clear all filters should clear datasource instead of resetting to default#1189ankrsinha wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ankrsinha The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
|
@ankrsinha: This pull request references SRVKP-12917 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
I have verified the changes, everything looks good to me. Screencast.From.2026-07-23.15-33-30.mp4add official /lgtm please |
…o default Signed-off-by: Ankur Sinha <anksinha@redhat.com>
97a0ef5 to
b9771d7
Compare
Type of Change
Summary
"Clear all filters" on PipelineRuns and TaskRuns pages was not fully clearing the datasource filter. Instead of removing it, it was resetting to the default value ("Cluster"), leaving the filter chip visible and data still filtered by cluster source.
Problem
onClearAllcalledresetDatasourcePreference()which set the preference to ['cluster-data'] (default) instead of [] (no filter).Fix
clearPreferencemethod that sets the datasource preference to [], removing the filter entirely.resetPreferencemethod.onClearAllto useclearPreferenceinstead ofresetPreference.Screen Recordings / Screenshot
Screencast.From.2026-07-23.11-21-38.mp4