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
Bug 1972011: Fix time range for drag & drop in devconsole monitoring #9314
Conversation
@vikram-raj: This pull request references Bugzilla bug 1972011, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (gamore@redhat.com), skipping review request. In 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/test-infra repository. |
@vikram-raj: This pull request references Bugzilla bug 1972011, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (gamore@redhat.com), skipping review request. In 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/test-infra repository. |
/kind bug |
@vikram-raj do we need to preserve custom time range? i.e
I don't see harm but to be aware if this is expected as on the admin side we don't preserve |
Thanks @invincibleJai. I think it would be better if the change were not persisted. Also, since this is using the same redux entries as the admin Console, this will cause the zoom settings to persist when switching from Dev to Admin Console. It might be cleaner to use |
If this is the state we want to go with, then I've approved the current code.
Not entirely sure what the follow up point was here @kyoto -- if we wanted to persist it? |
/retest |
I think we should not persist it, especially since the change would persist between Dev and Admin Consoles. It would probably be confusing UX. To be clear, there is no need to change the Admin Console code as part of this PR. I'm just thinking that this Dev Console change should not persist in redux after you leave the page. |
/retest |
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.
Tested with Firefox (which has this image drag and drop issue but two clicks works fine) and Chrome. Sets the custom time range and works as expected 👍
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne, jerolimov, vikram-raj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vikram-raj: All pull requests linked via external trackers have merged: Bugzilla bug 1972011 has been moved to the MODIFIED state. In 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/test-infra repository. |
Fixes:
https://issues.redhat.com/browse/OCPBUGSM-30920
Analysis / Root cause:
Dashboards display different time range when drag&drop on the first chart of the dashboard
Solution Description:
Dispatch the onZoom event so that it will reflect all the charts in the dashboard.
Screen shots / Gifs for design review: