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

Fix scroll on embedded dashboards #3919

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

ericpgreen2
Copy link
Contributor

The scroll logic in web-admin/src/routes/+layout.svelte checks to see if the user is on a dashboard page. Previously, we only checked dashboards at the route /{org}/{project}/{dashboard}. With this PR, we additionally check embedded dashboards served from /-/embed.

@ericpgreen2 ericpgreen2 self-assigned this Jan 29, 2024
Copy link
Contributor

@bcolloran bcolloran left a comment

Choose a reason for hiding this comment

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

I don't know how to QA embedded pages, but this seems totally reasonable so happy to approve (we can go over the QA steps after this week's rush)

@ericpgreen2 ericpgreen2 merged commit b317a6f into main Jan 29, 2024
6 checks passed
@ericpgreen2 ericpgreen2 deleted the fix-scroll-on-embedded-dashboards branch January 29, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants