-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Fix] Settings: Metric Configuration Link #182
Conversation
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.
This looks like a good fix for the problem at hand, though here are some other cases to think about:
What if a user shares a link like /settings/metric-config
without the system? If someone clicks on that link, will they see the blank screen? Should we re-route them to the right system in that case?
Or what if a user shares a link like /settings/metric-config?system=SOME_SYSTEM
and the person that clicks on the link doesn't have that system? Should we also re-route them to the right system in that case?
Thanks, Terry - it's currently handling both cases you mentioned - Ivan already solved for them. Let me know when you get a chance to run it! |
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.
Fix works for me! LGTM!
Description of the change
Terry pointed out an issue with the Metric Configuration link in the Settings side menu where it shows up nothing when clicked (after you've selected a metric). After debugging, it looks like it navigates back to
/settings/metric-config
without the additional params. The solution is to update the Settings menu navigation to include the system params for the Metric Configuration link.Related issues
Closes #XXXX
Checklists
Development
This box MUST be checked by the submitter prior to merging:
These boxes should be checked by the submitter prior to merging:
Code review
These boxes should be checked by reviewers prior to merging: