Commit Graph

15 Commits

Author SHA1 Message Date
Charlie
43c8e1cb38 Revert "feat(pdf): add zoom via touchpad (#10435)"
This reverts commit 89cd619a34.
2023-11-01 21:11:34 +08:00
CorrectRoadH
89cd619a34 feat(pdf): add zoom via touchpad (#10435)
* feat(pdf): add zoom by touchpad
* feat: reduce the debounce
2023-11-01 02:17:44 +08:00
Charlie
6751e28c30 feat(pdf): add toggle option for the feature of auto opening the highlight context menu from new text selection (#10390)
* enhance(pdf): add auto open context menu option for new highlight selection
* refactor(pdf): improve code readability
* chore(pdf): i18n
2023-10-24 22:20:22 +08:00
charlie
1c1a07db4e fix(pdf): missing the initial ref highlight block sometimes 2023-10-11 17:35:33 +09:00
jionkitten
dd28710a9b fix(pdf): too frequent highlights saving 2023-09-21 10:11:27 +09:00
Charlie
6d6da2046c Enhance/shortcuts (#9803)
* refactor(shortcuts): simplify to build handler category map

* fix(shortcuts): redundant re-mount for the pdf shortcuts

* refactor(shortcuts): simplify names

* refactor(shortcuts): simplify user keynames

* fix(shortcuts): persist inited state for dev mode

* refactor(shortcuts): simplify handlers installation

* refactor(shortcuts): optimize shortcuts mixin

* fix: incorrect function ref

* refactor(shortcuts): shortcuts mixin

* fix(shortcuts): incorrect initialization for the pdf shortcut handler

* refactor(shortcuts): optimize binding keys map

* refactor(shortcuts): optimize shortcuts conflicts detection

* refactor(shortcuts): optimize binding ids map

* refactor(shortcuts): WIP the new keymap page

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP fuzzy search for the shortcuts

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP check shortcut conflicts component

* feat(shortcuts): WIP the new shorcuts record component

* refactor(shortcuts): WIP persist user shortcuts

* fix(shortcuts): detection for the conflicts

* feat(shortcuts): WIP detection for the conflicts

* feat(shortcuts): WIP persist user shortcuts

* refactor(shortcuts): add unit tests

* enhance(ux): search pane for the shortcuts

* feat(shortcuts): remove the existent shortcut item

* feat(shortcuts): fold/unfold categories

* feat(shortcuts): add shortcuts filters

* enhance(shortcuts): resove binding map description

* enhance(shortcuts): reactive category shortcuts

* enhance(shortcuts): register api for plugins

* feat(shortcuts): add keyboard shortcuts filters

* feat(shortcuts): impl keyboard shortcuts filters

* enhance(shortcuts): leader keys for the shortcut conflicts detection

* enhance(tests): leader keys conflicts for the shortucts

* enhance(shortcuts): parse conflicts from current binding list

* enhance(ui): polish the component of the restore shortcut action

* enhance(shortcuts): get conflicts with specific handler id

* enhance(shortcuts): polish the confilts component

* enhance(shortcuts): polish keymap conflicts component

* enhance(shortcuts): ux for handling shorcuts conflicts

* enhance(ui): polish notifications cp

* fix(shortcuts): remove reduplicate shortcuts for category

* enhance(shortcuts): polish ux for handling shorcuts conflicts

* chore(plugin): build libs core

* enhance(plugin): support shortcut command lifecycle hooks

* enhance(plugin): support shortcut command lifecycle hooks

* chore(plugin): build libs core

* enhance(shortcuts): support shortcuts saved to global config

* enhance(shortcuts): support shortcuts be saved to global config

* feat(shortcuts): support keymap manager to global settings

* enhance(shortcuts): shortcut to open keymap settings

* fix(units): tests

* fix: lints

* enhance(shortcuts): unlisten all shortcuts

* fix: lints

* fix: lints

* fix(units): tests

* fix(units): tests

* fix(units): tests

* enhance(shortcuts): unlisten/listen all shortcuts

* enhance(shortcuts): polish conflicts component

* fix(ui): modal size

* fix(ui): modal panel container

* enhance(shortcuts): i18n

* enhance(ui): layout of the shortcuts recorder component

* fix(lint): i18n

* enhance(ui): keyboard icon for the keymap settings tab

* fix(shortcuts): incorrect filters for the collaspsed shortcuts

* enhance(ui): polish details for the keymap settings

* enhance(ui): polish details for the keymap settings

* fix(shortcuts): get shortcut description error when the associated handler-id not exist

* fix(ui): the shortcut disabled label overlaps with section headers.

* refactor(shortcuts): names

* enhance(ui): filter icons
2023-08-29 19:33:48 +08:00
charlie
e04aaf219a fix(pdf): incorrect path of pdfjs cmaps resources 2023-08-23 17:25:47 +08:00
charlie
90bbd03c45 enhance(pdf): remove password model close fn state 2023-08-21 23:48:38 +08:00
Andelf
29188f90a6 enhance(pdf): pdf password input modal
Close #10033
2023-08-21 23:48:38 +08:00
charlie
401078ab18 fix(pdf): incorrect highlights state when update hlighlight. related #9900 2023-08-01 21:14:51 +08:00
charlie
96b9b9e4f3 enhance(ux): dom element as restrict container 2023-05-29 14:40:25 +08:00
charlie
5074d36d09 enhance(ux): resize restriction for the area highlight region 2023-05-29 14:40:25 +08:00
Tienson Qin
bc635eaf4b fix: internal blocks paste 2023-03-29 18:41:04 +08:00
charlie
22dfa621e4 enhance(pdf): UI lag for the case of large highlights data 2023-03-09 09:15:33 +08:00
Charlie
55b5149f4a Enhance/pdf enhancements (#8616)
- Improve interactions about the popup modal from the PDF viewer toolbar
- Persist highlights data with multiple-lines text format (for friendly Git diff)
- Blink the text highlight when scrolling to position
- Open the PDF viewer in the system Window
2023-02-20 15:58:43 +08:00