Commit Graph

12883 Commits

Author SHA1 Message Date
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
Gabriel Horner
df8f16ba2c add validation for internal and user properties
by reusing existing schema-types for db properties
2023-10-06 15:18:37 -04:00
Gabriel Horner
83e9cda446 fix: new properties that didn't have :block/journal?
Some page queries depend on the existence of this attribute including
graph view ones. This was caught by the validation script. After the fix
all pages have this attribute. Creation scripts also updated to use
standard timestamp approach
2023-10-06 12:29:33 -04:00
Gabriel Horner
e9c6fee11a Improve db schema with different page types
Also improved group-errors option, addressed some attributes that hadn't
been typed yet and fixes multi-arity attributes
2023-10-05 16:49:33 -04:00
Gabriel Horner
5ebe0861a5 fix: tagged with section shows case sensitive name 2023-10-05 10:52:46 -04:00
Gabriel Horner
47794b6b7a fix(regression): Newly created classes display page properties as class properties 2023-10-05 09:59:07 -04:00
Gabriel Horner
05390f66e9 update db schema since multi-line :default properties have no left or parent 2023-10-04 17:15:53 -04:00
Gabriel Horner
a2a7f47057 add group-errors option to validation script
Reduces error noise and helped fix last two bugs.
Also improved schema by making left, parent and format
required for all normal blocks
2023-10-04 16:09:51 -04:00
Gabriel Horner
a19806839c fix: blocks shouldn't have journal attributes
only pages should. Found no use for them in db graphs. TBD if they are
needed in file graphs. Part of LOG-2818
2023-10-04 12:59:17 -04:00
Gabriel Horner
4c525814b9 fix: some blocks didn't have timestamps
blocks created using editor-handler/api-insert-new-block! didn't have
timestamps. This includes quick capture and dummy blocks but there were
more cases this bug would occur since this was missing at the
outliner.core level

The dummy block can now be removed from the schema b/c it only existed
because it didn't have timestamps
2023-10-04 11:28:52 -04:00
Gabriel Horner
2f9e304e91 fix wording and remove unused data attributes 2023-10-04 09:46:48 -04:00
Tienson Qin
78a3acf587 fix: select classes 2023-10-04 21:38:20 +08:00
Tienson Qin
5d8391e8d0 fix: property name in configuration 2023-10-04 20:55:21 +08:00
Tienson Qin
85d1a82340 fix: cleanup block parents created from properties when reset value 2023-10-04 20:53:08 +08:00
Tienson Qin
54a41b6910 fix: can't edit page properties for classes 2023-10-04 19:50:16 +08:00
Tienson Qin
86bc8ec9d6 enhance: delete property ux 2023-10-04 19:18:20 +08:00
Tienson Qin
85354ecda3 fix: icon select popover position 2023-10-04 18:57:44 +08:00
Tienson Qin
0e63baedef enhance: add switch between page and class/property properties 2023-10-04 18:49:31 +08:00
Tienson Qin
10f6fa9f1d fix: onClick not working in draggable element 2023-10-04 16:36:41 +08:00
Tienson Qin
19e3f5f217 fix: dnd animation 2023-10-04 09:54:33 +08:00
Tienson Qin
b44e4d7d1f Use dnd-kit instead of beautiful-dnd 2023-10-04 09:54:33 +08:00
Gabriel Horner
8541f85389 validation script can now validate multiple graphs
Also improved schema to differentiate between pages and a couple
types of blocks
2023-10-03 17:53:12 -04:00
Gabriel Horner
a0441f3ddf enhance: move db-based recent pages and search to local storage
These read-only actions were saved to datascript storage and would
cause needless conflicts for multiple users
Fixes LOG-2833
2023-10-03 10:58:19 -04:00
rcmerci
38d861e0e0 enhance(rtc): update schema, fix download-graph 2023-10-03 22:31:22 +08:00
Tienson Qin
b3e95ef52f enhance: add list-none class to reorder ul 2023-10-03 20:17:28 +08:00
Tienson Qin
ec81eaeb67 fix: sometimes reorder :to could be empty 2023-10-03 20:12:26 +08:00
Tienson Qin
0fa171b942 enhance: ensure reorder doesn't result in data-loss 2023-10-03 20:03:09 +08:00
Tienson Qin
a8e7bdc37f enhance: enable reorder for class properties 2023-10-03 19:57:14 +08:00
Tienson Qin
afec3dc4d6 enhance: use beautiful-dnd for enum type values 2023-10-03 15:07:30 +08:00
Tienson Qin
51c7f6319b enhance: replace favorites with beautiful dnd 2023-10-03 14:52:54 +08:00
Tienson Qin
9ed6ed4006 enhance: add react-beautiful-dnd 2023-10-03 13:40:21 +08:00