rcmerci
bbe9e9d323
fix: fix tx-report when not in batch-tx-mode
2024-04-19 18:44:01 +08:00
rcmerci
97ef6cd37c
fix: merge batch/opts and tx-meta when pass to db-listeners
2024-04-19 18:27:19 +08:00
rcmerci
03246325b3
fix: empty transact to notify batch-tx exit
2024-04-19 18:08:29 +08:00
rcmerci
bffd1b5c8e
refactor: batch-tx
2024-04-19 17:48:48 +08:00
charlie
90a0d0d5f8
enhance(ui): polish the details for the plugins related cp
2024-04-19 17:21:38 +08:00
charlie
ed3ff5ac30
enhance(ui): refactor the nested DOM structure for the block title (head) wrap
2024-04-19 16:51:23 +08:00
Tienson Qin
e7e5994e70
fix: batch tx counter name
2024-04-19 16:15:17 +08:00
Tienson Qin
0085accf70
refactor: batch tx
...
outliner-tx/transact! now operates outliner op one by one instead of
batching processing, the benefit is that we can safely rely on the ops
order, it simplifies code a lot too.
2024-04-19 16:11:42 +08:00
Tienson Qin
08c5cc18d0
refactor: simplify outliner move blocks
...
The new implementation doesn't rely on insert-blocks, instead, it
will move the blocks one by one, but using batch tx.
2024-04-19 16:11:42 +08:00
charlie
afd76f24d4
fix(editor): error key for the block child cp
2024-04-19 16:11:02 +08:00
charlie
96a0d555c5
fix(ui): missing default colors for mark tag
2024-04-19 14:07:16 +08:00
rcmerci
7c348b0e93
chore: remove testcases' unused flag
2024-04-19 13:46:51 +08:00
rcmerci
2fa8e7a7a6
enhance(rtc): add ns frontend.worker.rtc.hash
2024-04-19 13:45:50 +08:00
charlie
5d51edd74e
enhance(ux): fix annoying page flickering when indenting the first children block bullet.
2024-04-19 11:36:31 +08:00
Gabriel Horner
27aca24199
fix: pages not displaying their page properties
...
on initial load. Page properties would only show up
after clicking on Configure which is confusing and made the initial
page load seem buggy
2024-04-18 16:07:53 -04:00
Gabriel Horner
0372cb6e62
fix: typing marker creates tasks e.g. DOING
2024-04-18 14:13:58 -04:00
Gabriel Horner
a30f2bd650
fix: render slides with new properties
2024-04-18 11:10:55 -04:00
Gabriel Horner
3f566b36de
fix: basic editing of background-image property
...
and other future :string properties
2024-04-18 10:48:26 -04:00
Tienson Qin
2db12d1b2b
enhance: better error messages for invalid block/left
2024-04-18 21:39:14 +08:00
Gabriel Horner
9bab096def
fix: built-in string properties with internal :string type
...
Also fix a bug that caused numbered list to fail after first item
2024-04-18 09:06:10 -04:00
Tienson Qin
ef8ca41f8c
fix: store db for debugging too for parent-left conflicts
2024-04-18 21:04:15 +08:00
Tienson Qin
f0920ac89b
fix: another case of non-consecutive blocks move
2024-04-18 20:42:26 +08:00
Tienson Qin
08f4fc2a63
fix: unit tests
2024-04-18 19:38:45 +08:00
Tienson Qin
0c988f12ce
Add test cases for moving blocks
2024-04-18 19:29:26 +08:00
Tienson Qin
40775e1f80
fix: move a child block to its parent's right sibling
2024-04-18 19:04:44 +08:00
Tienson Qin
26588775e9
Enable broken chain check for undo/redo test
2024-04-18 18:43:16 +08:00
Tienson Qin
2296eca383
chore: don't run fix non-consecutive when it's not needed
2024-04-18 18:43:16 +08:00
charlie
f8b4cb37aa
enhance(ui): polish alignment for the block title elements
2024-04-18 18:40:42 +08:00
rcmerci
47bd0bf706
test(undo): node-test check block-pos
2024-04-18 18:31:00 +08:00
rcmerci
6739518a44
test(undo): testcases to debug
2024-04-18 16:32:20 +08:00
Tienson Qin
24e1aab914
fix: skip computing :block/left for non-consecutive blocks
2024-04-18 15:24:47 +08:00
rcmerci
db0d7d0c1c
chore: remove debug try
2024-04-18 14:31:17 +08:00
Tienson Qin
ca197c439a
prn db transit if left/parent point to self detected
2024-04-18 14:24:53 +08:00
Tienson Qin
76248b4664
Add trace for debugging
2024-04-18 13:56:33 +08:00
Tienson Qin
9418607c50
Ensure :block/left and :block/parent not point to self
2024-04-18 13:52:05 +08:00
charlie
cf5a0e0bcf
enhance(dev): just once for the loaded theme event
2024-04-18 12:19:13 +08:00
Gabriel Horner
390892e524
fix: build all closed value property types correctly
...
Fixes building of :url and :number closed value properties which
affected properties graph and would effect future built-in properties.
Also simplify translation of property values by keeping it only
in create-graph namespaces
2024-04-17 15:52:55 -04:00
charlie
df046850cc
enhance(shui): fix custom dropdown trigger content for the :as-child option
2024-04-17 23:28:02 +08:00
Gabriel Horner
71aa3fed7b
fix and enhanced validation of property values
...
Fixed close value validation of url and number.
Enhanced :default, :page and :date types with stricter checks.
Closed values are now validated at the malli-schema level
2024-04-17 11:12:27 -04:00
Tienson Qin
330ec99063
fix: align property values and other blocks
2024-04-17 23:00:55 +08:00
Tienson Qin
2884fc7f52
fix: select of :default typed closed values
2024-04-17 22:53:15 +08:00
Tienson Qin
d4b2958af7
fix: add new closed value to :default type property
2024-04-17 21:18:00 +08:00
Tienson Qin
bcf0d5b7cf
fix: hide bullet only
2024-04-17 19:53:08 +08:00
Tienson Qin
36acf6096c
enhance: hide bullet when :default has only one child block
2024-04-17 19:48:26 +08:00
Tienson Qin
a02f94e5c1
fix: some shortcuts not working on Chrome
2024-04-17 18:57:27 +08:00
Tienson Qin
640f0c76e6
chore: increase undo redo gen ops
2024-04-17 18:07:39 +08:00
Tienson Qin
2a7e6accb0
refactor: force outliner.tree/-del to delete all children
...
Except the children have been moved.
2024-04-17 17:48:59 +08:00
rcmerci
ffb4bd5a8f
chore: update comment
2024-04-17 17:36:00 +08:00
rcmerci
6bce34524a
fix: check dep-cycle in sort-coll-by-dependency
2024-04-17 17:31:54 +08:00
rcmerci
3283a2eb73
refactor(undo): simplified fn other-children-exist?
2024-04-17 16:41:18 +08:00