Keyboard popup (#1625)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-05-04 15:08:12 +07:00
committed by GitHub
parent 0cec2cb1d1
commit 8d7e3078e1
63 changed files with 1627 additions and 909 deletions
+12
View File
@@ -17,6 +17,7 @@ import type { Class, Doc, Mixin, Obj, Ref, Space } from '@anticrm/core'
import type { Asset, IntlString, Metadata, Plugin, Resource } from '@anticrm/platform'
import { plugin } from '@anticrm/platform'
import { AnyComponent } from '@anticrm/ui'
import { ViewAction } from '@anticrm/view'
/**
* @public
@@ -113,5 +114,16 @@ export default plugin(workbenchId, {
metadata: {
PlatformTitle: '' as Metadata<string>,
ExcludedApplications: '' as Metadata<Ref<Application>[]>
},
actionImpl: {
Navigate: '' as ViewAction<{
mode: 'app' | 'special' | 'space'
application?: Ref<Application>
special?: string
space?: Ref<Space>
// If no space is selected, select first space from list
spaceClass?: Ref<Class<Space>>
spaceSpecial?: string
}>
}
})