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: hide collaborators page on nav when newHomePage is disabled #9116

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

raintygao
Copy link
Contributor

Description

Hide collaborators page on nav when newHomePage is disabled

Screenshot

image
Before
image
After

Testing the changes

Disable new home page, then go to home page navigation, the collaborator nav link will be hidden.

Changelog

  • fix: Hide collaborators page on nav when newHomePage is disabled

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 Dec 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 60.90%. Comparing base (b1113f4) to head (3ff4908).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/plugins/workspace/public/plugin.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9116      +/-   ##
==========================================
- Coverage   60.90%   60.90%   -0.01%     
==========================================
  Files        3808     3808              
  Lines       91178    91180       +2     
  Branches    14396    14397       +1     
==========================================
  Hits        55531    55531              
- Misses      32094    32096       +2     
  Partials     3553     3553              
Flag Coverage Δ
Linux_1 28.99% <0.00%> (-0.01%) ⬇️
Linux_2 56.38% <ø> (ø)
Linux_3 38.01% <ø> (ø)
Linux_4 29.01% <ø> (ø)
Windows_1 29.00% <0.00%> (-0.01%) ⬇️
Windows_2 56.34% <ø> (ø)
Windows_3 38.01% <ø> (+<0.01%) ⬆️
Windows_4 29.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.

@ruanyl ruanyl merged commit b603c21 into opensearch-project:main Dec 24, 2024
74 of 75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 24, 2024
…isabled (#9116)

* fix: fix collaborators page on nav when newHomePage is disabled

Signed-off-by: tygao <tygao@amazon.com>

* Changeset file for PR #9116 created/updated

---------

Signed-off-by: tygao <tygao@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit b603c21)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
silvaf-dev pushed a commit to silvaf-dev/OpenSearch-Dashboards that referenced this pull request Dec 26, 2024
…isabled (opensearch-project#9116)

* fix: fix collaborators page on nav when newHomePage is disabled

Signed-off-by: tygao <tygao@amazon.com>

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

---------

Signed-off-by: tygao <tygao@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Signed-off-by: Federico Silva <federico.silva.dev@gmail.com>
SuZhou-Joe pushed a commit that referenced this pull request Dec 27, 2024
…isabled (#9116) (#9117)

* fix: fix collaborators page on nav when newHomePage is disabled



* Changeset file for PR #9116 created/updated

---------



(cherry picked from commit b603c21)

Signed-off-by: tygao <tygao@amazon.com>
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.

3 participants