Commit Graph

94 Commits

Author SHA1 Message Date
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
charlie
4738e33555 Merge branch 'master' into feat/db 2024-02-08 15:15:15 +08:00
charlie
8d4f77b1d2 feat(ui): support more dots-button action menu for the favorites/recent pages 2024-02-08 11:39:50 +08:00
Gabriel Horner
59456464f3 enhance: make loading indicator noticeable for publishing
publishing apps can take awhile to load so we want the loading
to be obvious, not muted
2024-02-07 15:23:13 -05:00
Tienson Qin
7e8ab72494 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-07 04:07:40 +08:00
Tienson Qin
140287e3ea perf: don't load properties and classes for initial data
This commit also fixed the issue that some pages such as "Status" will
be shown as lower cased.
2024-02-07 03:45:35 +08:00
charlie
cb4a6701dd Merge branch 'master' into feat/db 2024-02-06 14:13:57 +08:00
Tienson Qin
fa9d5fac1e Load whole data for shorter pages 2024-02-03 19:02:25 +08:00
rcmerci
0b52f8ad58 enhance: make ui reactive when favorites updated 2024-01-31 23:51:24 +08:00
rcmerci
c93c8b8c3e refactor: reorder favorites 2024-01-26 16:56:19 +08:00
rcmerci
5bcd671db1 enhance: add fn get-favorites 2024-01-25 19:40:28 +08:00
rcmerci
7d54918ca6 enhance: replace favorite related fns 2024-01-25 19:40:28 +08:00
charlie
201b34a089 fix: remove unused bindings 2024-01-22 18:43:48 +08:00
charlie
8f0c4faec7 enhance(ui): polish the non-accent colors 2024-01-22 18:41:55 +08:00
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Tienson Qin
4236ade600 fix: whiteboard issues 2024-01-11 01:38:06 +08:00
charlie
bc8d773a70 enhance(ui): animation for the context menu 2024-01-09 10:52:33 +08:00