Add widgets sidebar (#6578)

This commit is contained in:
Kristina
2024-09-18 09:27:13 +07:00
committed by GitHub
parent d38df9c600
commit a1cee24473
84 changed files with 2922 additions and 600 deletions
+5 -2
View File
@@ -25,12 +25,14 @@ import {
closePanel,
fetchMetadataLocalStorage,
getCurrentLocation,
type Location,
navigate,
setMetadataLocalStorage
setMetadataLocalStorage,
location
} from '@hcengineering/ui'
import view from '@hcengineering/view'
import workbench, { type Application, type NavigatorModel } from '@hcengineering/workbench'
import { writable } from 'svelte/store'
import { derived, writable } from 'svelte/store'
export const workspaceCreating = writable<number | undefined>(undefined)
@@ -155,6 +157,7 @@ export async function showApplication (app: Application): Promise<void> {
}
export const workspacesStore = writable<Workspace[]>([])
export const workspaceStore = derived(location, (loc: Location) => loc.path[1])
/**
* @public