rcmerci
e864d4a8a2
fix: lint
2024-06-18 22:06:05 +08:00
rcmerci
8588e6d8b2
enhance(rtc): update online-users in debug-ui
2024-06-18 22:05:12 +08:00
Tienson Qin
c3f30a9dc9
fix: lint
2024-06-18 21:37:12 +08:00
Tienson Qin
a3e651bfde
Revert "chore: remove :editor/deleting-block"
...
This reverts commit 7ea67854dc
.
2024-06-18 21:35:24 +08:00
Tienson Qin
b66a3b8e2c
Add missing ns
2024-06-18 21:22:07 +08:00
rcmerci
b5b28a6563
enhance(rtc): add :rtc/log in state, and update debug-ui
2024-06-18 21:20:31 +08:00
rcmerci
a11e291e03
chore: lint
2024-06-18 21:20:21 +08:00
Tienson Qin
b9fc96e3dd
fix: new typing chars are not saved after Enter pressed
...
This happens when writing fast or on an old device, the reason is that
the user can still write something after Enter pressed and before the
data is transacted and UI refreshed.
2024-06-18 21:16:27 +08:00
Tienson Qin
082bdc1664
fix: undo/redo
2024-06-18 17:04:07 +08:00
Tienson Qin
1ea1733ad6
fix: make sure edit-block-f exists before calling it
2024-06-18 16:31:36 +08:00
Tienson Qin
7ea67854dc
chore: remove :editor/deleting-block
...
This can result in an empty size error for virtualized list
2024-06-18 16:19:17 +08:00
charlie
2b37b4fe12
fix(ux): editing mode can't exit when choose code block lang
2024-06-18 15:10:46 +08:00
Tienson Qin
a39f19c976
fix: ESC doesn't exit editor after page autocomplete
2024-06-18 05:32:44 +08:00
Tienson Qin
0bd6c05e69
refactor: add page outliner ops
...
The rule is to avoid calling worker modules from UI, all db
transactions should go through apply-outliner-ops.
2024-06-18 05:21:00 +08:00
Gabriel Horner
3c9c4b3f79
fix: db graph test tasks should have correct class
2024-06-17 13:51:11 -04:00
Tienson Qin
ec1ac54b5f
fix: edit an empty page for file and db graphs
2024-06-18 00:03:08 +08:00
Gabriel Horner
5f1d87eb26
dev: add examples of :object in properties graph
...
uncovers a bug in :object-many ui
2024-06-17 10:58:35 -04:00
Gabriel Horner
3418ee3093
fix: frontend lint
2024-06-17 10:54:27 -04:00
rcmerci
51a599060f
chore: prn bad data when coerce failed
2024-06-17 22:20:42 +08:00
Gabriel Horner
883c5e83ed
fix: remove outdated use of db properties for a file graph fn
2024-06-17 10:19:47 -04:00
Tienson Qin
2252b73d8d
fix: virtual list empty data warning
2024-06-17 22:17:09 +08:00
Tienson Qin
915ee5d67a
enhance: words
2024-06-17 22:12:20 +08:00
Tienson Qin
9cc4f43ad1
fix: lint
2024-06-17 21:47:44 +08:00
Tienson Qin
516c47c853
fix: remove unused code
2024-06-17 21:45:56 +08:00
Tienson Qin
4e376cd67d
fix: can't focus on the new inserted block because of virtualization
2024-06-17 20:46:22 +08:00
Tienson Qin
2cacb11422
perf: virtualized page references
2024-06-17 20:34:02 +08:00
charlie
5b0ed592f0
fix(ux): sometimes the block children can't be collapsed
2024-06-17 17:54:19 +08:00
Tienson Qin
5b6e37a9f3
fix: add missing react component key
2024-06-17 17:37:01 +08:00
Tienson Qin
ee6abdc78a
fix: don't trigger property shortcuts when editing
2024-06-17 16:54:43 +08:00
Tienson Qin
500245fb95
Simplify editor on-hide implementation
2024-06-17 16:48:42 +08:00
charlie
939bdc9b74
fix(ui): alignments for the bullet whithin the heading block
2024-06-17 15:41:14 +08:00
Tienson Qin
b67035bc9b
fix: lost editor cursor when pressing Enter to undent
2024-06-17 15:34:23 +08:00
Tienson Qin
39c4a160c2
fix: don't virtualize children blocks for now
2024-06-17 14:45:13 +08:00
Tienson Qin
3279ea9fc0
perf: virtualize top-level blocks
...
We still need to virtualize all the nested blocks to improve the
performance.
2024-06-17 14:32:12 +08:00
charlie
5e8e3edc5d
enhance(ui): refactor the classic modals with the shui dialog
2024-06-17 13:27:20 +08:00
charlie
0d2dd28bba
enhance(ui): refactor the diff modal with the shui dialog component
2024-06-17 11:31:11 +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
0b74de4f83
enhance: load less journals
2024-06-17 09:33:12 +08:00
Tienson Qin
2ba01c7cef
perf: use virtualized list instead of our own ui/infinite-list
...
The benefits are:
1. less journals to render, so less memory, faster editor experience
2. our old implementation is buggy in some platforms
2024-06-17 09:25:33 +08:00
Tienson Qin
a9b84a5614
fix: template properties display cutoff
...
Fixes LOG-3144
2024-06-17 08:19:03 +08:00
rcmerci
9ab79bfe38
enhance(rtc): validate graph skeleton data when start-rtc
2024-06-16 19:44:05 +08:00
charlie
e6809fb497
fix(ui): sometimes the notification popup not close automatically
2024-06-16 18:06:40 +08:00
charlie
32f755bb09
fix(ui): incorrect behavior for the making template input within the block context menu
2024-06-16 17:26:10 +08:00
Tienson Qin
a12fbfefc8
chore: remove unnecessary file content compare
2024-06-16 11:23:44 +08:00
Tienson Qin
96be194de5
Refactor: use last modified time to decide if file has been changed
...
Previously, we're using file content.
Fixes LOG-3161
2024-06-16 11:00:40 +08:00
Tienson Qin
8c88f16a75
fix: tests
2024-06-15 23:23:12 +08:00
Tienson Qin
54e54ebd63
fix: get-pid not works for non-built-in properties in file graphs
2024-06-15 23:20:13 +08:00
Tienson Qin
b294896f8a
fix: reuse page uuids when parsing files
...
This commit also removes `with-id?` because it's too confusing.
Fixes LOG-3143
2024-06-15 22:52:30 +08:00
Tienson Qin
4281274512
fix: graph parser tests
2024-06-15 21:08:25 +08:00
Gabriel Horner
244a86557f
chore: rename :property/value to :property.value/content
...
property-value is widely being used to refer to the entity or value
associated with a property entity. Naming the content of a
property-entity :property/value is confusing. property-value content is
a unique name and consistent with :block/content. Also rename related
fns which had similarly confusing names
2024-06-14 18:11:20 -04:00