Bug 2039770 - Observe dashboard doesn't react on time-range changes after browser reload when perspective is changed in another tab
Summary: Observe dashboard doesn't react on time-range changes after browser reload wh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.10.0
Assignee: Vikram Raj
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2053496
TreeView+ depends on / blocked
 
Reported: 2022-01-12 12:07 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2053496 (view as bug list)
Environment:
Last Closed: 2022-03-10 16:38:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10836 0 None open Bug 2039770: Monitoring: use namespace to detect the active perspective instead of useActivePerspective hook 2022-01-13 12:46:21 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:39:00 UTC

Description Christoph Jerolimov 2022-01-12 12:07:47 UTC
Description of problem:
When the user opens the Observe > Dashboard in admin or developer perspective and switches the perspective in another tab, the observe dashboard doesn't load the right time-range from the browser URL and do not react on any time-range change.

This is an followup issue on https://bugzilla.redhat.com/show_bug.cgi?id=2013990

Version-Release number of selected component (if applicable):
4.9

How reproducible:
Always

Steps to Reproduce:
1. Navigate to the Observe dashboard view
2. Select a dashboard
3. Change time range
4. Open another browser tab and switch the perspective
5. Go back to tab 1 and reload
6. Change the time range again

Actual results:
When reloading tab 1 the previously selected time range (which is part of the URL) wasn't used.

Changing the time range now reloads the chart but it shows always the last 30 minutes (or, I expect it shows the configuration from the other perspective).

Expected results:
Should also work fine if the perspective is changed in the meantime.

Additional info:
None

Comment 1 Christoph Jerolimov 2022-01-12 12:12:36 UTC
This bug report describes the issue skontopo found on GitHub https://github.com/openshift-knative/serverless-operator/pull/1242#issuecomment-1008944248

I recorded a short video that explains the problem. Because of its size, I could not attach it to Bugzilla, you can find and watch it here:

https://www.dropbox.com/s/6gpsk9ojel0chqy/explaining-dashboard-perspective-issue.mp4?dl=0

Comment 4 Christoph Jerolimov 2022-01-20 13:59:06 UTC
Verified on 4.10.0-0.nightly-2022-01-20-082726

Switching the perspective in another tab doesn't affect the observe page anymore. Also after the browser tab 1 is reloaded.

Comment 7 errata-xmlrpc 2022-03-10 16:38:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.