Commit Graph

18312 Commits

Author SHA1 Message Date
Tienson Qin
6df866a2d1 fix: handle more whiteboard properties 2024-04-08 22:56:14 +08:00
Tienson Qin
2940e86d74 fix: save whiteboard 2024-04-08 22:54:56 +08:00
Tienson Qin
76dd2045c9 fix: block type editor 2024-04-08 22:38:55 +08:00
Tienson Qin
7a0564cea8 chore: cleanup unused state 2024-04-08 22:16:18 +08:00
Tienson Qin
a329024cf8 fix: bullet and content blink when inserting a block 2024-04-08 21:54:52 +08:00
Tienson Qin
2d5eb0f79f enhance: editor experience
1. back to use container id + editing block id instead of block dom
ref to decide which block is in editing, to simplify edit-block! and
reduce browser gc.
2. set next editing block ahead of receiving the data changes from db
worker, so the editor feels a bit faster.
2024-04-08 21:10:12 +08:00
charlie
4df4ff48be fix(editor): missing outliner op for the create page tx 2024-04-08 19:25:23 +08:00
charlie
618f3bd107 Merge branch 'master' into feat/db 2024-04-08 19:00:51 +08:00
Tienson Qin
cd38e0b9f9 fix: calculate :block/path-refs when adding new graph or re-index 2024-04-08 17:24:51 +08:00
charlie
8e4bd2e997 enhance(ui): refactor the plugin related components 2024-04-08 14:34:53 +08:00
charlie
57af873bf4 enhance(ux): support more align position for the shui dialog 2024-04-08 11:40:36 +08:00
Tienson Qin
210be5aaca fix: creating redundant pages when editing a block 2024-04-08 01:25:48 +08:00
Tienson Qin
ede9e5df5d fix: page names in refs not updated after renamed 2024-04-07 22:25:56 +08:00
Tienson Qin
a324d845b2 fix: don't parse refs from quoted string 2024-04-07 21:35:14 +08:00
Tienson Qin
b5f0f58efc fix: missing refs for property text values when creating a page 2024-04-07 21:35:14 +08:00
Tienson Qin
1956d802c6 fix: lint warnings 2024-04-07 21:32:52 +08:00
Andelf
85e65bd95e fix: dead link, close #11205 2024-04-07 18:34:02 +08:00
rcmerci
00de4ecead enhance(undo): add :gen-undo-boundary-op? tx-meta option to control
the generation of ::boundary op
2024-04-07 18:06:11 +08:00
rcmerci
662ebd2503 enhance(undo): add keyword def for :gen-undo-op? 2024-04-07 17:59:12 +08:00
rcmerci
ebcb6912ba enhance(undo): split undo-ops by ::boundary op 2024-04-07 17:53:19 +08:00
Tienson Qin
dab2a6e563 fix: disable namespace for db based graphs 2024-04-07 17:29:21 +08:00
Tienson Qin
0b49d09fb1 fix: db schema validate 2024-04-07 17:26:58 +08:00
rcmerci
02cdd211fe fix: don't need to add spec def 2024-04-07 16:37:50 +08:00
Tienson Qin
c815fa9823 fix: schema error for :class/schema.properties 2024-04-07 16:31:00 +08:00
Tienson Qin
75d35f9202 enhance: display exact invalid entity map for schema invalidations 2024-04-07 16:12:53 +08:00
rcmerci
ef834cdaf7 feat: add defkeyword to define keyword
- add docstring for common used keywords
- support jump to definition in editors
- register malli-schema for keywords if provided
2024-04-07 15:40:30 +08:00
Tienson Qin
7f0a5973bf fix: edit journal name 2024-04-07 15:08:35 +08:00
Tienson Qin
914a015c37 fix: document title 2024-04-07 14:56:39 +08:00
Tienson Qin
f52993ec6d fix: tests and lint warnings 2024-04-07 14:27:05 +08:00
Tienson Qin
6eb6e60b55 Bring back namespaces/page merge/nested pages 2024-04-07 13:48:55 +08:00
rcmerci
2b27969b05 dev: add bb dev:lint-and-test 2024-04-07 00:02:40 +08:00
rcmerci
d3a679485d refactor: collect all worker db-listeners by 'defmethod listen-db-changes' 2024-04-06 23:46:20 +08:00
rcmerci
42b4b6d6a9 feat(rtc,undo): don't generate undo info when apply remote rtc ops 2024-04-06 18:42:31 +08:00
rcmerci
e61d6a8eaf feat(undo): init new undo/redo 2024-04-06 17:33:58 +08:00
rcmerci
49e18825b8 fix(undo): make some attrs optional in undo-op schema 2024-04-06 15:43:00 +08:00
Tienson Qin
b9195e40e5 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-06 07:59:06 +08:00
Gabriel Horner
009e5b6d62 enhance: consistently create sanitized property ident
for new properties. Also made build-new-property easier to
use by making property name optional
2024-04-05 16:55:40 -04:00
Gabriel Horner
3793cf6d81 fix: 2 fns that don't work in nbb b/c of :block/properties 2024-04-05 15:16:26 -04:00
Gabriel Horner
514b5b5d56 fix: numbered list in db graphs 2024-04-05 15:00:17 -04:00
Gabriel Horner
e7bd84850d chore: clean up repeated uses of db attribute properties 2024-04-05 14:04:33 -04:00
Gabriel Horner
38849bf706 chore: cleanup different definitions of property
Also fixed some outdated docstrings
2024-04-05 13:27:39 -04:00
Gabriel Horner
6045969179 fix: db tests and rename empty-placeholder to
be consistent with other ident namespaces
2024-04-05 09:36:05 -04:00
Tienson Qin
0bc8d1c3b1 Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 15:16:13 +08:00
Tienson Qin
ac31842cec Revert "Remove :block/macros"
This reverts commit 21d550de12.
2024-04-05 15:12:56 +08:00
Tienson Qin
b6368238dc fix: async get block 2024-04-05 14:20:38 +08:00
Tienson Qin
caa0763cee fix: restore to empty string after deleting the last block value 2024-04-05 14:10:21 +08:00
Tienson Qin
86a9d1ee1a fix: tags select 2024-04-05 14:01:24 +08:00
Tienson Qin
ea98a1623e Merge branch 'refactor/db-properties-schema' into refactor/db-remove-block-name-unique 2024-04-05 09:56:39 +08:00
Tienson Qin
04b00322a3 fix: add class property 2024-04-05 09:47:23 +08:00
Gabriel Horner
14a3e5287b enhance: ident validation
block properties and class idents now have specific validation.
Also cleaned up overlapping ident definitions and updated incorrect
docstrings
2024-04-04 21:39:10 -04:00