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

Update Recent popover to always render breadcrumbs with full length #7735

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

zhongnansu
Copy link
Member

@zhongnansu zhongnansu commented Aug 16, 2024

Description

Update Recent popover to always render breadcrumbs with full length, no matter of header variants. While for page header, also keep the existing breadcrumbs on the top, with last leaf cut off

Issues Resolved

Screenshot

iShot_2024-08-16_11.49.18.mp4

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
Contributor

❌ Empty Changelog Section

The Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section.

@kgcreative
Copy link
Member

kgcreative commented Aug 16, 2024

The last leaf should not be clickable, and not have a trailing slash (/) at the end. Reference:
image

Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 63.78%. Comparing base (ae7cfa6) to head (8337cf5).
Report is 2 commits behind head on main.

Files Patch % Lines
...ore/public/chrome/ui/header/header_breadcrumbs.tsx 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7735      +/-   ##
==========================================
- Coverage   63.82%   63.78%   -0.04%     
==========================================
  Files        3650     3650              
  Lines       80966    80965       -1     
  Branches    12894    12894              
==========================================
- Hits        51673    51640      -33     
- Misses      26126    26156      +30     
- Partials     3167     3169       +2     
Flag Coverage Δ
Linux_1 30.04% <0.00%> (+<0.01%) ⬆️
Linux_2 ?
Linux_3 40.40% <0.00%> (-0.01%) ⬇️
Linux_4 ?
Windows_1 30.05% <0.00%> (+<0.01%) ⬆️
Windows_2 55.80% <50.00%> (-0.01%) ⬇️
Windows_3 40.41% <0.00%> (+<0.01%) ⬆️
Windows_4 31.28% <0.00%> (+<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.

Copy link
Collaborator

@virajsanghvi virajsanghvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock, but why is the last leaf not visible in the recents popover?

@AMoo-Miki AMoo-Miki merged commit 389ad1b into opensearch-project:main Aug 17, 2024
73 of 75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 17, 2024
…7735)

Signed-off-by: Zhongnan Su <[email protected]>
(cherry picked from commit 389ad1b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
zhongnansu pushed a commit that referenced this pull request Aug 19, 2024
…7735) (#7742)

(cherry picked from commit 389ad1b)

Signed-off-by: Zhongnan Su <[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 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.17.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants