Skip to content

[navigation] Fix: breadcrumb is not correct when clicking inspect / edit in Assets page #7749

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

Merged
merged 14 commits into from
Aug 23, 2024

Conversation

SuZhou-Joe
Copy link
Member

@SuZhou-Joe SuZhou-Joe commented Aug 19, 2024

Description

In 2.16 we migrate 4 sub applications Assets / Data source management / Index pattern management / Application settings to standard applications and registered into new left nav. But the breadcrumbs info inside some of the pages are not correct. So we need to make sure the link redirect users to correct page instead of the sub pages.

Issues Resolved

Screenshot

Before fix

20240823142114722.mp4

After fix

20240823141851065.mp4

Testing the changes

Changelog

  • fix: breadcrumb is not correct when clicking inspect / edit in Assets page

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 Aug 19, 2024

Codecov Report

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

Project coverage is 63.81%. Comparing base (aed03fa) to head (493e67c).
Report is 16 commits behind head on main.

Files Patch % Lines
...section/objects_table/components/relationships.tsx 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7749      +/-   ##
==========================================
+ Coverage   63.80%   63.81%   +0.01%     
==========================================
  Files        3656     3656              
  Lines       81205    81210       +5     
  Branches    12950    12952       +2     
==========================================
+ Hits        51809    51822      +13     
+ Misses      26215    26201      -14     
- Partials     3181     3187       +6     
Flag Coverage Δ
Linux_1 30.07% <0.00%> (-0.01%) ⬇️
Linux_2 55.87% <ø> (ø)
Linux_3 40.41% <0.00%> (-0.01%) ⬇️
Linux_4 31.30% <88.88%> (+0.02%) ⬆️
Windows_1 30.09% <0.00%> (-0.01%) ⬇️
Windows_2 55.82% <ø> (ø)
Windows_3 40.41% <0.00%> (-0.01%) ⬇️
Windows_4 31.30% <88.88%> (+0.02%) ⬆️

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.

@SuZhou-Joe SuZhou-Joe merged commit 9dd9b14 into opensearch-project:main Aug 23, 2024
84 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 23, 2024
…dit in Assets page (#7749)

* settings header

Signed-off-by: tygao <[email protected]>

* update all pages header

Signed-off-by: tygao <[email protected]>

* Changeset file for PR #7744 created/updated

* style: update management style

Signed-off-by: tygao <[email protected]>

* remove extra spacer

Signed-off-by: tygao <[email protected]>

* add tests and snapshots

Signed-off-by: tygao <[email protected]>

* feat: jump to standard application when the toggle is on

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

* Changeset file for PR #7749 created/updated

* feat: improve test coverage

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

---------

Signed-off-by: tygao <[email protected]>
Signed-off-by: SuZhou-Joe <[email protected]>
Co-authored-by: tygao <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 9dd9b14)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ruanyl pushed a commit that referenced this pull request Aug 26, 2024
…dit in Assets page (#7749) (#7825)

* settings header



* update all pages header



* Changeset file for PR #7744 created/updated

* style: update management style



* remove extra spacer



* add tests and snapshots



* feat: jump to standard application when the toggle is on



* Changeset file for PR #7749 created/updated

* feat: improve test coverage



---------





(cherry picked from commit 9dd9b14)

Signed-off-by: tygao <[email protected]>
Signed-off-by: SuZhou-Joe <[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: tygao <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
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