Tienson Qin
d3ede3ce34
fix: rename whiteboard
2023-10-12 23:11:39 +08:00
Tienson Qin
85112321d3
fix: tldraw re-render
2023-10-12 23:11:39 +08:00
Gabriel Horner
82bcd01525
simplify :map declarations in db schema
...
Make :closed opt in rather than required in order for --closed-maps
to work
2023-10-12 10:02:45 -04:00
Gabriel Horner
4f7baaaffe
fix: icon page failed to load
...
caused by icon having wrong type
2023-10-12 09:22:11 -04:00
Tienson Qin
9f0eec2402
fix: whiteboard not working because of properties
2023-10-12 21:17:31 +08:00
Tienson Qin
aeabee7be3
fix: can't change whiteboard name
2023-10-12 20:27:13 +08:00
Tienson Qin
5a1e6cf902
enhance: simplify page title
2023-10-12 18:45:21 +08:00
rcmerci
171ecbffbd
fix: won't show db-graphs when login
2023-10-12 18:44:17 +08:00
rcmerci
2b64d0e869
feat(rtc): connect to current user system
2023-10-12 17:49:32 +08:00
Tienson Qin
d4ca9e048a
fix: outdent on enter for embed block
2023-10-12 17:37:08 +08:00
Tienson Qin
eb09da9730
enhance: add a link button for embedded block and page icon for page
2023-10-12 17:21:05 +08:00
Gabriel Horner
8eeeef536b
fix: using enum values shouldn't create unknown blocks
...
also updated enum schema
2023-10-11 18:07:08 -04:00
Gabriel Horner
89dafea094
fix: test failing due to unrealistic non-string content
2023-10-11 16:14:15 -04:00
Gabriel Horner
c8ccc79e82
fix: db/ident and schema/version shouldn't create unknown blocks
...
Also log unknown blocks and make their entity more explicit with the
goal of eventually resolving all unknown blocks. Also added
a query bb task. Part of LOG-2818
2023-10-11 16:02:13 -04:00
Gabriel Horner
fe7a46eac9
Move db malli schema into db dep since it's stable
...
Also add a validate-db task. Part of LOG-2739
2023-10-11 08:40:26 -04:00
Tienson Qin
c3e002aade
fix: search for porperty block values leads to hidden page
...
Fixes LOG-2647
2023-10-11 13:11:33 +08:00
Gabriel Horner
ccc0bf9bad
Add validation for property values
...
Reuse schema for property types and values from frontend. Moved into db
deps as it will soon be needed for a db namespace. Also tweaked schema
for :template type
2023-10-10 17:31:30 -04:00
Tienson Qin
b586cebe01
fix: can't edit property value
2023-10-11 02:39:05 +08:00
Tienson Qin
e7ea9a0705
fix: don't set property type when adding new class property
...
Since property's type now is immutable
2023-10-11 00:53:51 +08:00
Tienson Qin
beee1df4a8
fix: keep editing after tagging a page
2023-10-11 00:46:47 +08:00
Tienson Qin
d4420bed82
fix: block selection when there're page/block embeds
2023-10-11 00:46:47 +08:00
Tienson Qin
bc422b1718
fix: move a child to its parent of parent
2023-10-11 00:46:47 +08:00
Tienson Qin
f2db3a3caa
fix: can't insert child for the root block
2023-10-11 00:46:47 +08:00
Tienson Qin
05ed468767
remove unnesessary fragment
2023-10-11 00:46:47 +08:00
Tienson Qin
7138be295f
remove :blocks-container-id usage
2023-10-11 00:46:47 +08:00
Tienson Qin
d9ab81e00d
enhance: use block dom node for editing instead of container
2023-10-11 00:46:47 +08:00
Gabriel Horner
e6b605e8e5
fix: only confirm property deletion for class schema properties
...
Deleting any normal block/page property shouldn't require double
clicking
2023-10-09 14:08:54 -04:00
Gabriel Horner
ae716143e3
fix: new property should save without error
...
Also cleaned up duplicate label approaches for property type
2023-10-09 13:55:53 -04:00
Gabriel Horner
32e9e6c06d
fix: malli db schema for blocks having object
...
also updated object-page to require tags
2023-10-09 12:24:41 -04:00
Gabriel Horner
3ebcfcd3d2
fix: hidden pages showing up in all pages and probably other places
...
Also updated schema to reflect new multi-line :default prop vals
implementation
2023-10-09 11:44:03 -04:00
Tienson Qin
5f6e2596e8
enhance: make property type immutable for db safety
2023-10-09 21:30:51 +08:00
Tienson Qin
9a69518e96
enhance: create only one child block when press Enter
2023-10-09 20:56:45 +08:00
Tienson Qin
f56b37d9bc
fix: add hidden pages for blocks created from properties
2023-10-09 20:48:01 +08:00
Tienson Qin
d9f59f863d
fix: page icon
2023-10-09 14:48:39 +08:00
rcmerci
0dc941f1c5
feat(rtc): sync :block/properties
2023-10-09 14:12:30 +08:00
rcmerci
4c64fd5a4b
fix(rtc): block/schema from remote
2023-10-09 14:12:30 +08:00
Tienson Qin
683e90abf6
enhance: mod+enter to create tagged block instead of page
2023-10-09 01:49:14 +08:00
Tienson Qin
9d291e02c2
fix: center align date values
2023-10-09 01:39:33 +08:00
Tienson Qin
00445910c7
fix: both tagged blocks and pages are objects
2023-10-09 00:43:36 +08:00
Tienson Qin
1dbcc2bc3f
fix: blockref e2e tests
2023-10-09 00:08:12 +08:00
Tienson Qin
ffcc656d1a
fix: fs e2e test
2023-10-08 22:00:29 +08:00
Tienson Qin
646975cef7
fix: reactive blocks refs count
2023-10-08 20:49:08 +08:00
Tienson Qin
930b384db7
fix: add keyboard delay to make selection works for e2e test
2023-10-08 19:54:27 +08:00
Tienson Qin
621d88f17c
don't validate db for yarn test
2023-10-08 19:18:26 +08:00
Tienson Qin
307258343e
fix: lint warnings
2023-10-08 19:14:25 +08:00
rcmerci
7ed5b551d9
feat(rtc): support :block/properties
2023-10-08 16:51:25 +08:00
Tienson Qin
bfb97390fb
fix: auto-save block will quit editing when tagging a page
2023-10-08 12:26:49 +08:00
Tienson Qin
17ae9d337f
fix: lint
2023-10-08 12:12:00 +08:00
Tienson Qin
fe678ea3ad
fix: delete blocks if their parent property is going to be deleted
2023-10-08 11:34:08 +08:00
rcmerci
1fc6251fde
enhance(rtc): add op-schema for :block/properties
2023-10-07 14:20:44 +08:00