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
Tienson Qin
0cd9394340
chore: revert property layout to grid-cols-5
2024-06-19 19:09:14 +08:00
rcmerci
41e23d7bcb
enhance(rtc): add rtc related log-flows
2024-06-19 18:49:03 +08:00
Tienson Qin
563cf11bc8
enhance: Press esc once to exit property input
2024-06-19 18:47:32 +08:00
Tienson Qin
12e4b30c51
fix: skip display new property type after saving the schema
...
This avoids UI flickering.
2024-06-19 18:07:44 +08:00
Tienson Qin
5ccb0cc11e
fix: press Enter when creating a property will insert a block
2024-06-19 17:36:28 +08:00
Tienson Qin
8f530f2dde
fix: :object :many properties provide incorrect dropdown values
...
fixes LOG-3162
2024-06-19 17:23:42 +08:00
charlie
0bd0f64e43
enhance(ui): polish the details for the property popups
2024-06-19 17:20:10 +08:00
Tienson Qin
7d4ed01905
fix: backspace deletes block properties
...
fixes LOG-3135
2024-06-19 16:14:06 +08:00
Tienson Qin
d08102444d
perf: no need to clear-edit! when editing new block
2024-06-19 15:39:05 +08:00
Gabriel Horner
02160042fb
fix: regression with slides
...
61b158fd7f
had regressed
on property names and slides were no longer found
2024-06-18 16:29:46 -04:00
Gabriel Horner
16248f0bd2
fix: unable to build :default property for sqlite.build
...
Also add tests for different built-in cases and addressed
related TODO
2024-06-18 16:29:01 -04:00
Tienson Qin
edb3dcd38d
perf: avoid computing refs when editing blocks
2024-06-19 02:45:54 +08:00
Tienson Qin
657bdad22b
fix: blocks below the current editing block re-rendered
...
We need to specify `compute-item-key` to not re-render React components.
2024-06-19 02:24:26 +08:00
Gabriel Horner
88beb6114c
fix: query table not showing public built-ins like status and tags
2024-06-18 13:08:17 -04:00
Tienson Qin
32ac70f851
fix: can't type anything after press Enter
2024-06-19 01:07:24 +08:00
Gabriel Horner
de730e236a
fix: outliner lint
2024-06-18 11:03:55 -04:00
Gabriel Horner
04e35d3b01
fix: exception when changing property type from config dialog
2024-06-18 10:50:41 -04:00
Gabriel Horner
55b702b437
fix: query builder completing :checkbox property values
2024-06-18 10:41:33 -04:00
Gabriel Horner
ee77145caf
fix: :checkbox property not working in simple queries and rules
...
Also fix booleans not rendering in query table
2024-06-18 10:38:09 -04:00
Tienson Qin
82f01d562c
fix: prevent layout shift
2024-06-18 22:15:56 +08:00
Tienson Qin
06f61a957c
fix: react virtuso zero-sized element error
2024-06-18 22:12:31 +08:00
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