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

Enable custom themes for embedded dashboards #4145

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

ericpgreen2
Copy link
Contributor

This PR makes it possible to add a custom theme to an embedded dashboard. Now, adding the theme query parameter to to an iframe URL will correctly propagate the custom theme to your embed.

Example iframe URL: https://ui.rilldata.com/-/embed?access_token=<access_token>&instance_id=<instance_id>&kind=rill.runtime.v1.MetricsView&resource=<dashboard_name>&runtime_host=<runtime_host>&theme=<my_theme>

@ericpgreen2 ericpgreen2 merged commit 368c1c8 into main Feb 23, 2024
6 checks passed
@ericpgreen2 ericpgreen2 deleted the enable-themes-in-embedded-dashboard branch February 23, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants