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

[Backport 2.x] [Next theme] Add modal to notify users of theme updates #4873

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport b846e80 from #4715.

* Feat (home): Add modal to introduce `next` theme changes

Copy and images provisional, for demo purposes only.

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* revert unintended config change

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* Disable new theme modal for functional tests

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add deep link to settings

and hide modal if v7 theme is in use

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* add unit tests and fix imports

Signed-off-by: Josh Romero <rmerqg@amazon.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit b846e80)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #4873 (12e285d) into 2.x (6542257) will increase coverage by 0.02%.
The diff coverage is 54.54%.

@@            Coverage Diff             @@
##              2.x    #4873      +/-   ##
==========================================
+ Coverage   66.29%   66.32%   +0.02%     
==========================================
  Files        3322     3323       +1     
  Lines       63911    63922      +11     
  Branches    10119    10119              
==========================================
+ Hits        42368    42394      +26     
- Misses      19053    19120      +67     
+ Partials     2490     2408      -82     
Flag Coverage Δ
Linux_1 34.86% <ø> (ø)
Linux_2 55.18% <ø> (ø)
Linux_3 43.39% <ø> (+<0.01%) ⬆️
Linux_4 35.09% <54.54%> (+<0.01%) ⬆️
Windows_1 34.87% <ø> (?)
Windows_2 55.15% <ø> (ø)
Windows_3 43.39% <ø> (?)
Windows_4 35.09% <54.54%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/plugins/home/config.ts 100.00% <ø> (ø)
.../public/application/components/new_theme_modal.tsx 33.33% <33.33%> (ø)
...plugins/home/public/application/components/home.js 87.27% <62.50%> (-4.22%) ⬇️

... and 27 files with indirect coverage changes

@kavilla kavilla merged commit 200ca6c into 2.x Sep 1, 2023
70 of 73 checks passed
@github-actions github-actions bot deleted the backport/backport-4715-to-2.x branch September 1, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports distinguished-contributor v2.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants