-
Notifications
You must be signed in to change notification settings - Fork 917
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] feat: Add workspace navigation for default route #7785
[Workspace] feat: Add workspace navigation for default route #7785
Conversation
Signed-off-by: yubonluo <[email protected]>
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7785 +/- ##
==========================================
- Coverage 63.83% 63.83% -0.01%
==========================================
Files 3658 3658
Lines 81284 81311 +27
Branches 12972 12978 +6
==========================================
+ Hits 51884 51901 +17
- Misses 26216 26226 +10
Partials 3184 3184
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/plugins/workspace/public/components/workspace_navigation_app.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_initial/workspace_initial.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: yubonluo <[email protected]>
…enSearch-Dashboards into 2.17/workspace-default-route
src/plugins/workspace/public/components/workspace_initial/workspace_initial.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: yubonluo <[email protected]>
…oards into 2.17/workspace-default-route
…oards into 2.17/workspace-default-route
Signed-off-by: yubonluo <[email protected]>
Signed-off-by: yubonluo <[email protected]>
@@ -375,6 +377,32 @@ export class WorkspacePlugin | |||
workspaceAvailability: WorkspaceAvailability.outsideWorkspace, | |||
}); | |||
|
|||
const registeredUseCases$ = this.registeredUseCases$; | |||
// register workspace navigation |
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.
Would be nice to have a more context about this change
* add workspace navigation Signed-off-by: yubonluo <[email protected]> * Changeset file for PR #7785 created/updated * optimize the code Signed-off-by: yubonluo <[email protected]> * optimize the code Signed-off-by: yubonluo <[email protected]> * optimize the test code and add newHomePage check Signed-off-by: yubonluo <[email protected]> * delete useless code Signed-off-by: yubonluo <[email protected]> --------- Signed-off-by: yubonluo <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit e1e8169) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…7824) * add workspace navigation * Changeset file for PR #7785 created/updated * optimize the code * optimize the code * optimize the test code and add newHomePage check * delete useless code --------- (cherry picked from commit e1e8169) Signed-off-by: yubonluo <[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>
Description
Add workspace navigation for default route to handle the following cases:
Issues Resolved
#7783
Screenshot
2024-08-21.17.49.34.mp4
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration