mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 21:45:01 +02:00
Keyboard popup (#1625)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -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
|
||||
}>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user