-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ui: fix tab name in query params #11590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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>
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
UI build: ✔️ |
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
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
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Check URL in browser address bar,
How Has This Been Tested?
How did you try to break this feature and the system with this change?