Gabriel Horner
2fad540d01
chore: cleanup setting :many property values
...
and validating them. Setting :many property values was spread
across fns, hard to understand and needlessly validating differently.
Removed type inferring for :many as it's not possible to do this from
the UI
2024-04-22 16:30:53 -04:00
Gabriel Horner
b20cc9ddf3
chore: add long flags on new long running tests
2024-04-22 15:24:49 -04:00
Gabriel Horner
71f01b1115
fix: load user defined closed values
...
they aren't lazy loaded by the UI
2024-04-22 14:16:04 -04:00
Tienson Qin
a66210840e
fix: don't show empty input block when loading app
2024-04-23 00:42:18 +08:00
Tienson Qin
912ddd6ca2
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-22 23:57:57 +08:00
Tienson Qin
a15066c862
perf: db reload
...
Load as less pages && closed values as we can to avoid loading too
much data.
We already know that transacting db attributes is slow, going to
investigate it later.
2024-04-22 23:48:40 +08:00
Gabriel Horner
543677ef32
fix: outliner lint
2024-04-22 11:14:14 -04:00
Gabriel Horner
0bee9b12c0
fix: frontend lints and remove dead code
2024-04-22 11:10:16 -04:00
Gabriel Horner
1b66755876
fix: outliner lint
2024-04-22 10:50:37 -04:00
Gabriel Horner
b09031579e
fix: remove outdated code which was causing circular deps in db dep
2024-04-22 10:41:00 -04:00
charlie
52bc99738a
refactor(ui): refactor all of the classical datepicker codes with the shui calendar
2024-04-22 17:24:27 +08:00
charlie
d71e0163c4
Merge branch 'master' into feat/db
2024-04-22 14:24:48 +08:00
charlie
1017f90633
enhance(ui): refactor the schedule inline date editor with the shui popup
2024-04-22 14:23:59 +08:00
charlie
239590d205
fix(ux): the shui date picker for the schedule editor
2024-04-22 12:12:10 +08:00
Tienson Qin
d88dcd0fd4
fix: remvoe frontend.util usage from worker
2024-04-22 10:12:36 +08:00
Tienson Qin
6b3a9f4f4c
fix: don't use frontend.util in worker
2024-04-22 09:27:52 +08:00
Tienson Qin
1cd1914d1d
Enhance: show generated db's directory in the create graph script
2024-04-22 09:24:03 +08:00
Tienson Qin
1e835d2b98
fix: undo redo tests
2024-04-22 09:08:22 +08:00
Tienson Qin
4a0736f62b
fix: property unit tests
2024-04-22 08:50:51 +08:00
Tienson Qin
0afeb2c766
fix: more property-related tests
2024-04-21 15:22:17 +08:00
Tienson Qin
5a595b1626
fix: property tests
2024-04-21 15:19:38 +08:00
Tienson Qin
9c93152fd6
fix: closed values test
2024-04-21 14:54:43 +08:00
Tienson Qin
d92a3257b0
fix: don't run pipeline again for replace tx
2024-04-21 14:35:48 +08:00
Tienson Qin
44af2213ce
Merge branch 'feat/db' into refactor/db-properties-schema
2024-04-21 13:22:37 +08:00
Gabriel Horner
8f411fad42
enhance: allow user properties with other namespaces
...
to allow for imported properties to have a different namespace than the
one the editor generates. Update schema example graph which now imports
properties as :schema.property/X
2024-04-19 16:54:06 -04:00
Gabriel Horner
622cbe0410
fix: :string property values weren't editable
2024-04-19 14:13:09 -04:00
Gabriel Horner
311cd13e1f
enhance: closed value membership validated everywhere
...
Frontend and lower-level validation now validate the same.
Also simplified metadata injection
2024-04-19 14:10:16 -04:00
Gabriel Horner
38672f270e
fix: class ancestor links
2024-04-19 11:36:54 -04:00
charlie
305255d4c7
fix: WIP lint warning
2024-04-19 23:22:49 +08:00
Gabriel Horner
449d4d3600
fix: generate schema graph with new properties
...
Also remove unused bindings and basic validation to graph creation
2024-04-19 10:45:30 -04:00
Tienson Qin
b1bc1ca88a
chore: remove debug
2024-04-19 20:17:53 +08:00
Tienson Qin
20006eafa8
fix: update :block/page when moving between pages
2024-04-19 20:16:39 +08:00
Tienson Qin
113ff4e669
fix: can't move blocks to empty page
2024-04-19 19:54:11 +08:00
rcmerci
cccb4fcb0b
fix: :batch/txs should be vector not nil
2024-04-19 19:47:22 +08:00
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