Tienson Qin
d5e96a1e9f
fix: lint
2024-07-05 15:27:32 +08:00
charlie
d4e8f1d90c
enhance(ux): management for the property shortcuts in the global shortcuts module
2024-07-04 18:14:58 +08:00
Tienson Qin
998b991172
fix: property shortcut not works always
2024-06-24 14:35:48 +08:00
Tienson Qin
89efb99b71
fix: enable property shortcut only if a block has been selected
2024-06-21 12:09:11 +08:00
Tienson Qin
ee6abdc78a
fix: don't trigger property shortcuts when editing
2024-06-17 16:54:43 +08:00
charlie
f57c4985b9
fix(ui): alignments for the cloud icon within the repos trigger container
2024-06-17 11:05:10 +08:00
Tienson Qin
662679fae7
chore: disable flashcards for db graphs for now
2024-06-03 16:03:07 +08:00
Tienson Qin
b9b2c0fb88
fix: jump to the wrong position when there're selected blocks
2024-06-03 14:21:07 +08:00
Tienson Qin
3789d20344
fix: ESC should keep ;;
2024-06-01 21:37:55 +08:00
Tienson Qin
ee114af41c
fix: don't show property dialog if matched with other shortcuts
2024-05-28 14:41:18 +08:00
Tienson Qin
2b41fd1654
fix: can't use property shortcuts on pages
2024-05-28 02:24:09 +08:00
Tienson Qin
9389eb8993
fix: don't clear selection when the last dialog is for property
2024-05-28 02:22:10 +08:00
Tienson Qin
8de8377d4b
fix: disable shortcut property when property dialog is opened
2024-05-27 23:03:24 +08:00
Tienson Qin
89cc97a150
fix: disable property shortcut in jump mode
2024-05-27 20:39:04 +08:00
Tienson Qin
a232e11107
fix: ignore input when use properties with shortcuts
2024-05-27 20:20:38 +08:00
Tienson Qin
6ced3bff8f
enhance: property editing support shortcut
2024-05-27 20:08:43 +08:00
Tienson Qin
e6002d43c9
enhance: mod+p to add/edit property
2024-05-27 19:13:42 +08:00
charlie
685b78e2a0
fix(ux): invalid action for the block selection context menus
2024-05-21 11:26:59 +08:00
charlie
5b0051adef
enhance(ux): pointer down to trigger the hide context menu and block selections
2024-05-17 13:21:53 +08:00
Tienson Qin
db721ee3f6
enhance: clear selection before closing popup
2024-05-17 11:15:15 +08:00
charlie
cb6f977ed2
enhance(ux): clear block selections instantly before closing the block context menu
2024-05-17 10:19:16 +08:00
Tienson Qin
95eb0e7f4a
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-29 15:55:23 +08:00
charlie
d0866fe4de
enhance(ui): refactor the context menu with the shui dropdown menu items
2024-04-25 15:21:37 +08:00
Tienson Qin
e962797aba
enhance: use css to handle select-none instead of component state
2024-04-09 14:24:53 +08:00
Tienson Qin
9f9bfbc5e6
Merge branch 'feat/db' into refactor/db-remove-block-name-unique
2024-04-08 23:56:46 +08:00
Tienson Qin
2d5eb0f79f
enhance: editor experience
...
1. back to use container id + editing block id instead of block dom
ref to decide which block is in editing, to simplify edit-block! and
reduce browser gc.
2. set next editing block ahead of receiving the data changes from db
worker, so the editor feels a bit faster.
2024-04-08 21:10:12 +08:00
charlie
618f3bd107
Merge branch 'master' into feat/db
2024-04-08 19:00:51 +08:00
Andelf
85e65bd95e
fix: dead link, close #11205
2024-04-07 18:34:02 +08:00
Tienson Qin
5a3bbcddac
fix: lint warnings
2024-04-04 15:57:49 +08:00
Tienson Qin
1b32378884
more places to use db eid instead of page name
2024-04-04 15:57:49 +08:00
Tienson Qin
c018f1517d
perfer to use get-page instead of get-first-page-by-name
2024-04-04 15:57:48 +08:00
Tienson Qin
2c29cbd495
fix: favorites
2024-04-04 15:57:48 +08:00
Tienson Qin
86f540bb6b
fix: page url for whiteboards in recents
2024-04-04 15:57:48 +08:00
Tienson Qin
1f32893547
fix most issues on whiteboards
2024-04-04 15:57:48 +08:00
Tienson Qin
50e3ef5157
Handle more block/name lookup refs
2024-04-04 15:57:48 +08:00
Tienson Qin
96c9605b82
Recents store page db ids instead of uuids or page names
2024-04-04 15:57:48 +08:00
Tienson Qin
60d4fca0ba
wip: remove :block/name uniqueness for db based graphs
...
This PR also remove supports for:
1. merge pages when renaming a page to existing page
2. namespaces such as a/b/c
3. nested page such as [[a [[nested page]]]]
Pages merge might be added back depends on RTC, but it should be
decoupled from renaming, otherwise it's too complex.
Namespaces and nested pages have been contributed some critical bugs
that lead data-loss, they're so complex together with page alias,
it's just impossible to have a good test coverage and ensure the app
is stable, especially when page rename and RTC.
2024-04-04 15:57:48 +08:00
charlie
d896da3950
enhance(ui): polish the repos select
2024-03-29 10:25:44 +08:00
Gabriel Horner
62ff0d9d8b
fix more lints
2024-03-21 14:16:18 -04:00
Gabriel Horner
e3b67a9d9a
fix lints
2024-03-21 12:35:28 -04:00
charlie
6d9fc463c4
enhance(ui): refactor the global context menu
2024-03-18 18:24:30 +08:00
charlie
5cf8915f6e
enhance(ux): refactor the app context menu to the shui popup
2024-03-18 16:33:47 +08:00
charlie
d7d39b2401
enhance(ux): polish left sidebar context menu for the nav items
2024-03-18 15:58:19 +08:00
Tienson Qin
d3b4d0087b
enhance: ace-jump like
2024-03-12 17:43:43 +08:00
Tienson Qin
5efb1536c2
fix: replace all onmousedown/up with onpointerdown/up
...
onMouseDown can't be used in dropdown trigger
2024-03-12 15:50:27 +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
charlie
9f5104e590
refactor(ui): WIP refactor the perperty editor with the shui pupops
2024-02-23 14:48:25 +08:00
charlie
9ba3477838
Merge branch 'master' into feat/db
2024-02-13 10:55:11 +08:00
Andelf
03a7b15ff2
fix(config): wrong :command/toggle-favorite handling
...
Fix #10979
2024-02-11 12:21:48 +08:00
Tienson Qin
62b90b7ae7
Merge branch 'feat/db' into perf/lazy-load-data
2024-02-09 09:28:36 +08:00