Commit Graph

207 Commits

Author SHA1 Message Date
charlie
52bc99738a refactor(ui): refactor all of the classical datepicker codes with the shui calendar 2024-04-22 17:24:27 +08:00
Tienson Qin
a02f94e5c1 fix: some shortcuts not working on Chrome 2024-04-17 18:57:27 +08:00
Tienson Qin
37d6196000 chore: remove old history implementation 2024-04-10 15:43:49 +08:00
Tienson Qin
d3b4d0087b enhance: ace-jump like 2024-03-12 17:43:43 +08:00
charlie
36ff5513f7 enhance(ux): add property jump to the shortcuts 2024-03-04 13:31:16 +08:00
Tienson Qin
623043d363 enhance: j jump to a property key or value (selection mode)
We can support jump to any block in the future.
More enhancements need to be done including:
1. still focus on the block or property key/value after any property
operation
2. up/down/left/right support maybe?
2024-02-28 21:34:09 +08:00
Tienson Qin
f5f38800c4 enhance: mod+p works for both editing and non-editing mode
The first selected block will be choosed in a non-editing mode,
we can improve this to choose the hovering block in the future.
2024-02-28 18:38:37 +08:00
Gabriel Horner
e4587f8259 Merge branch 'master' into feat/db 2024-02-21 08:17:31 -05:00
Topher Hunt
2bbd1bfc53 feature: new keybinding for "toggle expand/collapse this block"
Fixes issue https://github.com/logseq/logseq/issues/9676
Binds to mod + ; by default.
2024-02-20 17:27:08 +08:00
charlie
bcd81c3ec9 fix: missing accent color picker 2024-02-06 15:04:57 +08:00
charlie
1feca176aa fix: config.cljs 2024-02-06 14:46:06 +08:00
charlie
5d6891b456 enhance(ui): toggle accent colors picker modal 2024-01-30 20:54:41 +08:00
charlie
388e9f33fc enhance(ui): polish the non-accent colors 2024-01-23 16:36:45 +08:00
charlie
8f0c4faec7 enhance(ui): polish the non-accent colors 2024-01-22 18:41:55 +08:00
Konstantinos Kaloutas
6e67df9e37 add shortcuts and fix naming 2023-12-14 14:42:03 -05:00
Charlie
036df25a17 Enhance: plugin APIs (#10399)
* enhance(plugin): call apis with the sdk ns

* enhance(plugin): types

* enhance(api): get value from the computed style

* enhance(api): types

* enhance(plugin): types

* enhance(plugin): types

* fix: lint

* fix(apis): incorrect shortcut command registion for block editing mode #10392

* fix(api): types

* enhance(apis): support register shortcuts with multi binding vals

* fix(plugins): normalize command key to make the internal keyword legal

* chore(plugin): build libs core

* chore(plugin): bump version

* enhance(apis): normalize apis cljs data

* chore(plugin): update libs user sdk

* chore(plugin): CHANGELOG.md

* fix: typo

* fix(ux): support querying plugins with right space chars
2023-12-13 15:42:21 +08:00
Tienson Qin
e0c7ff0ba3 fix: keep one command for toggle cards 2023-11-12 21:49:41 +08:00
Tienson Qin
34fd9d20fa enhance: show cmdk in the basic shortcut group 2023-11-12 20:59:44 +08:00
Tienson Qin
aacef8e94c Add shortcuts for search only commands && current page 2023-11-12 15:07:00 +08:00
Tienson Qin
b91fd4e6c8 Remove old cmdk && command palette 2023-11-06 15:25:35 +08:00
charlie
c8b564bc40 fix(shortcuts): conflicts 2023-10-19 21:22:51 +08:00
Ben Yorke
69e02edaeb Merge branch 'master' into feat/cmdk 2023-10-16 21:02:12 +02:00
charlie
9ca6e7896d fix(shortcut): render crash when edit disabled binding item 2023-10-14 00:59:36 +08:00
charlie
dd246229b7 enhance(shortcuts): incorrect default internal binding state 2023-10-14 00:59:36 +08:00
Konstantinos Kaloutas
a15daea979 fix: close window while editing 2023-10-09 21:53:37 +08:00
Ben Yorke
246e904457 cmdk2 updates 2023-09-15 13:30:51 +02:00
Konstantinos
89a489571f Enhance: Introduce customizable close window shortcut (#10190)
* add close window shortcut

* suppress build warnings

* add window ns docstring
2023-09-14 22:23:03 +08:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02: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
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
charlie
0dea777558 Merge branch 'master' into enhance/keymaps-manager-x 2023-05-19 10:20:20 +08:00
Gabriel Horner
514b5faf6e Refactor and simplify dicts
- frontend.dicts encapsulates dicts behavior for all other namespaces
- Each dict ns only has one var which prepares us
- No longer need shortcut.dicts
- Fix remaining lints that were broken
- Also bring back frontend.dicts
- Update guide
- Add a false binding to :editor/toggle-undo-redo-mode which throws a
  needless warning
2023-05-18 18:13:50 -04:00
Avelino
e55f0fc331 shortcut/config: use default dicts (EN)
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Avelino
1d14f6a98f centralize translation dictionary
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
Avelino
a2d1f65c2f shortcut/i18n: isolate package languages
Signed-off-by: Avelino <avelinorun@gmail.com>
2023-05-18 18:05:22 -04:00
charlie
7d5f4e62c1 enhance(shortcuts): expose shortcut cmd map from the pallette cmd to display more information for plugin shortcut col 2023-05-15 11:32:47 +08:00
charlie
82c36b7dea enhance(shortcuts): plugins shortcuts tables 2023-05-11 15:59:10 +08:00
charlie
535f64b495 Merge branch 'master' into enhance/keymaps-manager-x 2023-05-10 10:12:17 +08:00
Konstantinos
5885bc86b6 Enhance (Whiteboards): Add prefix to default keyboard shortcuts (#9340)
* enhance: keyboard shortcuts

* fix: portal shortcut

* fix: e2e tests

* fix: e2e

* enhance: keyboard shortcuts
2023-05-09 12:38:00 -04:00
charlie
c4c9be91e8 fix(plugin): normalize plugin keybindings to adapt for the closure lib legal keynames 2023-05-08 17:17:31 +08:00
charlie
9f36b74224 Merge branch 'master' into enhance/keymaps-manager-x 2023-05-05 16:57:13 +08:00
charlie
602e0231ea enhance(ux): support the keymap manager within modal container 2023-05-05 13:06:46 +08:00
charlie
f73d964899 Merge branch 'master' into feat/custom-children-list-style 2023-05-04 10:35:07 +08:00
Konstantinos Kaloutas
e912577610 fix externs 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
736877d5c3 enhance: new whiteboard shortcut category 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
00be5edb4c chore: handle tool shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
dd9eb3a4e2 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
96aed148b4 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
9a89def497 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
charlie
f727f6fc8e Merge branch 'master' into feat/custom-children-list-style 2023-05-01 09:49:14 +08:00