UBER-135/TSK-1430: allow changing image in PDFViewer through arrow-keys (keyboard) (#3186)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov
2023-05-24 18:51:48 +06:00
committed by GitHub
parent 71193c54c2
commit df5fc73eeb
31 changed files with 69 additions and 56 deletions
@@ -18,7 +18,7 @@
import notification from '@hcengineering/notification'
import { Panel } from '@hcengineering/panel'
import { getResource } from '@hcengineering/platform'
import presentation, { createQuery, getClient } from '@hcengineering/presentation'
import presentation, { createQuery, getClient, ActionContext, contextStore } from '@hcengineering/presentation'
import setting, { settingId } from '@hcengineering/setting'
import { Issue, Project } from '@hcengineering/tracker'
import {
@@ -34,14 +34,7 @@
navigate,
showPopup
} from '@hcengineering/ui'
import {
ActionContext,
ContextMenu,
DocNavLink,
ParentsNavigator,
UpDownNavigator,
contextStore
} from '@hcengineering/view-resources'
import { ContextMenu, DocNavLink, ParentsNavigator, UpDownNavigator } from '@hcengineering/view-resources'
import { createEventDispatcher, onDestroy } from 'svelte'
import { generateIssueShortLink, getIssueId } from '../../../issues'
import tracker from '../../../plugin'
@@ -17,14 +17,9 @@
import { Issue, Project } from '@hcengineering/tracker'
import { registerFocus } from '@hcengineering/ui'
import { ViewOptions, Viewlet } from '@hcengineering/view'
import {
ActionContext,
List,
ListSelectionProvider,
SelectDirection,
selectionStore
} from '@hcengineering/view-resources'
import { List, ListSelectionProvider, SelectDirection, selectionStore } from '@hcengineering/view-resources'
import tracker from '../../../plugin'
import { ActionContext } from '@hcengineering/presentation'
export let query: DocumentQuery<Issue> | undefined = undefined
export let issues: Issue[] | undefined = undefined