Skip to content

Commit

Permalink
feat: add core workspace module (#145)
Browse files Browse the repository at this point in the history
The core workspace module(WorkspaceService) is a foundational component
that enables the implementation of workspace features within OSD
plugins. The purpose of the core workspace module is to provide
a framework for workspace implementations.

This module does not implement specific workspace
functionality but provides the essential infrastructure for plugins to
extend and customize workspace features, it maintains a shared
workspace state(observables) across the entire application to ensure
a consistent and up-to-date view of workspace-related information to
all parts of the application.

---------

Signed-off-by: Yulong Ruan <[email protected]>
  • Loading branch information
ruanyl authored and wanglam committed Feb 22, 2024
1 parent f5a4adb commit 481f90b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@ export {

export { __osdBootstrap__ } from './osd_bootstrap';

export { WorkspacesStart, WorkspacesSetup } from './workspace';
export { WorkspacesStart, WorkspacesSetup, WorkspacesService } from './workspace';
1 change: 1 addition & 0 deletions src/core/types/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export interface WorkspaceAttribute {
icon?: string;
reserved?: boolean;
defaultVISTheme?: string;
reserved?: boolean;
}

0 comments on commit 481f90b

Please sign in to comment.