SRVKP-12917: Clear all filters should clear datasource instead of resetting to default - #1189
Conversation
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 |
97a0ef5 to
b9771d7
Compare
…o default Signed-off-by: Ankur Sinha <anksinha@redhat.com>
b9771d7 to
d0eb520
Compare
|
verified using PR image in Openshift cluster pr.review.mov |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adityavshinde, ankrsinha, arvindk-softwaredev The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
121bed6
into
openshift-pipelines:master
|
/cherry-pick release-v1.24.x |
|
@ankrsinha: new pull request created: #1215 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 kubernetes-sigs/prow repository. |
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