Skip to content
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 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true #4122

Merged
merged 1 commit into from Jan 31, 2020

Conversation

vikram-raj
Copy link
Member

@vikram-raj vikram-raj commented Jan 30, 2020

Fixes: https://issues.redhat.com/browse/ODC-2779

Analysis / Root cause:

On the dev-monitoring dashboard, users are able to zoom the graph but there is no option to reset the zoom.

Solution Description:

Disable the zoom feature when hideControls prop is true.

Screen shots / Gifs for design review:

Peek 2020-01-30 22-44

Browser conformance:

  • Chrome
  • Firefox
  • Safari
  • Edge

@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. component/core Related to console core functionality component/monitoring Related to monitoring labels Jan 30, 2020
@spadgett
Copy link
Member

FYI, the bot requires Bugzilla bugs for 4.4 fixes going forward (org wide)

cc @kyoto, we'll probably want this for the monitoring dashboards as well

@vikram-raj
Copy link
Member Author

/retitle Bug 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true

@openshift-ci-robot openshift-ci-robot changed the title Disable the zoom feature for QueryBrowser when hideControls props is true Bug 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true Jan 30, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jan 30, 2020
@openshift-ci-robot
Copy link
Contributor

@vikram-raj: This pull request references Bugzilla bug 1796450, 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.

In response to this:

Bug 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true

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.

@christianvogt
Copy link
Contributor

Seems ok.
The monitoring dashboard also sets hideControls to true.
@kyoto please review.

@andrewballantyne
Copy link
Contributor

/kind bug

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 30, 2020
@andrewballantyne
Copy link
Contributor

I have not reviewed this PR, but I noticed something else when I was doing bug triage... The sidebar charts also appear to have a zoom feature compounded with a click handler... can we make sure this is disabled on the sidebar as well @vikram-raj ?

Copy link
Contributor

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

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

This makes sense. According to the design, users shouldn't be able to drill into individual charts. There should be a dashboard level zoom feature, but that doesn't need to be supported in this PR.

@openshift-ci-robot
Copy link
Contributor

@vikram-raj: This pull request references Bugzilla bug 1796450, which is valid.

In response to this:

Bug 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true

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
Copy link
Member Author

I have not reviewed this PR, but I noticed something else when I was doing bug triage... The sidebar charts also appear to have a zoom feature compounded with a click handler... can we make sure this is disabled on the sidebar as well @vikram-raj ?

Yes, Zoom feature is also disabled for the sidebar as well as same component has been used at both the places. Missed this scenario in the GIF. Updated the GIF.

@kyoto
Copy link
Member

kyoto commented Jan 31, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 31, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kyoto, serenamarie125, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 31, 2020
@openshift-merge-robot openshift-merge-robot merged commit 9c698ee into openshift:master Jan 31, 2020
@openshift-ci-robot
Copy link
Contributor

@vikram-raj: All pull requests linked via external trackers have merged. Bugzilla bug 1796450 has been moved to the MODIFIED state.

In response to this:

Bug 1796450: Disable the zoom feature for QueryBrowser when hideControls props is true

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 vikram-raj deleted the odc-2779 branch January 31, 2020 05:45
@spadgett spadgett added this to the v4.4 milestone Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/core Related to console core functionality component/monitoring Related to monitoring kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants