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

[Workspace]Fix breadcrumbs not set properly when out a workspace #7432

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

Hailong-am
Copy link
Collaborator

@Hailong-am Hailong-am commented Jul 24, 2024

Description

Remove the breadcrumbs enricher reset when out a workspace, the enricher will set by nav group service if we are in data administration or settings and setup pages

There has 3 cases

  1. nav group is enable + workspace enable + in a workspace -> workspace enricher
  2. nav group is enable + workspace enable + out a workspace -> nav group enricher
  3. nav group is enable + workspace disabled -> nav group enricher

Issues Resolved

#7359 bug in #7360

Screenshot

Testing the changes

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.13%. Comparing base (67670fd) to head (9e83e5f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7432   +/-   ##
=======================================
  Coverage   64.13%   64.13%           
=======================================
  Files        3614     3614           
  Lines       78681    78680    -1     
  Branches    12432    12432           
=======================================
+ Hits        50462    50463    +1     
+ Misses      25168    25167    -1     
+ Partials     3051     3050    -1     
Flag Coverage Δ
Linux_1 30.91% <ø> (-0.01%) ⬇️
Linux_2 55.58% <ø> (ø)
Linux_3 40.64% <ø> (+<0.01%) ⬆️
Linux_4 31.76% <ø> (ø)
Windows_1 30.92% <ø> (-0.01%) ⬇️
Windows_2 55.53% <ø> (ø)
Windows_3 40.65% <ø> (ø)
Windows_4 31.76% <ø> (ø)

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.

@Hailong-am
Copy link
Collaborator Author

failed test not related this change

 FAIL  packages/osd-plugin-helpers/src/integration_tests/build.test.ts (20.001 s)
  ● builds a generated plugin into a viable archive

@SuZhou-Joe SuZhou-Joe merged commit f872b02 into opensearch-project:main Jul 24, 2024
72 of 73 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2024
Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit f872b02)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2024
Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit f872b02)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ruanyl pushed a commit that referenced this pull request Jul 24, 2024
(cherry picked from commit f872b02)

Signed-off-by: Hailong Cui <[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>
ruanyl pushed a commit that referenced this pull request Jul 24, 2024
(cherry picked from commit f872b02)

Signed-off-by: Hailong Cui <[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>
Qxisylolo pushed a commit to Qxisylolo/OpenSearch-Dashboards that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.16 seasoned-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants