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: recent item links are not correctly constructed #9275

Merged
merged 2 commits into from
Jan 26, 2025

Conversation

SuZhou-Joe
Copy link
Member

@SuZhou-Joe SuZhou-Joe commented Jan 26, 2025

Description

When constructing the link for recent items, workspace feature flag is required. This PR is to pass workspace feature flag to all the places calling createRecentNavLink.

Issues Resolved

Screenshot

Before fix

20250126155211735.mp4

After fix

20250126155100110.mp4

Testing the changes

Changelog

  • fix: Recent item links are not correctly constructed

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.

Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.68%. Comparing base (c91df47) to head (9e032f4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9275   +/-   ##
=======================================
  Coverage   61.68%   61.68%           
=======================================
  Files        3816     3816           
  Lines       91693    91693           
  Branches    14516    14516           
=======================================
+ Hits        56557    56559    +2     
+ Misses      31510    31509    -1     
+ Partials     3626     3625    -1     
Flag Coverage Δ
Linux_1 29.04% <ø> (ø)
Linux_2 56.46% <ø> (ø)
Linux_3 39.09% <ø> (+<0.01%) ⬆️
Linux_4 28.97% <ø> (ø)
Windows_1 29.06% <ø> (ø)
Windows_2 56.41% <ø> (ø)
Windows_3 39.09% <ø> (ø)
Windows_4 28.97% <ø> (ø)

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 Hailong-am merged commit 1ac056a into opensearch-project:main Jan 26, 2025
69 of 70 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 26, 2025
* fix: recent item links are not correctly constructed

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

* Changeset file for PR #9275 created/updated

---------

Signed-off-by: SuZhou-Joe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 1ac056a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Jan 27, 2025
… (#9276)

* fix: recent item links are not correctly constructed



* Changeset file for PR #9275 created/updated

---------



(cherry picked from commit 1ac056a)

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: 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