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

Dashboard scenes: Fix issue going from view panel to edit panel when dashboard is not in edit mode #87487

Merged

Conversation

oscarkilhed
Copy link
Contributor

What is this feature?
This aligns the new architecture with the old, by always treating entering into edit view, as if we're coming from the dashboard. Before this PR, when entering into the edit view, we would keep the view single panel state in the dashboard scene. This was causing issues by displaying a "view panel" breadcrumb and causing issues cloning the dashboard.

With this change we always treat entering into the edit view as if the user is coming from the dashboard.

Fixes #87412

@oscarkilhed oscarkilhed added type/bug area/dashboard no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes area/scenes labels May 8, 2024
@oscarkilhed oscarkilhed added this to the 11.1.x milestone May 8, 2024
@oscarkilhed oscarkilhed requested a review from a team as a code owner May 8, 2024 07:33
@oscarkilhed oscarkilhed requested review from bfmatei and Sergej-Vlasov and removed request for a team May 8, 2024 07:33
@oscarkilhed oscarkilhed changed the title Dashboard scenes: Fix issue going from view panel to edit panel Dashboard scenes: Fix issue going from view panel to edit panel when dashboard is not in edit mode May 8, 2024
@oscarkilhed oscarkilhed merged commit d52381b into main May 15, 2024
33 checks passed
@oscarkilhed oscarkilhed deleted the oscark/fix-issue-going-from-view-panel-to-edit-panel branch May 15, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard area/frontend area/scenes no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes type/bug
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

Not possible to go from view single panel to editing that panel if the dashboard is not in edit mode.
2 participants