Skip to content

Conversation

@shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Sep 4, 2025

Description

Prevents removing all query params when there is a change from SearchView element.
Currently, all query params are removed as soon as the search is applied from SearchView element. This PR changes to the behaviour to removing only the query params which are from searchFilters of the section.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Before fix,

filter-not-honored-on-searchview-change.mp4

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@shwstppr
Copy link
Contributor Author

shwstppr commented Sep 4, 2025

With change

filter-honored-on-searchview-change.mp4

Prevents removing all query params when there is a change from
SearchView element.

Signed-off-by: Abhishek Kumar <[email protected]>
@shwstppr shwstppr force-pushed the ui-fix-searchview-removesqueryparams branch from 12ea655 to f854965 Compare September 4, 2025 09:44
@apache apache deleted a comment from blueorangutan Sep 4, 2025
@apache apache deleted a comment from blueorangutan Sep 4, 2025
@shwstppr
Copy link
Contributor Author

shwstppr commented Sep 4, 2025

@blueorangutan ui

@blueorangutan
Copy link

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.17%. Comparing base (973b333) to head (f854965).
⚠️ Report is 27 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11576      +/-   ##
============================================
- Coverage     16.17%   16.17%   -0.01%     
  Complexity    13287    13287              
============================================
  Files          5656     5656              
  Lines        498008   498015       +7     
  Branches      60404    60407       +3     
============================================
  Hits          80541    80541              
- Misses       408505   408511       +6     
- Partials       8962     8963       +1     
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 17.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/11576 (QA-JID-740)

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DaanHoogland DaanHoogland merged commit 7c76a3c into apache:4.20 Sep 15, 2025
26 checks passed
@DaanHoogland DaanHoogland deleted the ui-fix-searchview-removesqueryparams branch September 15, 2025 08:01
@weizhouapache weizhouapache added this to the 4.20.2 milestone Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants