[Workspace] Register a workspace dropdown menu at the top of left nav bar#6150
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6150 +/- ##
==========================================
+ Coverage 67.31% 67.33% +0.02%
==========================================
Files 3350 3351 +1
Lines 64993 65037 +44
Branches 10468 10474 +6
==========================================
+ Hits 43750 43793 +43
- Misses 18695 18697 +2
+ Partials 2548 2547 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| } = {}) { | ||
| const mock = { | ||
| application: applicationServiceMock.createSetupContract(), | ||
| chrome: chromeServiceMock.createSetupContract(), |
There was a problem hiding this comment.
So nice to have this in core mock, have encountered type error in some test cases
When workspace is enabled, the workspace plugin will register a workspace dropdown menu via `chrome.registerCollapsibleNavHeader` which displays a list of workspaces, links to create workspace page and workspace list page. Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
8b8d7c7 to
862ae3b
Compare
|
Thanks for the change, overall looks good to me. |
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-6150-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a2ed39f76c75bec843243ff85113485984102dbc
# Push it to GitHub
git push --set-upstream origin backport/backport-6150-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.xThen, create a pull request where the |
… bar (opensearch-project#6150) When workspace is enabled, the workspace plugin will register a workspace dropdown menu via `chrome.registerCollapsibleNavHeader` which displays a list of workspaces, links to create workspace page and workspace list page. --------- Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
… bar (#6150) (#6505) When workspace is enabled, the workspace plugin will register a workspace dropdown menu via `chrome.registerCollapsibleNavHeader` which displays a list of workspaces, links to create workspace page and workspace list page. --------- Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Description
When workspace is enabled, the workspace plugin will register a workspace dropdown menu via
chrome.registerCollapsibleNavHeaderwhich displays a list of workspaces, links to create workspace page and workspace list page.NOT IN THE SCOPE OF THIS PR
Issues Resolved
#6149
Screenshot
workspace.dropdown.mov
Testing the changes
Update OSD config with
workspace.enabled: true, and you will see the workspace dropdown menu on the top of the left nav bar.Check List
yarn test:jestyarn test:jest_integration