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

[Manual backport 2.x] [navigation] Add workspace icon to left nav / workspace picker menu / home page. (#7823) #7995

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

@opensearch-trigger-bot opensearch-trigger-bot bot commented Sep 4, 2024

Backport 1974ca1 from #7823.

… home page. (#7823) (#7994)

* feat: show workspace picker content in left nav

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: bootstrap error

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test error

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: finish picker content

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: finish picker content

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: only register index patterns to settings and setup when workspace is disabled

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: put discover 2.0 behind discover

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add coverage

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: improve test coverage

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: merge conflict

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize code based on comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize code based on comment

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize filter code

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: update

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: add new icon to left navigation and workspace picker menu

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: change use case card in home

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize alignment

Signed-off-by: SuZhou-Joe <[email protected]>

* Changeset file for PR #7823 created/updated

* feat: alignment optimize

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: use new icons in workspace picker

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: optimize color

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test error

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* fix: unit test

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: increase test coverage

Signed-off-by: SuZhou-Joe <[email protected]>

* feat: remove useless code

Signed-off-by: SuZhou-Joe <[email protected]>

* Add workspace icon in workspace creator (#19)

Signed-off-by: Lin Wang <[email protected]>

* fix: fatal error when visibleUseCases is empty

Signed-off-by: SuZhou-Joe <[email protected]>

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: Lin Wang <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Lin Wang <[email protected]>
(cherry picked from commit 1974ca1)
(cherry picked from commit cbdb0fd)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Sep 4, 2024

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

@SuZhou-Joe SuZhou-Joe changed the title [Backport 2.x] [navigation] Add workspace icon to left nav / workspace picker menu / home page. (#7823) [Manual backport 2.x] [navigation] Add workspace icon to left nav / workspace picker menu / home page. (#7823) Sep 4, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link
Contributor

github-actions bot commented Sep 4, 2024

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 8 lines in your changes missing coverage. Please review.

Project coverage is 61.15%. Comparing base (624c692) to head (6aa56e0).
Report is 17 commits behind head on 2.x.

Files with missing lines Patch % Lines
...me/ui/header/collapsible_nav_group_enabled_top.tsx 78.57% 0 Missing and 3 partials ⚠️
...nents/home_get_start_card/setup_get_start_card.tsx 0.00% 2 Missing ⚠️
...ic/components/use_case_overview/setup_overview.tsx 0.00% 2 Missing ⚠️
...ublic/components/workspace_menu/workspace_menu.tsx 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #7995   +/-   ##
=======================================
  Coverage   61.15%   61.15%           
=======================================
  Files        3689     3689           
  Lines       87201    87212   +11     
  Branches    13396    13402    +6     
=======================================
+ Hits        53326    53334    +8     
- Misses      30636    30637    +1     
- Partials     3239     3241    +2     
Flag Coverage Δ
Linux_1 29.23% <20.83%> (-0.01%) ⬇️
Linux_2 56.36% <78.57%> (+<0.01%) ⬆️
Linux_3 37.97% <12.50%> (-0.01%) ⬇️
Linux_4 29.69% <12.50%> (-0.01%) ⬇️
Windows_1 29.24% <20.83%> (-0.01%) ⬇️
Windows_2 56.31% <78.57%> (+<0.01%) ⬆️
Windows_3 37.97% <12.50%> (-0.01%) ⬇️
Windows_4 29.69% <12.50%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanyl ruanyl merged commit 4c64d81 into 2.x Sep 5, 2024
67 of 71 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 6, 2024
… home page. (#7823) (#7994) (#7995)

* feat: show workspace picker content in left nav

* fix: bootstrap error

* fix: unit test error

* feat: finish picker content

* feat: finish picker content

* feat: only register index patterns to settings and setup when workspace is disabled

* fix: unit test

* feat: put discover 2.0 behind discover

* feat: add coverage

* feat: improve test coverage

* feat: merge conflict

* feat: optimize code based on comment

* feat: optimize code based on comment

* feat: optimize filter code

* feat: update

* feat: add new icon to left navigation and workspace picker menu

* feat: change use case card in home

* feat: optimize alignment

* Changeset file for PR #7823 created/updated

* feat: alignment optimize

* feat: use new icons in workspace picker

* feat: optimize color

* fix: unit test error

* fix: unit test

* fix: unit test

* feat: increase test coverage

* feat: remove useless code

* Add workspace icon in workspace creator (#19)

* fix: fatal error when visibleUseCases is empty

---------

(cherry picked from commit 1974ca1)
(cherry picked from commit cbdb0fd)

Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: Lin Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Lin Wang <[email protected]>
(cherry picked from commit 4c64d81)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Sep 6, 2024
… home page. (#7823) (#7994) (#7995) (#8038)

* feat: show workspace picker content in left nav

* fix: bootstrap error

* fix: unit test error

* feat: finish picker content

* feat: finish picker content

* feat: only register index patterns to settings and setup when workspace is disabled

* fix: unit test

* feat: put discover 2.0 behind discover

* feat: add coverage

* feat: improve test coverage

* feat: merge conflict

* feat: optimize code based on comment

* feat: optimize code based on comment

* feat: optimize filter code

* feat: update

* feat: add new icon to left navigation and workspace picker menu

* feat: change use case card in home

* feat: optimize alignment

* Changeset file for PR #7823 created/updated

* feat: alignment optimize

* feat: use new icons in workspace picker

* feat: optimize color

* fix: unit test error

* fix: unit test

* fix: unit test

* feat: increase test coverage

* feat: remove useless code

* Add workspace icon in workspace creator (#19)

* fix: fatal error when visibleUseCases is empty

---------

(cherry picked from commit 1974ca1)
(cherry picked from commit cbdb0fd)







(cherry picked from commit 4c64d81)

Signed-off-by: SuZhou-Joe <[email protected]>
Signed-off-by: Lin Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Co-authored-by: Lin Wang <[email protected]>
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 backport 2.17 failed changeset v2.17.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants