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 for workspace #8303

Merged
merged 17 commits into from
Sep 30, 2024

Conversation

Hailong-am
Copy link
Collaborator

@Hailong-am Hailong-am commented Sep 23, 2024

Description

  • prepend workspace name and icon into breadcrumbs
  • remove Home from breadcrumbs
  • workspace overview page title change to Overview
  • Workspace settings page breadcrumbs update

Issues Resolved

Screenshot

Testing the changes

Changelog

  • fix: [Workspace] prepend workspace name and icon to breadcrumbs

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

Signed-off-by: Hailong Cui <[email protected]>
opensearch-changeset-bot bot added a commit to Hailong-am/OpenSearch-Dashboards that referenced this pull request Sep 23, 2024
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 84.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 60.92%. Comparing base (b8b563d) to head (d97ba24).
Report is 157 commits behind head on main.

Files with missing lines Patch % Lines
src/plugins/workspace/public/utils.ts 71.42% 1 Missing and 1 partial ⚠️
...ore/public/chrome/ui/header/header_breadcrumbs.tsx 75.00% 0 Missing and 1 partial ⚠️
...ublic/components/workspace_name/workspace_name.tsx 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8303      +/-   ##
==========================================
- Coverage   60.92%   60.92%   -0.01%     
==========================================
  Files        3750     3751       +1     
  Lines       89054    89044      -10     
  Branches    13910    13905       -5     
==========================================
- Hits        54257    54249       -8     
+ Misses      31433    31429       -4     
- Partials     3364     3366       +2     
Flag Coverage Δ
Linux_1 28.85% <55.00%> (-0.01%) ⬇️
Linux_2 56.35% <83.33%> (-0.01%) ⬇️
Linux_3 37.75% <25.00%> (+<0.01%) ⬆️
Linux_4 29.96% <53.84%> (+<0.01%) ⬆️
Windows_1 28.86% <55.00%> (-0.01%) ⬇️
Windows_2 56.30% <83.33%> (-0.01%) ⬇️
Windows_3 37.75% <25.00%> (+<0.01%) ⬆️
Windows_4 29.96% <53.84%> (+<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.

opensearch-changeset-bot bot and others added 2 commits September 24, 2024 10:22
Signed-off-by: Hailong Cui <[email protected]>

fix bootstrap error

Signed-off-by: Hailong Cui <[email protected]>
@Hailong-am Hailong-am changed the title [Workspace] prepend workspace name to breadcrumbs [Workspace] fix breadcrumbs for workspace Sep 24, 2024
Signed-off-by: Hailong Cui <[email protected]>
@Hailong-am
Copy link
Collaborator Author

link checker failure will handled by #8309

SuZhou-Joe
SuZhou-Joe previously approved these changes Sep 29, 2024
@Hailong-am Hailong-am dismissed stale reviews from ruanyl and SuZhou-Joe via 7218e93 September 30, 2024 02:09
@SuZhou-Joe SuZhou-Joe merged commit 9369f37 into opensearch-project:main Sep 30, 2024
66 of 67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 30, 2024
* update breadcrumbs

Signed-off-by: Hailong Cui <[email protected]>

* Changeset file for PR #8303 created/updated

fix bootstrap error

Signed-off-by: Hailong Cui <[email protected]>

* make the workspace name not repsonsive that will not break into two rows

Signed-off-by: Hailong Cui <[email protected]>

fix bootstrap error

Signed-off-by: Hailong Cui <[email protected]>

* fix failed unit test

Signed-off-by: Hailong Cui <[email protected]>

* link check

Signed-off-by: Hailong Cui <[email protected]>

* set overview page title to include itself use case name in all use case

Signed-off-by: Hailong Cui <[email protected]>

* hideTrailingSeparator for breadcrumbs in recently popover

Signed-off-by: Hailong Cui <[email protected]>

* update breadcrumbs for search overview

Signed-off-by: Hailong Cui <[email protected]>

* update overview page id

Signed-off-by: Hailong Cui <[email protected]>

* Address review comments

Signed-off-by: Hailong Cui <[email protected]>

---------

Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9369f37)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ruanyl pushed a commit that referenced this pull request Sep 30, 2024
* update breadcrumbs



* Changeset file for PR #8303 created/updated

fix bootstrap error



* make the workspace name not repsonsive that will not break into two rows



fix bootstrap error



* fix failed unit test



* link check



* set overview page title to include itself use case name in all use case



* hideTrailingSeparator for breadcrumbs in recently popover



* update breadcrumbs for search overview



* update overview page id



* Address review comments



---------



(cherry picked from commit 9369f37)

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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Oct 3, 2024
…pensearch-project#8384)

* update breadcrumbs

* Changeset file for PR opensearch-project#8303 created/updated

fix bootstrap error

* make the workspace name not repsonsive that will not break into two rows

fix bootstrap error

* fix failed unit test

* link check

* set overview page title to include itself use case name in all use case

* hideTrailingSeparator for breadcrumbs in recently popover

* update breadcrumbs for search overview

* update overview page id

* Address review comments

---------

(cherry picked from commit 9369f37)

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>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
@ananzh ananzh added the v2.18.0 label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants