deephaven / web-client-ui

Deephaven Web Client UI
Apache License 2.0
29 stars 31 forks source link

feat: Set selected theme via query string param #2204

Closed bmingles closed 2 weeks ago

bmingles commented 2 weeks ago

Allow setting selected theme via a themeKey query string param.

Can test by passing themeKey=default-light and themeKey=default-dark as query string params.

resolves #2203

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.74%. Comparing base (0a924cd) to head (6a020c5).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2204 +/- ## ========================================== + Coverage 46.73% 46.74% +0.01% ========================================== Files 693 693 Lines 38594 38602 +8 Branches 9652 9838 +186 ========================================== + Hits 18038 18046 +8 Misses 20545 20545 Partials 11 11 ``` | [Flag](https://app.codecov.io/gh/deephaven/web-client-ui/pull/2204/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/deephaven/web-client-ui/pull/2204/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven) | `46.74% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deephaven#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.