-
Notifications
You must be signed in to change notification settings - Fork 916
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]Register workspace settings under setup and settings #7242
[Workspace]Register workspace settings under setup and settings #7242
Conversation
❌ Empty Changelog SectionThe 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7242 +/- ##
==========================================
- Coverage 67.62% 67.61% -0.02%
==========================================
Files 3471 3471
Lines 68613 68615 +2
Branches 11165 11166 +1
==========================================
- Hits 46399 46391 -8
- Misses 19510 19520 +10
Partials 2704 2704
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
4c72641
to
ff3b73a
Compare
1c76921
to
c3dd768
Compare
Signed-off-by: Lin Wang <wonglam@amazon.com>
// nav link should be visible when nav group enabled | ||
navLinkStatus: core.chrome.navGroup.getNavGroupEnabled() | ||
? AppNavLinkStatus.visible | ||
: AppNavLinkStatus.hidden, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add a comment of when core.chrome.navGroup.getNavGroupEnabled() changed, the page will refresh and application setup will execute it again?
Signed-off-by: Lin Wang <wonglam@amazon.com>
* Move workspace list under setup and settings nav group Signed-off-by: Lin Wang <wonglam@amazon.com> * Changeset file for PR #7242 created/updated * Add comment for page refresh Signed-off-by: Lin Wang <wonglam@amazon.com> --------- Signed-off-by: Lin Wang <wonglam@amazon.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit dcd4cf6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… (#7258) * Move workspace list under setup and settings nav group * Changeset file for PR #7242 created/updated * Add comment for page refresh --------- (cherry picked from commit dcd4cf6) Signed-off-by: Lin Wang <wonglam@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>
Description
This PR is for registering workspace settings under setup and settings. The workspace settings will link to the workspace list page. To support display link in the left navigation, need to update link status to visible when nav group enabled.
Issues Resolved
#7244
Screenshot
Testing the changes
All changes working fine in the feature/navigation-next branch. Need to checkout the code and rebase
feature/navigation-next
branch.Another way is to refer the
src/plugins/workspace/public/plugin.test.ts
unit test file. All changes have been covered in it.Changelog
Check List
yarn test:jest
yarn test:jest_integration