-
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
[PURIFY] Remove existing RFCs. #31
Comments
SuZhou-Joe
added a commit
to SuZhou-Joe/OpenSearch-Dashboards
that referenced
this issue
Jul 21, 2023
…project#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (opensearch-project#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (opensearch-project#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (opensearch-project#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (opensearch-project#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (opensearch-project#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (opensearch-project#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (opensearch-project#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (opensearch-project#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (opensearch-project#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (opensearch-project#30) * Move delete button to update page (opensearch-project#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (opensearch-project#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (opensearch-project#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (opensearch-project#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (opensearch-project#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (opensearch-project#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (opensearch-project#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (opensearch-project#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (opensearch-project#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (opensearch-project#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (opensearch-project#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (opensearch-project#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (opensearch-project#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d2. * Revert "feat: extract management code" This reverts commit 526c28e. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]>
raintygao
added a commit
to raintygao/OpenSearch-Dashboards
that referenced
this issue
Aug 4, 2023
…project#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (opensearch-project#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (opensearch-project#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (opensearch-project#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (opensearch-project#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (opensearch-project#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (opensearch-project#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (opensearch-project#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (opensearch-project#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (opensearch-project#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (opensearch-project#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (opensearch-project#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (opensearch-project#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (opensearch-project#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (opensearch-project#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (opensearch-project#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (opensearch-project#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (opensearch-project#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (opensearch-project#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (opensearch-project#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (opensearch-project#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (opensearch-project#30) * Move delete button to update page (opensearch-project#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (opensearch-project#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (opensearch-project#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (opensearch-project#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (opensearch-project#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (opensearch-project#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (opensearch-project#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (opensearch-project#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (opensearch-project#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (opensearch-project#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (opensearch-project#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (opensearch-project#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (opensearch-project#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d2. * Revert "feat: extract management code" This reverts commit 526c28e. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]>
SuZhou-Joe
added a commit
to SuZhou-Joe/OpenSearch-Dashboards
that referenced
this issue
Aug 24, 2023
…oject#62) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * fix missing mocks of workspacesSetup Signed-off-by: Yulong Ruan <[email protected]> * Integrate workspace service into saved object management (#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d23aeae8bb76ab35a897e4abef9cc9da860. * Revert "feat: extract management code" This reverts commit 526c28e01b2a6b80e4f8ee7170b740f5c452b97c. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Feature: hide workspace from saved objects management page. (#45) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * feat: make edit url clickable Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * fet: remove useless jump code Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Add copy saved objects among workspaces functionality (#53) * Add copy saved objects among workspaces functionality Signed-off-by: gaobinlong <[email protected]> Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> --------- Signed-off-by: gaobinlong <[email protected]> * add workspace saved objects client wrapper (#51) * add workspace savedd objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add more methods to saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add findWithWorkspacePermissionControl in workspace saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: throw 451 instead of interval error Signed-off-by: Lin Wang <[email protected]> * chore: fix workspace client init method type error Signed-off-by: Lin Wang <[email protected]> * feat: fix workspaces attribute type error in client wrapper Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Refactor navigation links from left menu hard code to workspace plugin register (#55) * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Comment Alerts and Favorites in left menu Signed-off-by: yuye-aws <[email protected]> * Recover recently viewed items in left menu Signed-off-by: yuye-aws <[email protected]> * Move exit workspace from left menu to update page Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add workspace category info Signed-off-by: yuye-aws <[email protected]> * Remove workspace nav link Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add FilteredNavLinks props to chrome service mock Signed-off-by: yuye-aws <[email protected]> * Remove workspace related constans from chrome Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from chrome and core Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from header Signed-off-by: yuye-aws <[email protected]> * Shorten import path for workspace updater Signed-off-by: yuye-aws <[email protected]> * Add euiIconType for workspace left menu category Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Implement navigation for delete and exit workspace Signed-off-by: yuye-aws <[email protected]> * Navigate external links through url change Signed-off-by: yuye-aws <[email protected]> * Implement filteredNavLinks and sort ChromeNavLinks in nav link service Signed-off-by: yuye-aws <[email protected]> * Add workspace list, see more, admin and overview into chromenavlinks Signed-off-by: yuye-aws <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * Check workspace enabled for left menu Signed-off-by: yuye-aws <[email protected]> * Add home nav link to left menu when outside workspace Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for header Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix combinelatest import error Signed-off-by: yuye-aws <[email protected]> * update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * variable rename Signed-off-by: yuye-aws <[email protected]> * move custom nav link to mock props Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link to core Signed-off-by: yuye-aws <[email protected]> * change navigation method in workspace updater Signed-off-by: yuye-aws <[email protected]> * Update src/plugins/workspace/public/components/workspace_updater/workspace_updater.tsx Co-authored-by: SuZhou-Joe <[email protected]> * revert some unncessary changes Signed-off-by: yuye-aws <[email protected]> * fix navigation url bug Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link value setting from core to workspace plugin Signed-off-by: yuye-aws <[email protected]> * move filter nav link to a new function Signed-off-by: yuye-aws <[email protected]> * process filter nav links when workspace is disabled Signed-off-by: yuye-aws <[email protected]> * change navigation method Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> Co-authored-by: raintygao <[email protected]> * fix: osd bootstrap error (#57) * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix build plugins error Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: filter out ADMIN application and add feature dependency logic (#49) * feat: filter out ADMIN application and add feature dependency logic Signed-off-by: Lin Wang <[email protected]> * feat: separate feature utils function Signed-off-by: Lin Wang <[email protected]> * feat: rename isFeatureDependBySelectedFeatures, separate generateFeatureDependencyMap and add annotation Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: do not register app when feature flag is off (#56) * feat: do not register app when feature flag is off Signed-off-by: SuZhou-Joe <[email protected]> * feat: comply with the category name Signed-off-by: SuZhou-Joe <[email protected]> * feat: opt according to PR Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize the comment Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * Sort category and non-category nav link according to order in left menu (#60) * change order for home Signed-off-by: yuye-aws <[email protected]> * Sort category and non-category navlink types in left menu Signed-off-by: yuye-aws <[email protected]> * change order for overview when inside workspace Signed-off-by: yuye-aws <[email protected]> * assign sorted unknowns to another variable Signed-off-by: yuye-aws <[email protected]> * change annotation Signed-off-by: yuye-aws <[email protected]> * refactor function getMergedNavLinks in left menu Signed-off-by: yuye-aws <[email protected]> * fix zero order bug Signed-off-by: yuye-aws <[email protected]> * add annotation Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Refactor: Assign default value for filtered nav links (#64) * remove default filtered nav link value set Signed-off-by: yuye-aws <[email protected]> * default value for nav link Signed-off-by: yuye-aws <[email protected]> * refactor currentworkspace logic Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Permission control service for saved objects (#63) * feat: move permission control to saved objects directory Signed-off-by: SuZhou-Joe <[email protected]> * feat: use bulkGetObjects and fix unit test Signed-off-by: SuZhou-Joe <[email protected]> * feat: add http routes for validate & list Signed-off-by: SuZhou-Joe <[email protected]> * feat: move permissionModes to common place Signed-off-by: SuZhou-Joe <[email protected]> * feat: rename routes Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * fix: make importing workspace-specific objects as copy Signed-off-by: SuZhou-Joe <[email protected]> * feat: make unit test pass Signed-off-by: SuZhou-Joe <[email protected]> * feat: revert the workspace change Signed-off-by: SuZhou-Joe <[email protected]> * feat: make import support multiple workspaces Signed-off-by: SuZhou-Joe <[email protected]> * feat: change logic Signed-off-by: SuZhou-Joe <suzhou@am…
SuZhou-Joe
added a commit
to SuZhou-Joe/OpenSearch-Dashboards
that referenced
this issue
Sep 14, 2023
…project#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (opensearch-project#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (opensearch-project#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (opensearch-project#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (opensearch-project#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (opensearch-project#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (opensearch-project#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (opensearch-project#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (opensearch-project#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (opensearch-project#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (opensearch-project#30) * Move delete button to update page (opensearch-project#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (opensearch-project#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (opensearch-project#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (opensearch-project#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (opensearch-project#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (opensearch-project#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (opensearch-project#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (opensearch-project#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (opensearch-project#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (opensearch-project#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (opensearch-project#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (opensearch-project#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (opensearch-project#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d2. * Revert "feat: extract management code" This reverts commit 526c28e. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]>
SuZhou-Joe
added a commit
to SuZhou-Joe/OpenSearch-Dashboards
that referenced
this issue
Sep 14, 2023
…oject#62) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * fix missing mocks of workspacesSetup Signed-off-by: Yulong Ruan <[email protected]> * Integrate workspace service into saved object management (#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d23aeae8bb76ab35a897e4abef9cc9da860. * Revert "feat: extract management code" This reverts commit 526c28e01b2a6b80e4f8ee7170b740f5c452b97c. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Feature: hide workspace from saved objects management page. (#45) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * feat: make edit url clickable Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * fet: remove useless jump code Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Add copy saved objects among workspaces functionality (#53) * Add copy saved objects among workspaces functionality Signed-off-by: gaobinlong <[email protected]> Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> --------- Signed-off-by: gaobinlong <[email protected]> * add workspace saved objects client wrapper (#51) * add workspace savedd objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add more methods to saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add findWithWorkspacePermissionControl in workspace saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: throw 451 instead of interval error Signed-off-by: Lin Wang <[email protected]> * chore: fix workspace client init method type error Signed-off-by: Lin Wang <[email protected]> * feat: fix workspaces attribute type error in client wrapper Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Refactor navigation links from left menu hard code to workspace plugin register (#55) * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Comment Alerts and Favorites in left menu Signed-off-by: yuye-aws <[email protected]> * Recover recently viewed items in left menu Signed-off-by: yuye-aws <[email protected]> * Move exit workspace from left menu to update page Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add workspace category info Signed-off-by: yuye-aws <[email protected]> * Remove workspace nav link Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add FilteredNavLinks props to chrome service mock Signed-off-by: yuye-aws <[email protected]> * Remove workspace related constans from chrome Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from chrome and core Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from header Signed-off-by: yuye-aws <[email protected]> * Shorten import path for workspace updater Signed-off-by: yuye-aws <[email protected]> * Add euiIconType for workspace left menu category Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Implement navigation for delete and exit workspace Signed-off-by: yuye-aws <[email protected]> * Navigate external links through url change Signed-off-by: yuye-aws <[email protected]> * Implement filteredNavLinks and sort ChromeNavLinks in nav link service Signed-off-by: yuye-aws <[email protected]> * Add workspace list, see more, admin and overview into chromenavlinks Signed-off-by: yuye-aws <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * Check workspace enabled for left menu Signed-off-by: yuye-aws <[email protected]> * Add home nav link to left menu when outside workspace Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for header Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix combinelatest import error Signed-off-by: yuye-aws <[email protected]> * update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * variable rename Signed-off-by: yuye-aws <[email protected]> * move custom nav link to mock props Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link to core Signed-off-by: yuye-aws <[email protected]> * change navigation method in workspace updater Signed-off-by: yuye-aws <[email protected]> * Update src/plugins/workspace/public/components/workspace_updater/workspace_updater.tsx Co-authored-by: SuZhou-Joe <[email protected]> * revert some unncessary changes Signed-off-by: yuye-aws <[email protected]> * fix navigation url bug Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link value setting from core to workspace plugin Signed-off-by: yuye-aws <[email protected]> * move filter nav link to a new function Signed-off-by: yuye-aws <[email protected]> * process filter nav links when workspace is disabled Signed-off-by: yuye-aws <[email protected]> * change navigation method Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> Co-authored-by: raintygao <[email protected]> * fix: osd bootstrap error (#57) * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix build plugins error Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: filter out ADMIN application and add feature dependency logic (#49) * feat: filter out ADMIN application and add feature dependency logic Signed-off-by: Lin Wang <[email protected]> * feat: separate feature utils function Signed-off-by: Lin Wang <[email protected]> * feat: rename isFeatureDependBySelectedFeatures, separate generateFeatureDependencyMap and add annotation Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: do not register app when feature flag is off (#56) * feat: do not register app when feature flag is off Signed-off-by: SuZhou-Joe <[email protected]> * feat: comply with the category name Signed-off-by: SuZhou-Joe <[email protected]> * feat: opt according to PR Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize the comment Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * Sort category and non-category nav link according to order in left menu (#60) * change order for home Signed-off-by: yuye-aws <[email protected]> * Sort category and non-category navlink types in left menu Signed-off-by: yuye-aws <[email protected]> * change order for overview when inside workspace Signed-off-by: yuye-aws <[email protected]> * assign sorted unknowns to another variable Signed-off-by: yuye-aws <[email protected]> * change annotation Signed-off-by: yuye-aws <[email protected]> * refactor function getMergedNavLinks in left menu Signed-off-by: yuye-aws <[email protected]> * fix zero order bug Signed-off-by: yuye-aws <[email protected]> * add annotation Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Refactor: Assign default value for filtered nav links (#64) * remove default filtered nav link value set Signed-off-by: yuye-aws <[email protected]> * default value for nav link Signed-off-by: yuye-aws <[email protected]> * refactor currentworkspace logic Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Permission control service for saved objects (#63) * feat: move permission control to saved objects directory Signed-off-by: SuZhou-Joe <[email protected]> * feat: use bulkGetObjects and fix unit test Signed-off-by: SuZhou-Joe <[email protected]> * feat: add http routes for validate & list Signed-off-by: SuZhou-Joe <[email protected]> * feat: move permissionModes to common place Signed-off-by: SuZhou-Joe <[email protected]> * feat: rename routes Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * fix: make importing workspace-specific objects as copy Signed-off-by: SuZhou-Joe <[email protected]> * feat: make unit test pass Signed-off-by: SuZhou-Joe <[email protected]> * feat: revert the workspace change Signed-off-by: SuZhou-Joe <[email protected]> * feat: make import support multiple workspaces Signed-off-by: SuZhou-Joe <[email protected]> * feat: change logic Signed-off-by: SuZhou-Joe <suzhou@am…
Hailong-am
added a commit
to Hailong-am/OpenSearch-Dashboards
that referenced
this issue
Sep 15, 2023
…project#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (opensearch-project#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (opensearch-project#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (opensearch-project#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (opensearch-project#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (opensearch-project#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (opensearch-project#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (opensearch-project#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (opensearch-project#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (opensearch-project#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (opensearch-project#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (opensearch-project#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (opensearch-project#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (opensearch-project#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (opensearch-project#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (opensearch-project#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (opensearch-project#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (opensearch-project#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (opensearch-project#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (opensearch-project#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (opensearch-project#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (opensearch-project#30) * Move delete button to update page (opensearch-project#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (opensearch-project#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (opensearch-project#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (opensearch-project#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (opensearch-project#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (opensearch-project#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (opensearch-project#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (opensearch-project#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (opensearch-project#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (opensearch-project#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (opensearch-project#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (opensearch-project#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (opensearch-project#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d2. * Revert "feat: extract management code" This reverts commit 526c28e. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]>
Hailong-am
added a commit
to Hailong-am/OpenSearch-Dashboards
that referenced
this issue
Sep 15, 2023
…oject#62) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * fix missing mocks of workspacesSetup Signed-off-by: Yulong Ruan <[email protected]> * Integrate workspace service into saved object management (#31) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with saved object management page Signed-off-by: SuZhoue-Joe <[email protected]> * Revert "feat: extract management code" This reverts commit 9c765d23aeae8bb76ab35a897e4abef9cc9da860. * Revert "feat: extract management code" This reverts commit 526c28e01b2a6b80e4f8ee7170b740f5c452b97c. * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: remove useless import Signed-off-by: SuZhou-Joe <[email protected]> * feat: refractor workspacesServiceMock Signed-off-by: SuZhou-Joe <[email protected]> * feat: make all test pass Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Feature: hide workspace from saved objects management page. (#45) * setup workspace plugin project skeleton Signed-off-by: Yulong Ruan <[email protected]> * test: add unit tests add license header Signed-off-by: Yulong Ruan <[email protected]> * workspace template init commit Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template into hooks Signed-off-by: Hailong Cui <[email protected]> * refacter workspace template hooks Signed-off-by: Hailong Cui <[email protected]> * update coverImage comments Signed-off-by: Hailong Cui <[email protected]> * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add interfaces for workspaces client Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client type interface Signed-off-by: SuZhoue-Joe <[email protected]> * feat: changes to client implement Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: implement more for workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add workspace creator page (#5) * feat: add workspace creator page Signed-off-by: Lin Wang <[email protected]> * feat: integrate with application workspace template Signed-off-by: Lin Wang <[email protected]> * feat: add max-width and remove image wrapper if not exists Signed-off-by: Lin Wang <[email protected]> * feat: update filter condition to align with collapsible nav Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add validation when load page (#8) * fix: validation & query Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify file name to reduce confusion Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add landing logic to retrive workspace id Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add worklist observable Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make client more robust Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use Subject Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use BehaviorObject and optimize code (#14) Signed-off-by: SuZhoue-Joe <[email protected]> * feat: integrate with workspace create API (#13) * feat: integrate with workspace create API Signed-off-by: Lin Wang <[email protected]> * feat: update to i18n text for toast Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Add currentWorkspace$ (#15) * feat: add currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: add emit on currentWorkspace$ Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * register plugin with workspace template (#16) Signed-off-by: Hailong Cui <[email protected]> * workspace dropdown list (#9) Add workspace dropdown list --------- Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: suzhou <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> * init workspace menu stage 1 (#12) * feat: init workspace menu stage 1 Signed-off-by: tygao <[email protected]> * fix: remove port diff Signed-off-by: tygao <[email protected]> * feat: update menu logic Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Fix template registration import error (#21) * fix import error Signed-off-by: Hailong Cui <[email protected]> * fix osd bootstrap failure Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * Add workspace overview page (#19) * feat: add workspace overview page Signed-off-by: Lin Wang <[email protected]> * refactor: move paths to common constants Signed-off-by: Lin Wang <[email protected]> * feat: add workspace overview item by custom nav in start phase Signed-off-by: Lin Wang <[email protected]> * refactor: change to currentWorkspace$ in workspace client Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: navigate to workspace create page after button clicked (#23) Signed-off-by: Lin Wang <[email protected]> * fix failed test snapshots (#22) fix failed test snapshots temporary fix: fetch functional test from main branch fixed git error which cannot find ref due to feature branch `workspace` not exists on repo opensearch-dashboards-functional-test Signed-off-by: Yulong Ruan <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> * change to currentWorkspace, wrap title using i18n (#20) * change to currentWorkspace, wrap title using i18n Signed-off-by: zhichao-aws <[email protected]> * change import Signed-off-by: zhichao-aws <[email protected]> * directly return [] if currentWorkspace is null Signed-off-by: zhichao-aws <[email protected]> --------- Signed-off-by: zhichao-aws <[email protected]> * add workspace switch (#17) * feat: update workspace switch Signed-off-by: tygao <[email protected]> * fix: fix switch error Signed-off-by: tygao <[email protected]> * fix: fix prettier after merge Signed-off-by: tygao <[email protected]> * chore: remove extra code after merge Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Add update workspace page (#25) Signed-off-by: gaobinlong <[email protected]> * Delete Workspace (#24) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: redirect to overview page after workspace switch (#26) Signed-off-by: Lin Wang <[email protected]> * update menu filter logic (#28) * feat: update menu logic Signed-off-by: tygao <[email protected]> * fix: use navLinks to filter Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: redirect to workspace overview page after created success (#29) Signed-off-by: Lin Wang <[email protected]> * [Feature] Complied saved_objects create/find (#18) * temp: save Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make create/find support workspaces Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * fix: build error Signed-off-by: SuZhoue-Joe <[email protected]> * feat: enable workspaces on saved client server side Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some optimization Signed-off-by: SuZhoue-Joe <[email protected]> * feat: extract management code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: merge fix Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: reuse common function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code when create Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless test code Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * feat: redirect to workspace update page after workspace switch (#30) * Move delete button to update page (#27) * add delete workspace modal Signed-off-by: yuye-aws <[email protected]> * implement delete on workspace overview page Signed-off-by: yuye-aws <[email protected]> * fix export on delete workspace modal Signed-off-by: yuye-aws <[email protected]> * add try catch to handle errors for workspace delete Signed-off-by: yuye-aws <[email protected]> * move visibility control to workspace overview page exlusively Signed-off-by: yuye-aws <[email protected]> * remove unused import Signed-off-by: yuye-aws <[email protected]> * change workspace overview route to workspace update Signed-off-by: yuye-aws <[email protected]> * move delete button from workspace overview page to update page Signed-off-by: yuye-aws <[email protected]> * remove update button from workspace overview page Signed-off-by: yuye-aws <[email protected]> * recover router to workspace overview page Signed-off-by: yuye-aws <[email protected]> * change navigation url for workspace overview button on left side panel Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * fix: linting error Signed-off-by: Yulong Ruan <[email protected]> * remove duplicate EuiPage (#34) * remove duplicate EuiPage Signed-off-by: Hailong Cui <[email protected]> * fix: remove duplicate workspace template Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * remove clear button, add the width of create button (#33) Signed-off-by: zhichao-aws <[email protected]> * rename OpenSearch Plugins to OpenSearch Features this is a temporary fix just for demo, should be reverted later Signed-off-by: Yulong Ruan <[email protected]> * Add some logic check when overwrite a saved object (#32) * feat: add some logic check when overwrite a saved object Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: update Signed-off-by: SuZhoue-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> * Add color, icon and defaultVISTheme for workspace (#36) * feat: add color, icon and defaultVISTheme field for workspace saved object Signed-off-by: Lin Wang <[email protected]> * add new fields to workspace form Signed-off-by: Lin Wang <[email protected]> * feat: remove feature or group name hack Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: add workspace list (#39) Signed-off-by: tygao <[email protected]> * Feature/menu change (#37) * feat: register library menus Signed-off-by: SuZhoue-Joe <[email protected]> * feat: some update Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * feat: different left menu and exit workspace (#38) * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for collapsible nav: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Add three props to mock props for header: exitWorkspace, getWorkspaceUrl, workspaceList$ Signed-off-by: yuye-aws <[email protected]> * Fix bugs for function createWorkspaceNavLink Signed-off-by: yuye-aws <[email protected]> * Remove unused constants Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: make url stateful (#35) * feat: make url stateful Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhoue-Joe <[email protected]> * feat: remove useless change Signed-off-by: SuZhoue-Joe <[email protected]> * feat: optimize url listener Signed-off-by: SuZhoue-Joe <[email protected]> * feat: make formatUrlWithWorkspaceId extensible Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify to related components Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * feat: modify the async format to be sync function Signed-off-by: SuZhoue-Joe <[email protected]> * fix: type check Signed-off-by: SuZhoue-Joe <[email protected]> * feat: use path to maintain workspace info Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * feat: optimize code (#40) Signed-off-by: SuZhou-Joe <[email protected]> * fix: bootstrap error (#43) Signed-off-by: SuZhou-Joe <[email protected]> * feat: add workspace permission control interface (#41) * feat: add workspace permission control interface Signed-off-by: Lin Wang <[email protected]> * feat: add request parameter for workspace permission control Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * allow user to turn on/off workspace from advance settings (#46) return 404 if accessing a workspace path when workspace is disabled --------- Signed-off-by: Yulong Ruan <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Add workspace column into saved objects table (#44) * Add workspace column into saved management page Signed-off-by: Hailong Cui <[email protected]> * savedObjectsManagement as optional dependency Signed-off-by: Hailong Cui <[email protected]> * i18n for column title Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> * feat: make edit url clickable Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * feat: add ui capability path Signed-off-by: SuZhou-Joe <[email protected]> * fet: remove useless jump code Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> * feat: hide workspace from saved objects management page Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]> * Add copy saved objects among workspaces functionality (#53) * Add copy saved objects among workspaces functionality Signed-off-by: gaobinlong <[email protected]> Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> * Fix bug Signed-off-by: gaobinlong <[email protected]> --------- Signed-off-by: gaobinlong <[email protected]> * add workspace saved objects client wrapper (#51) * add workspace savedd objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add more methods to saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: add findWithWorkspacePermissionControl in workspace saved objects client wrapper Signed-off-by: Lin Wang <[email protected]> * feat: throw 451 instead of interval error Signed-off-by: Lin Wang <[email protected]> * chore: fix workspace client init method type error Signed-off-by: Lin Wang <[email protected]> * feat: fix workspaces attribute type error in client wrapper Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * Refactor navigation links from left menu hard code to workspace plugin register (#55) * feature: add public/workspaces service Signed-off-by: SuZhoue-Joe <[email protected]> * Exit workspace from left menu Signed-off-by: yuye-aws <[email protected]> * Show exit workspace button with small window size Signed-off-by: yuye-aws <[email protected]> * Remove recently viewed and workspace overview on left menu Signed-off-by: yuye-aws <[email protected]> * Add buttons for outside, inside workspace case Signed-off-by: yuye-aws <[email protected]> * Implement home button and workspace over view button on left menu Signed-off-by: yuye-aws <[email protected]> * Implement workspace dropdown list in left menu Signed-off-by: yuye-aws <[email protected]> * Add props on recently accessed and custom nav link Signed-off-by: yuye-aws <[email protected]> * Reuse method getWorkspaceUrl Signed-off-by: yuye-aws <[email protected]> * Remove recently accessed and custom nav props in test Signed-off-by: yuye-aws <[email protected]> * Revert "Remove recently accessed and custom nav props in test" This reverts commit 7895e5c5dcde9e134f26b2d6a3df54a2d62e9274. * Wrap title with i18n Signed-off-by: yuye-aws <[email protected]> * Add redirect for workspace app Signed-off-by: yuye-aws <[email protected]> * Enable users to go to workspace lists page via see more under workspaces in left menu Signed-off-by: yuye-aws <[email protected]> * Fix build error and part of test error (#42) * fix: fix build error and some ut Signed-off-by: tygao <[email protected]> * chore: remove saved object client test diff Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> * Comment Alerts and Favorites in left menu Signed-off-by: yuye-aws <[email protected]> * Recover recently viewed items in left menu Signed-off-by: yuye-aws <[email protected]> * Move exit workspace from left menu to update page Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add workspace category info Signed-off-by: yuye-aws <[email protected]> * Remove workspace nav link Signed-off-by: yuye-aws <[email protected]> * Remove unused import Signed-off-by: yuye-aws <[email protected]> * Add FilteredNavLinks props to chrome service mock Signed-off-by: yuye-aws <[email protected]> * Remove workspace related constans from chrome Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from chrome and core Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props from header Signed-off-by: yuye-aws <[email protected]> * Shorten import path for workspace updater Signed-off-by: yuye-aws <[email protected]> * Add euiIconType for workspace left menu category Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Remove workspace related props for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Implement navigation for delete and exit workspace Signed-off-by: yuye-aws <[email protected]> * Navigate external links through url change Signed-off-by: yuye-aws <[email protected]> * Implement filteredNavLinks and sort ChromeNavLinks in nav link service Signed-off-by: yuye-aws <[email protected]> * Add workspace list, see more, admin and overview into chromenavlinks Signed-off-by: yuye-aws <[email protected]> * fix: unit test failure (#50) Signed-off-by: SuZhou-Joe <[email protected]> * Fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * Check workspace enabled for left menu Signed-off-by: yuye-aws <[email protected]> * Add home nav link to left menu when outside workspace Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for header Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Fix unit test for collapsible nav Signed-off-by: yuye-aws <[email protected]> * Update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix combinelatest import error Signed-off-by: yuye-aws <[email protected]> * update snapshot for unit tests Signed-off-by: yuye-aws <[email protected]> * variable rename Signed-off-by: yuye-aws <[email protected]> * move custom nav link to mock props Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link to core Signed-off-by: yuye-aws <[email protected]> * change navigation method in workspace updater Signed-off-by: yuye-aws <[email protected]> * Update src/plugins/workspace/public/components/workspace_updater/workspace_updater.tsx Co-authored-by: SuZhou-Joe <[email protected]> * revert some unncessary changes Signed-off-by: yuye-aws <[email protected]> * fix navigation url bug Signed-off-by: yuye-aws <[email protected]> * move default filtered nav link value setting from core to workspace plugin Signed-off-by: yuye-aws <[email protected]> * move filter nav link to a new function Signed-off-by: yuye-aws <[email protected]> * process filter nav links when workspace is disabled Signed-off-by: yuye-aws <[email protected]> * change navigation method Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: SuZhoue-Joe <[email protected]> Co-authored-by: raintygao <[email protected]> * fix: osd bootstrap error (#57) * fix osd bootstrap error Signed-off-by: yuye-aws <[email protected]> * fix build plugins error Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * feat: filter out ADMIN application and add feature dependency logic (#49) * feat: filter out ADMIN application and add feature dependency logic Signed-off-by: Lin Wang <[email protected]> * feat: separate feature utils function Signed-off-by: Lin Wang <[email protected]> * feat: rename isFeatureDependBySelectedFeatures, separate generateFeatureDependencyMap and add annotation Signed-off-by: Lin Wang <[email protected]> --------- Signed-off-by: Lin Wang <[email protected]> * feat: do not register app when feature flag is off (#56) * feat: do not register app when feature flag is off Signed-off-by: SuZhou-Joe <[email protected]> * feat: comply with the category name Signed-off-by: SuZhou-Joe <[email protected]> * feat: opt according to PR Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize the comment Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * Sort category and non-category nav link according to order in left menu (#60) * change order for home Signed-off-by: yuye-aws <[email protected]> * Sort category and non-category navlink types in left menu Signed-off-by: yuye-aws <[email protected]> * change order for overview when inside workspace Signed-off-by: yuye-aws <[email protected]> * assign sorted unknowns to another variable Signed-off-by: yuye-aws <[email protected]> * change annotation Signed-off-by: yuye-aws <[email protected]> * refactor function getMergedNavLinks in left menu Signed-off-by: yuye-aws <[email protected]> * fix zero order bug Signed-off-by: yuye-aws <[email protected]> * add annotation Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Refactor: Assign default value for filtered nav links (#64) * remove default filtered nav link value set Signed-off-by: yuye-aws <[email protected]> * default value for nav link Signed-off-by: yuye-aws <[email protected]> * refactor currentworkspace logic Signed-off-by: yuye-aws <[email protected]> --------- Signed-off-by: yuye-aws <[email protected]> * Permission control service for saved objects (#63) * feat: move permission control to saved objects directory Signed-off-by: SuZhou-Joe <[email protected]> * feat: use bulkGetObjects and fix unit test Signed-off-by: SuZhou-Joe <[email protected]> * feat: add http routes for validate & list Signed-off-by: SuZhou-Joe <[email protected]> * feat: move permissionModes to common place Signed-off-by: SuZhou-Joe <[email protected]> * feat: rename routes Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> * feat: some side effects Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: SuZhou-Joe <[email protected]> * fix: make importing workspace-specific objects as copy Signed-off-by: SuZhou-Joe <[email protected]> * feat: make unit test pass Signed-off-by: SuZhou-Joe <[email protected]> * feat: revert the workspace change Signed-off-by: SuZhou-Joe <[email protected]> * feat: make import support multiple workspaces Signed-off-by: SuZhou-Joe <[email protected]> * feat: change logic Signed-off-by: SuZhou-Joe <[email protected]> * feat: change logic Signed-off-by: SuZhou-Joe <[email protected]> * fix: ci flow fail Signed-off-by: SuZhou-Joe <[email protected]> * feat: copy to target workspace Signed-off-by: SuZhou-Joe <[email protected]> * feat: revert changes Signed-off-by: SuZhou-Joe <[email protected]> * feat: change public logic Signed-off-by: SuZhou-Joe <[email protected]> * feat: update Signed-off-by: SuZhou-Joe <[email protected]> * feat: revert some skipped test Signed-off-by: SuZhou-Joe <[email protected]> * fix: type check Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize code Signed-off-by: SuZhou-Joe <[email protected]> * feat: optimize logic Signed-off-by: SuZhou-Joe <[email protected]> * feat: update logic Signed-off-by: SuZhou-Joe <[email protected]> * temp: merge code Signed-off-by: SuZhou-Joe <[email protected]> * fix: formatUrlWithWorkspaceId reference Signed-off-by: SuZhou-Joe <[email protected]> * fix: remove useless export call Signed-off-by: SuZhou-Joe <[email protected]> * fix: omitIds Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Yulong Ruan <[email protected]> Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: SuZhoue-Joe <[email protected]> Signed-off-by: Lin Wang <[email protected]> Signed-off-by: zhichao-aws <[email protected]> Signed-off-by: suzhou <[email protected]> Signed-off-by: tygao <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: yuye-aws <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: Yulong Ruan <[email protected]> Co-authored-by: Hailong Cui <[email protected]> Co-authored-by: Lin Wang <[email protected]> Co-authored-by: zhichao-aws <[email protected]> Co-authored-by: raintygao <[email protected]> Co-authored-by: gaobinlong <[email protected]> Co-authored-by: Yuye Zhu <[email protected]>
sejli
pushed a commit
to sejli/OpenSearch-Dashboards
that referenced
this issue
Jul 11, 2024
add more tests for query assist update eslint config to make it work increase index selector width Signed-off-by: Joshua Li <[email protected]>
kavilla
added a commit
that referenced
this issue
Jul 16, 2024
### Description Introduces the addition of a new core plugin called `Query Enhancements` This plugin seems to be focused on enhancing query capabilities, particularly in areas like PPL (Piped Processing Language), SQL, and natural language query assistance. #### Plugin Configuration and Setup The plugin is set up with the necessary configuration files: - src/plugins/query_enhancements/opensearch_dashboards.json: Defines the plugin's metadata and dependencies. - src/plugins/query_enhancements/common/config.ts: Contains the configuration schema for the plugin. - src/plugins/query_enhancements/public/plugin.tsx: The main plugin file that sets up the public-facing part of the plugin. - src/plugins/query_enhancements/server/plugin.ts: The server-side setup for the plugin. #### Query Assist Feature A significant part of the plugin is dedicated to a "Query Assist" feature: - src/plugins/query_enhancements/public/query_assist/: This directory contains components, hooks, and utilities for the Query Assist feature. - src/plugins/query_enhancements/public/query_assist/components/query_assist_bar.tsx: A React component for the Query Assist bar. - src/plugins/query_enhancements/server/routes/query_assist/: Server-side routing for Query Assist functionality. #### Search Interceptors The plugin introduces several search interceptors: - src/plugins/query_enhancements/public/search/ppl_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_async_search_interceptor.ts These interceptors likely modify or enhance the search functionality for different query languages. #### Data Source Connection There's a new feature for data source connections: - src/plugins/query_enhancements/public/data_source_connection/: This directory contains components and services for managing data source connections. #### Server-side Search Strategies The plugin implements server-side search strategies for different query types: - src/plugins/query_enhancements/server/search/ppl_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_async_search_strategy.ts #### Modifications to Existing Files There are some modifications to existing files outside the new plugin directory: - src/plugins/data/public/index.ts: Exports new types and interfaces. - src/plugins/data/public/ui/index.ts: Exports new UI components. - src/plugins/data/public/ui/query_editor/index.tsx: Modifies the QueryEditor component. #### Testing The plugin includes a comprehensive test setup: - src/plugins/query_enhancements/test/: Contains Jest configuration and setup files for testing. #### Acknowledgements Contains work by @sejli @joshuali925 @Swiddis @paulstn @mengweieric Thx @ashwin-pc for the description summary ### Issues Related #6072 #6074 #6075 Commits include: * init Signed-off-by: Kawika Avilla <[email protected]> * fixing bugs and removing target Signed-off-by: Sean Li <[email protected]> * add target and build to .gitignore Signed-off-by: Sean Li <[email protected]> * Remove SQL Async and Query Assist Going for the light weight solution for 2.15. So took out what wasn't required deliverable. However, I created a branch `feature/discover-next` which has the state where all the features where added so we can port it over post 2.15. Signed-off-by: Kawika Avilla <[email protected]> * adding fix for PPL queries Signed-off-by: Sean Li <[email protected]> * Clean up files and add helper functions Signed-off-by: Kawika Avilla <[email protected]> * final touches Signed-off-by: Kawika Avilla <[email protected]> * [Discover-next] add query assist to query enhancements plugin (#6895) it adds query assist specific logic in query enhancements plugin to show a UI above the PPL search bar if user has configured PPL agent. Issues Resolved: #6820 * add query assist to query enhancements Signed-off-by: Joshua Li <[email protected]> * align language to uppercase Signed-off-by: Joshua Li <[email protected]> * pick PR 6167 Signed-off-by: Joshua Li <[email protected]> * use useState hooks for query assist There is a bug in data explorer `AppContainer` where memorized `DiscoverCanvas` gets unmounted after `setQuery`. PR 6167 works around it by memorizing `AppContainer`. As query assist is no longer being unmounted, we can use proper hooks to persist state now. Signed-off-by: Joshua Li <[email protected]> * Revert "pick PR 6167" This reverts commit acb0d41. Wait for official 6167 to merge to avoid conflict Signed-off-by: Joshua Li <[email protected]> * address comments for PR 6894 Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 016e0f2) * [Discover-next] Address comments for search bar extensions and query assist (#6933) * pass dependencies to isEnabled func Signed-off-by: Joshua Li <[email protected]> * add lazy and memo to search bar extensions Signed-off-by: Joshua Li <[email protected]> * move ppl specific string out from query assist Signed-off-by: Joshua Li <[email protected]> * prevent setstate after hook unmounts Signed-off-by: Joshua Li <[email protected]> * add max-height to search bar extensions Signed-off-by: Joshua Li <[email protected]> * prevent setstate after component unmounts Signed-off-by: Joshua Li <[email protected]> * move ml-commons API to common/index.ts Signed-off-by: Joshua Li <[email protected]> * improve i18n and accessibility usages Signed-off-by: Joshua Li <[email protected]> * add hard-coded suggestions for sample data indices Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 4aade0f) * [Discover-next] Support data sources for query assist (#6972) * disable query assist for non-default datasource Signed-off-by: Joshua Li <[email protected]> * disable query assist input when loading Signed-off-by: Joshua Li <[email protected]> * support MDS for query assist Signed-off-by: Joshua Li <[email protected]> * add unit tests for agents Signed-off-by: Joshua Li <[email protected]> * Revert "add unit tests for agents" This reverts commit 983514e. The test configs are not yet setup in query_enhancements plugins. Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 328e08e) * add query assist banner Signed-off-by: Joshua Li <[email protected]> * implement banner rendering logic Signed-off-by: Joshua Li <[email protected]> * pick opensearch-project/dashboards-observability/pull/1896 Signed-off-by: Joshua Li <[email protected]> * Conditionally render the data source select config Signed-off-by: Kawika Avilla <[email protected]> * restore no space Signed-off-by: Kawika Avilla <[email protected]> * add basic tests Signed-off-by: Joshua Li <[email protected]> * add index selector This is a temporary solution given that in discover the index pattern selector will be removed. Before datasource and dataset selectors are added, query assist will rely on this index pattern selector to determine which index user wants to query. Signed-off-by: Joshua Li <[email protected]> * MDS working with PPL and SQL Utilizing the work from MDS to make PPL and SQL calls to a remote cluster. Signed-off-by: Kawika Avilla <[email protected]> * rename logo to mark Signed-off-by: Joshua Li <[email protected]> * extract supported languages to config Signed-off-by: Joshua Li <[email protected]> * Add missing license headers Signed-off-by: Kawika Avilla <[email protected]> * initial implementation for async queries Signed-off-by: Sean Li <[email protected]> * remove queryId and sessionId from facet Signed-off-by: Sean Li <[email protected]> * fix: Update call out tests with intl wrapper Signed-off-by: Simeon Widdis <[email protected]> * maintenance: Add and apply lint command Signed-off-by: Simeon Widdis <[email protected]> * changing to observables Signed-off-by: Sean Li <[email protected]> * search interceptor and cleanup Signed-off-by: Sean Li <[email protected]> * moving polling class into plugin Signed-off-by: Sean Li <[email protected]> * Some minor clean ups plus lint Signed-off-by: Kawika Avilla <[email protected]> * test: Add mock-heavy tests for sql search strategy Signed-off-by: Simeon Widdis <[email protected]> * test: add GH workflows Signed-off-by: Simeon Widdis <[email protected]> * More clean ups Add some props interfaces and consolidated some of the facets Signed-off-by: Kawika Avilla <[email protected]> * chore: apply auto-lints to plugin Signed-off-by: Simeon Widdis <[email protected]> * Not done Signed-off-by: Kawika Avilla <[email protected]> * working Signed-off-by: Kawika Avilla <[email protected]> * working and styled Signed-off-by: Kawika Avilla <[email protected]> * add connection service Signed-off-by: Kawika Avilla <[email protected]> * Update public/types.ts Co-authored-by: Joshua Li <[email protected]> * Update public/plugin.tsx Co-authored-by: Joshua Li <[email protected]> * Update public/plugin.tsx Co-authored-by: Joshua Li <[email protected]> * fix linter Signed-off-by: Kawika Avilla <[email protected]> * add more tests for query assist (#31) add more tests for query assist update eslint config to make it work increase index selector width Signed-off-by: Joshua Li <[email protected]> * fix!: remove dataSource key in get connection response The `Connection` type does not have the extra `dataSource` object around response, and most of the time code references connection over dataSource. remove the redundent object to make response consistent with type. Signed-off-by: Joshua Li <[email protected]> * change isEnabled to an observable based on selected connection Signed-off-by: Joshua Li <[email protected]> * protect duplicated calls Signed-off-by: Joshua Li <[email protected]> * [build] import via start services Signed-off-by: Kawika Avilla <[email protected]> * Changeset file for PR #7212 created/updated * foobar Signed-off-by: Kawika Avilla <[email protected]> * updating imports still in progress Signed-off-by: Kawika Avilla <[email protected]> * Update more imports Signed-off-by: Kawika Avilla <[email protected]> * fix setting of state Signed-off-by: Kawika Avilla <[email protected]> * fixes bugs Signed-off-by: Kawika Avilla <[email protected]> * Update test Signed-off-by: Kawika Avilla <[email protected]> --------- Signed-off-by: Kawika Avilla <[email protected]> Signed-off-by: Sean Li <[email protected]> Signed-off-by: Joshua Li <[email protected]> Signed-off-by: Simeon Widdis <[email protected]> Co-authored-by: Sean Li <[email protected]> Co-authored-by: Joshua Li <[email protected]> Co-authored-by: Simeon Widdis <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Signed-off-by: Kawika Avilla <[email protected]>
sejli
pushed a commit
to sejli/OpenSearch-Dashboards
that referenced
this issue
Jul 23, 2024
…earch-project#7212) Introduces the addition of a new core plugin called `Query Enhancements` This plugin seems to be focused on enhancing query capabilities, particularly in areas like PPL (Piped Processing Language), SQL, and natural language query assistance. The plugin is set up with the necessary configuration files: - src/plugins/query_enhancements/opensearch_dashboards.json: Defines the plugin's metadata and dependencies. - src/plugins/query_enhancements/common/config.ts: Contains the configuration schema for the plugin. - src/plugins/query_enhancements/public/plugin.tsx: The main plugin file that sets up the public-facing part of the plugin. - src/plugins/query_enhancements/server/plugin.ts: The server-side setup for the plugin. A significant part of the plugin is dedicated to a "Query Assist" feature: - src/plugins/query_enhancements/public/query_assist/: This directory contains components, hooks, and utilities for the Query Assist feature. - src/plugins/query_enhancements/public/query_assist/components/query_assist_bar.tsx: A React component for the Query Assist bar. - src/plugins/query_enhancements/server/routes/query_assist/: Server-side routing for Query Assist functionality. The plugin introduces several search interceptors: - src/plugins/query_enhancements/public/search/ppl_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_async_search_interceptor.ts These interceptors likely modify or enhance the search functionality for different query languages. There's a new feature for data source connections: - src/plugins/query_enhancements/public/data_source_connection/: This directory contains components and services for managing data source connections. The plugin implements server-side search strategies for different query types: - src/plugins/query_enhancements/server/search/ppl_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_async_search_strategy.ts There are some modifications to existing files outside the new plugin directory: - src/plugins/data/public/index.ts: Exports new types and interfaces. - src/plugins/data/public/ui/index.ts: Exports new UI components. - src/plugins/data/public/ui/query_editor/index.tsx: Modifies the QueryEditor component. The plugin includes a comprehensive test setup: - src/plugins/query_enhancements/test/: Contains Jest configuration and setup files for testing. Contains work by @sejli @joshuali925 @Swiddis @paulstn @mengweieric Thx @ashwin-pc for the description summary opensearch-project#6072 opensearch-project#6074 opensearch-project#6075 Commits include: * init Signed-off-by: Kawika Avilla <[email protected]> * fixing bugs and removing target Signed-off-by: Sean Li <[email protected]> * add target and build to .gitignore Signed-off-by: Sean Li <[email protected]> * Remove SQL Async and Query Assist Going for the light weight solution for 2.15. So took out what wasn't required deliverable. However, I created a branch `feature/discover-next` which has the state where all the features where added so we can port it over post 2.15. Signed-off-by: Kawika Avilla <[email protected]> * adding fix for PPL queries Signed-off-by: Sean Li <[email protected]> * Clean up files and add helper functions Signed-off-by: Kawika Avilla <[email protected]> * final touches Signed-off-by: Kawika Avilla <[email protected]> * [Discover-next] add query assist to query enhancements plugin (opensearch-project#6895) it adds query assist specific logic in query enhancements plugin to show a UI above the PPL search bar if user has configured PPL agent. Issues Resolved: opensearch-project#6820 * add query assist to query enhancements Signed-off-by: Joshua Li <[email protected]> * align language to uppercase Signed-off-by: Joshua Li <[email protected]> * pick PR 6167 Signed-off-by: Joshua Li <[email protected]> * use useState hooks for query assist There is a bug in data explorer `AppContainer` where memorized `DiscoverCanvas` gets unmounted after `setQuery`. PR 6167 works around it by memorizing `AppContainer`. As query assist is no longer being unmounted, we can use proper hooks to persist state now. Signed-off-by: Joshua Li <[email protected]> * Revert "pick PR 6167" This reverts commit acb0d41. Wait for official 6167 to merge to avoid conflict Signed-off-by: Joshua Li <[email protected]> * address comments for PR 6894 Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 016e0f2) * [Discover-next] Address comments for search bar extensions and query assist (opensearch-project#6933) * pass dependencies to isEnabled func Signed-off-by: Joshua Li <[email protected]> * add lazy and memo to search bar extensions Signed-off-by: Joshua Li <[email protected]> * move ppl specific string out from query assist Signed-off-by: Joshua Li <[email protected]> * prevent setstate after hook unmounts Signed-off-by: Joshua Li <[email protected]> * add max-height to search bar extensions Signed-off-by: Joshua Li <[email protected]> * prevent setstate after component unmounts Signed-off-by: Joshua Li <[email protected]> * move ml-commons API to common/index.ts Signed-off-by: Joshua Li <[email protected]> * improve i18n and accessibility usages Signed-off-by: Joshua Li <[email protected]> * add hard-coded suggestions for sample data indices Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 4aade0f) * [Discover-next] Support data sources for query assist (opensearch-project#6972) * disable query assist for non-default datasource Signed-off-by: Joshua Li <[email protected]> * disable query assist input when loading Signed-off-by: Joshua Li <[email protected]> * support MDS for query assist Signed-off-by: Joshua Li <[email protected]> * add unit tests for agents Signed-off-by: Joshua Li <[email protected]> * Revert "add unit tests for agents" This reverts commit 983514e. The test configs are not yet setup in query_enhancements plugins. Signed-off-by: Joshua Li <[email protected]> --------- Signed-off-by: Joshua Li <[email protected]> (cherry picked from commit 328e08e) * add query assist banner Signed-off-by: Joshua Li <[email protected]> * implement banner rendering logic Signed-off-by: Joshua Li <[email protected]> * pick opensearch-project/dashboards-observability/pull/1896 Signed-off-by: Joshua Li <[email protected]> * Conditionally render the data source select config Signed-off-by: Kawika Avilla <[email protected]> * restore no space Signed-off-by: Kawika Avilla <[email protected]> * add basic tests Signed-off-by: Joshua Li <[email protected]> * add index selector This is a temporary solution given that in discover the index pattern selector will be removed. Before datasource and dataset selectors are added, query assist will rely on this index pattern selector to determine which index user wants to query. Signed-off-by: Joshua Li <[email protected]> * MDS working with PPL and SQL Utilizing the work from MDS to make PPL and SQL calls to a remote cluster. Signed-off-by: Kawika Avilla <[email protected]> * rename logo to mark Signed-off-by: Joshua Li <[email protected]> * extract supported languages to config Signed-off-by: Joshua Li <[email protected]> * Add missing license headers Signed-off-by: Kawika Avilla <[email protected]> * initial implementation for async queries Signed-off-by: Sean Li <[email protected]> * remove queryId and sessionId from facet Signed-off-by: Sean Li <[email protected]> * fix: Update call out tests with intl wrapper Signed-off-by: Simeon Widdis <[email protected]> * maintenance: Add and apply lint command Signed-off-by: Simeon Widdis <[email protected]> * changing to observables Signed-off-by: Sean Li <[email protected]> * search interceptor and cleanup Signed-off-by: Sean Li <[email protected]> * moving polling class into plugin Signed-off-by: Sean Li <[email protected]> * Some minor clean ups plus lint Signed-off-by: Kawika Avilla <[email protected]> * test: Add mock-heavy tests for sql search strategy Signed-off-by: Simeon Widdis <[email protected]> * test: add GH workflows Signed-off-by: Simeon Widdis <[email protected]> * More clean ups Add some props interfaces and consolidated some of the facets Signed-off-by: Kawika Avilla <[email protected]> * chore: apply auto-lints to plugin Signed-off-by: Simeon Widdis <[email protected]> * Not done Signed-off-by: Kawika Avilla <[email protected]> * working Signed-off-by: Kawika Avilla <[email protected]> * working and styled Signed-off-by: Kawika Avilla <[email protected]> * add connection service Signed-off-by: Kawika Avilla <[email protected]> * Update public/types.ts Co-authored-by: Joshua Li <[email protected]> * Update public/plugin.tsx Co-authored-by: Joshua Li <[email protected]> * Update public/plugin.tsx Co-authored-by: Joshua Li <[email protected]> * fix linter Signed-off-by: Kawika Avilla <[email protected]> * add more tests for query assist (opensearch-project#31) add more tests for query assist update eslint config to make it work increase index selector width Signed-off-by: Joshua Li <[email protected]> * fix!: remove dataSource key in get connection response The `Connection` type does not have the extra `dataSource` object around response, and most of the time code references connection over dataSource. remove the redundent object to make response consistent with type. Signed-off-by: Joshua Li <[email protected]> * change isEnabled to an observable based on selected connection Signed-off-by: Joshua Li <[email protected]> * protect duplicated calls Signed-off-by: Joshua Li <[email protected]> * [build] import via start services Signed-off-by: Kawika Avilla <[email protected]> * Changeset file for PR opensearch-project#7212 created/updated * foobar Signed-off-by: Kawika Avilla <[email protected]> * updating imports still in progress Signed-off-by: Kawika Avilla <[email protected]> * Update more imports Signed-off-by: Kawika Avilla <[email protected]> * fix setting of state Signed-off-by: Kawika Avilla <[email protected]> * fixes bugs Signed-off-by: Kawika Avilla <[email protected]> * Update test Signed-off-by: Kawika Avilla <[email protected]> --------- Signed-off-by: Kawika Avilla <[email protected]> Signed-off-by: Sean Li <[email protected]> Signed-off-by: Joshua Li <[email protected]> Signed-off-by: Simeon Widdis <[email protected]> Co-authored-by: Sean Li <[email protected]> Co-authored-by: Joshua Li <[email protected]> Co-authored-by: Simeon Widdis <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Signed-off-by: Kawika Avilla <[email protected]> (cherry picked from commit 9194d83) Signed-off-by: Sean Li <[email protected]>
Merged
7 tasks
ruanyl
pushed a commit
that referenced
this issue
Jul 23, 2024
#7400) Introduces the addition of a new core plugin called `Query Enhancements` This plugin seems to be focused on enhancing query capabilities, particularly in areas like PPL (Piped Processing Language), SQL, and natural language query assistance. The plugin is set up with the necessary configuration files: - src/plugins/query_enhancements/opensearch_dashboards.json: Defines the plugin's metadata and dependencies. - src/plugins/query_enhancements/common/config.ts: Contains the configuration schema for the plugin. - src/plugins/query_enhancements/public/plugin.tsx: The main plugin file that sets up the public-facing part of the plugin. - src/plugins/query_enhancements/server/plugin.ts: The server-side setup for the plugin. A significant part of the plugin is dedicated to a "Query Assist" feature: - src/plugins/query_enhancements/public/query_assist/: This directory contains components, hooks, and utilities for the Query Assist feature. - src/plugins/query_enhancements/public/query_assist/components/query_assist_bar.tsx: A React component for the Query Assist bar. - src/plugins/query_enhancements/server/routes/query_assist/: Server-side routing for Query Assist functionality. The plugin introduces several search interceptors: - src/plugins/query_enhancements/public/search/ppl_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_search_interceptor.ts - src/plugins/query_enhancements/public/search/sql_async_search_interceptor.ts These interceptors likely modify or enhance the search functionality for different query languages. There's a new feature for data source connections: - src/plugins/query_enhancements/public/data_source_connection/: This directory contains components and services for managing data source connections. The plugin implements server-side search strategies for different query types: - src/plugins/query_enhancements/server/search/ppl_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_search_strategy.ts - src/plugins/query_enhancements/server/search/sql_async_search_strategy.ts There are some modifications to existing files outside the new plugin directory: - src/plugins/data/public/index.ts: Exports new types and interfaces. - src/plugins/data/public/ui/index.ts: Exports new UI components. - src/plugins/data/public/ui/query_editor/index.tsx: Modifies the QueryEditor component. The plugin includes a comprehensive test setup: - src/plugins/query_enhancements/test/: Contains Jest configuration and setup files for testing. Contains work by @sejli @joshuali925 @Swiddis @paulstn @mengweieric Thx @ashwin-pc for the description summary #6072 #6074 #6075 Commits include: * init * fixing bugs and removing target * add target and build to .gitignore * Remove SQL Async and Query Assist Going for the light weight solution for 2.15. So took out what wasn't required deliverable. However, I created a branch `feature/discover-next` which has the state where all the features where added so we can port it over post 2.15. * adding fix for PPL queries * Clean up files and add helper functions * final touches * [Discover-next] add query assist to query enhancements plugin (#6895) it adds query assist specific logic in query enhancements plugin to show a UI above the PPL search bar if user has configured PPL agent. Issues Resolved: #6820 * add query assist to query enhancements * align language to uppercase * pick PR 6167 * use useState hooks for query assist There is a bug in data explorer `AppContainer` where memorized `DiscoverCanvas` gets unmounted after `setQuery`. PR 6167 works around it by memorizing `AppContainer`. As query assist is no longer being unmounted, we can use proper hooks to persist state now. * Revert "pick PR 6167" This reverts commit acb0d41. Wait for official 6167 to merge to avoid conflict * address comments for PR 6894 --------- (cherry picked from commit 016e0f2) * [Discover-next] Address comments for search bar extensions and query assist (#6933) * pass dependencies to isEnabled func * add lazy and memo to search bar extensions * move ppl specific string out from query assist * prevent setstate after hook unmounts * add max-height to search bar extensions * prevent setstate after component unmounts * move ml-commons API to common/index.ts * improve i18n and accessibility usages * add hard-coded suggestions for sample data indices --------- (cherry picked from commit 4aade0f) * [Discover-next] Support data sources for query assist (#6972) * disable query assist for non-default datasource * disable query assist input when loading * support MDS for query assist * add unit tests for agents * Revert "add unit tests for agents" This reverts commit 983514e. The test configs are not yet setup in query_enhancements plugins. --------- (cherry picked from commit 328e08e) * add query assist banner * implement banner rendering logic * pick opensearch-project/dashboards-observability/pull/1896 * Conditionally render the data source select config * restore no space * add basic tests * add index selector This is a temporary solution given that in discover the index pattern selector will be removed. Before datasource and dataset selectors are added, query assist will rely on this index pattern selector to determine which index user wants to query. * MDS working with PPL and SQL Utilizing the work from MDS to make PPL and SQL calls to a remote cluster. * rename logo to mark * extract supported languages to config * Add missing license headers * initial implementation for async queries * remove queryId and sessionId from facet * fix: Update call out tests with intl wrapper * maintenance: Add and apply lint command * changing to observables * search interceptor and cleanup * moving polling class into plugin * Some minor clean ups plus lint * test: Add mock-heavy tests for sql search strategy * test: add GH workflows * More clean ups Add some props interfaces and consolidated some of the facets * chore: apply auto-lints to plugin * Not done * working * working and styled * add connection service * Update public/types.ts * Update public/plugin.tsx * Update public/plugin.tsx * fix linter * add more tests for query assist (#31) add more tests for query assist update eslint config to make it work increase index selector width * fix!: remove dataSource key in get connection response The `Connection` type does not have the extra `dataSource` object around response, and most of the time code references connection over dataSource. remove the redundent object to make response consistent with type. * change isEnabled to an observable based on selected connection * protect duplicated calls * [build] import via start services * Changeset file for PR #7212 created/updated * foobar * updating imports still in progress * Update more imports * fix setting of state * fixes bugs * Update test --------- (cherry picked from commit 9194d83) Signed-off-by: Kawika Avilla <[email protected]> Signed-off-by: Sean Li <[email protected]> Co-authored-by: Kawika Avilla <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current RFCs might not be valid, review and remove them.
https://github.com/opendistro-for-elasticsearch/website/tree/main/rfcs
The text was updated successfully, but these errors were encountered: