Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom themes to override embed options query parameter (#8021)
## Describe your changes We set the theme based on the query param each time the script run is finished. This can break other theme settings, so we want to respect the query parameters only on initial load (in determining the default theme. ## GitHub Issue Link (if applicable) Closes #7118 ## Testing Plan - Updated JS Unit Tests for the default theme. There were no tests for the script finished action, so I did not include tests for the removal. --- **Contribution License Agreement** By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
- Loading branch information
Showing
6 changed files
with
238 additions
and
58 deletions.
There are no files selected for viewing
Binary file modified
BIN
+84 Bytes
(100%)
...otly_chart_test/st_plotly_chart-template-customization[dark_theme-chromium].png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.