Skip to content

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Sep 6, 2025

Description

When name of a tab is defined as function then query params are wrongly set on selection of the tab. This PR fixes the behaviour by always checking the type of name defined.

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):

Check URL in browser address bar,

image

How Has This Been Tested?

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

When name of a tab is defined as function then query params are wrongly
set on selection of the tab. This PR fixes the behaviour by always
checking the type of name defined.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Copy link

codecov bot commented Sep 6, 2025

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11590      +/-   ##
============================================
- Coverage     16.17%   16.17%   -0.01%     
  Complexity    13286    13286              
============================================
  Files          5656     5656              
  Lines        498015   498015              
  Branches      60406    60406              
============================================
- Hits          80538    80536       -2     
- Misses       408515   408517       +2     
  Partials       8962     8962              
Flag Coverage Δ
uitests 4.01% <ø> (+<0.01%) ⬆️
unittests 17.02% <ø> (-0.01%) ⬇️

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.

@shwstppr
Copy link
Contributor Author

shwstppr commented Sep 6, 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.

@blueorangutan
Copy link

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

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
verified in qa:

…/simulator/#/guestnetwork/80e5ad76-be5d-4a8a-b74b-a3187cc71a05?tab=function(e)%7Breturn%22Shared%22%3D%3D%3De.type%3F%22ip.addresses%22%3A%22public.ip.addresses%22%7D

4.20, vs

.../simulator/pr/11590/#/guestnetwork/80e5ad76-be5d-4a8a-b74b-a3187cc71a05?tab=ip.addresses

in the pr

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.

code LGTM

@DaanHoogland DaanHoogland merged commit 6a14535 into apache:4.20 Sep 15, 2025
41 of 42 checks passed
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.

4 participants