Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor navigation links from left menu hard code to workspace plugi…
…n register (opensearch-project#55) * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <suzhou@amazon.com> * Exit workspace from left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Show exit workspace button with small window size Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c. * Wrap title with i18n Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add redirect for workspace app Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Fix build error and part of test error (opensearch-project#42) * fix: fix build error and some ut Signed-off-by: tygao <tygao@amazon.com> * chore: remove saved object client test diff Signed-off-by: tygao <tygao@amazon.com> --------- Signed-off-by: tygao <tygao@amazon.com> * Comment Alerts and Favorites in left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Recover recently viewed items in left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Move exit workspace from left menu to update page Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove unused import Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add workspace category info Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace nav link Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove unused import Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add FilteredNavLinks props to chrome service mock Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace related constans from chrome Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace related props from chrome and core Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace related props from header Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Shorten import path for workspace updater Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add euiIconType for workspace left menu category Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Implement navigation for delete and exit workspace Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Navigate external links through url change Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Implement filteredNavLinks and sort ChromeNavLinks in nav link service Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add workspace list, see more, admin and overview into chromenavlinks Signed-off-by: yuye-aws <yuyezhu@amazon.com> * fix: unit test failure (opensearch-project#50) Signed-off-by: SuZhou-Joe <suzhou@amazon.com> * Fix osd bootstrap error Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Check workspace enabled for left menu Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Add home nav link to left menu when outside workspace Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Fix unit test for header Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Update snapshot for unit tests Signed-off-by: yuye-aws <yuyezhu@amazon.com> * fix osd bootstrap error Signed-off-by: yuye-aws <yuyezhu@amazon.com> * fix combinelatest import error Signed-off-by: yuye-aws <yuyezhu@amazon.com> * update snapshot for unit tests Signed-off-by: yuye-aws <yuyezhu@amazon.com> * variable rename Signed-off-by: yuye-aws <yuyezhu@amazon.com> * move custom nav link to mock props Signed-off-by: yuye-aws <yuyezhu@amazon.com> * move default filtered nav link to core Signed-off-by: yuye-aws <yuyezhu@amazon.com> * change navigation method in workspace updater Signed-off-by: yuye-aws <yuyezhu@amazon.com> * Update src/plugins/workspace/public/components/workspace_updater/workspace_updater.tsx Co-authored-by: SuZhou-Joe <suzhou@amazon.com> * revert some unncessary changes Signed-off-by: yuye-aws <yuyezhu@amazon.com> * fix navigation url bug Signed-off-by: yuye-aws <yuyezhu@amazon.com> * move default filtered nav link value setting from core to workspace plugin Signed-off-by: yuye-aws <yuyezhu@amazon.com> * move filter nav link to a new function Signed-off-by: yuye-aws <yuyezhu@amazon.com> * process filter nav links when workspace is disabled Signed-off-by: yuye-aws <yuyezhu@amazon.com> * change navigation method Signed-off-by: yuye-aws <yuyezhu@amazon.com> --------- Signed-off-by: SuZhoue-Joe <suzhou@amazon.com> Signed-off-by: yuye-aws <yuyezhu@amazon.com> Signed-off-by: tygao <tygao@amazon.com> Signed-off-by: SuZhou-Joe <suzhou@amazon.com> Co-authored-by: SuZhoue-Joe <suzhou@amazon.com> Co-authored-by: raintygao <tygao@amazon.com>
- Loading branch information