Commit Graph

16287 Commits

Author SHA1 Message Date
Tienson Qin
f16e972709 fix: wrong pos when pressing Backspace
Editor's state including last pos and cursor range need to be cleared
when callling block-handler/edit-block!
2024-06-21 18:29:48 +08:00
Tienson Qin
797b13ac78 fix: lint and test 2024-06-21 18:09:20 +08:00
Tienson Qin
1c15e51170 fix: references/unlinked refs blink when creating a new block
This commit removes the performance hack for async creating and
deleting block.
2024-06-21 17:46:17 +08:00
charlie
1a9ad96ad9 chore(ui): update shui demo 2024-06-21 16:22:25 +08:00
charlie
f1f7d6810b enhance(ui): theme-related components 2024-06-21 16:21:22 +08:00
Tienson Qin
30230b38ca fix: test 2024-06-21 14:04:42 +08:00
charlie
37cff08d4a fix(ui): incorrect behavior for the shui tooltip within popups trigger 2024-06-21 14:02:25 +08:00
charlie
4c9e117062 enhance(ui): polish query container 2024-06-21 13:41:10 +08:00
rcmerci
d8fb876917 fix(rtc): remote-t update position 2024-06-21 13:02:21 +08:00
rcmerci
420fe6edc9 enhance(rtc): add :local-tx :remote-tx for rtc-state map 2024-06-21 13:00:51 +08:00
Tienson Qin
b0c03b0003 fix: tests 2024-06-21 12:50:29 +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
9b86ff649f enhance: show tooltip for positioned porperties 2024-06-21 11:55:38 +08:00
rcmerci
58bb273d8f enhance(rtc): indicator update 2024-06-21 11:50:25 +08:00
Tienson Qin
0b38900d70 fix: blocks->vec-tree 2024-06-21 11:31:52 +08:00
Tienson Qin
194f7b7a41 fix: /calc 2024-06-21 11:17:24 +08:00
Tienson Qin
bd95e38e09 fix: copy paste nested blocks
Related to LOG-3160
2024-06-21 11:03:04 +08:00
charlie
73757c0f21 enhance(api): enhancements & types 2024-06-21 09:57:05 +08:00
Tienson Qin
90d4c8a334 enhance: sync indicator 2024-06-20 22:58:08 +08:00
rcmerci
779b085beb enhance(rtc): create pending-local-ops-flow 2024-06-20 22:16:19 +08:00
Tienson Qin
16689299c2 fix: listen to db changes after initial data transacted 2024-06-20 21:51:40 +08:00
charlie
9a17933790 fix(ui): better font size for the rtc members modal 2024-06-20 21:22:47 +08:00
Gabriel Horner
d4a323805d fix: deps lints 2024-06-20 09:14:59 -04:00
Tienson Qin
2a3f9d40b4 fix: lint 2024-06-20 21:04:23 +08:00
Tienson Qin
74a077668c fix: add missing malli schema for :file/size 2024-06-20 20:55:57 +08:00
Tienson Qin
dec56b31f0 chore: remove unused :file/handle 2024-06-20 20:53:15 +08:00
rcmerci
be41c8bae7 chore: add some comments 2024-06-20 17:01:58 +08:00
rcmerci
dc785a92a7 refactor: make journal-day page's uuid like this
00000001-2024-0620-0000-000000000000
2024-06-20 17:01:58 +08:00
Tienson Qin
62a2564f4d fix: add missing file/created-at attribute for db graphs 2024-06-20 16:57:38 +08:00
Tienson Qin
519f3cab3f fix: don't focus for :many property 2024-06-20 16:45:21 +08:00
Tienson Qin
396f49ecf3 enhance: focus on editor after setting a block property 2024-06-20 16:27:05 +08:00
Tienson Qin
5d61a43b5b fix: listen to ESC for the editor itself 2024-06-20 16:21:56 +08:00
charlie
8a970b552d enhance(ux): block editor blinking for the highlight mark content 2024-06-20 16:06:34 +08:00
charlie
d4bb765616 enhance(api): enhance page-related APIs for the DB graph 2024-06-20 15:58:48 +08:00
rcmerci
5fbff9ff8d enhance(rtc): update info in rtc indicator 2024-06-20 13:05:43 +08:00
Gabriel Horner
eae2156f6c chore: move and add create-property-text-block tests 2024-06-19 23:01:44 -04:00
Gabriel Horner
c23513eaa8 fix: non :default property reuses existing entities
Also add tests for this and a common set-block-property case
2024-06-19 22:17:03 -04:00
Tienson Qin
626e0b67e8 fix: store latest file stat
Fixes LOG-3143
2024-06-20 09:22:35 +08:00
Tienson Qin
adae8ef5eb fix: get-block-and-children returns sorted blocks
Fix unit tests
2024-06-20 07:56:30 +08:00
Tienson Qin
77f79709dc fix: undo redo paste blocks 2024-06-20 06:48:46 +08:00
Tienson Qin
de7e650246 fix: click to edit doesn't focus on the new created block
Fixes LOG-3166
2024-06-20 06:31:18 +08:00
Gabriel Horner
b35f30e203 fix: circular dependency between outliner and frontend
by moving batch-tx into outliner dep. Outliner dep is
now fully independent and we are able to write unit tests
for all outliner namespaces unlike before
2024-06-19 17:21:22 -04:00
Gabriel Horner
7b787a8fb2 fix: db lint 2024-06-19 14:39:39 -04:00
Tienson Qin
b1d4fb3b81 fix: save block when editor unmounts is dangerous
The block content will be overwritten in those cases:
1. deleting a block
2. paste blocks to an empty target block
3. undo/redo
2024-06-20 00:55:05 +08:00
Tienson Qin
71dc122a75 fix: copy block properties doesn't work
Fixes LOG-3160
2024-06-20 00:39:08 +08:00
Tienson Qin
148a05597b fix: /query doesn't enter text
fixes LOG-3165

The editor will be saved in these cases:
1. click outside the editor
2. press `ESC`
3. clear-edit! called

Previously, 3 may not be saved.
2024-06-19 23:51:02 +08:00
Gabriel Horner
3a194d521b fix lint by splitting large var 2024-06-19 10:50:06 -04:00
Gabriel Horner
9433bd9c13 fix: task and priority selections in query builder 2024-06-19 10:41:31 -04:00
Gabriel Horner
3333e95d27 fix: properties graph incorrectly generating :object-many case
fixes LOG-3162
2024-06-19 09:26:00 -04:00
rcmerci
0bb8db1b0e refactor(rtc): extract log related fns to a separate namespace 2024-06-19 21:23:17 +08:00