Commit Graph

173 Commits (c7fe4933b4860ef08c0061c0be5b51f626e29719)

Author SHA1 Message Date
Tienson Qin 91dddd7541
Fix: stuck re-index when there're multiple whiteboards have the same UUID (#6890)
* fix: keep parsing even if some whiteboards can't be transacted

* enhance: notice parse errors

* enhance: instrument parse-and-load-error

* chore: add tests for whiteboards parsing and loading
2022-10-07 12:04:43 +08:00
Peng Xiao bb2df1b3b7 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-30 08:51:05 +08:00
Gabriel Horner 88dbb73b6b Add tldraw properties to hidden so they don't show up in unwanted places like autocompletion 2022-09-29 11:21:09 -04:00
charlie 627bfcec9e fix(sync): synced pictures not reload on mobile 2022-09-29 22:39:18 +08:00
Peng Xiao 48d4b657dc fix: ci 2022-09-29 15:11:06 +08:00
Peng Xiao 7bae8313d3 refactor: move tldraw shape related props into logseq.tldraw.shape/page 2022-09-29 14:41:55 +08:00
Peng Xiao d1a7846a3b fix: tests 2022-09-29 00:21:49 +08:00
Peng Xiao 52b81c809c feat: create new portal shape when left-clicking block/page refs inside of portal shape 2022-09-28 22:37:37 +08:00
Peng Xiao ce4b2a4ad1 fix: use :block/type instead of :block/whiteboard? 2022-09-28 18:27:03 +08:00
Peng Xiao 4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Tienson Qin 086bae5156 fix: use parsed level as heading level instead of default 2 2022-09-27 16:12:23 +08:00
Tienson Qin a27a270b04 fix: CI 2022-09-27 16:12:23 +08:00
Tienson Qin 8b144269f7 refactor: unify heading UX for both markdown and org mode 2022-09-27 16:12:23 +08:00
Gabriel Horner 639001971d Add shortcut for seeing whiteboards and minor fixes
See #6812 for the catch and we should be using our util fns
for ref chars
2022-09-24 02:58:10 -04:00
Peng Xiao 4044a458ac fix: whiteboard idle check issue 2022-09-24 12:26:35 +08:00
Peng Xiao 3c85585431 fix: parsing whiteboard edn file 2022-09-24 10:36:06 +08:00
Peng Xiao 526a8d99c8 fix: merge issues 2022-09-24 10:16:19 +08:00
Peng Xiao fd94862312 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-24 09:42:00 +08:00
rcmerci 40e7c29bd6 enhance: use transducer in extract-refs-from-mldoc-ast 2022-09-22 15:06:34 +08:00
Tienson Qin 1830b0c082 fix: treat special chars as invalid properties instead 2022-09-22 14:20:15 +08:00
Gabriel Horner 9d9e976b8c Merge branch 'master' into refactor/refs-from-property-values 2022-09-21 15:34:47 -04:00
rcmerci 628cecc2fd enhance: use transducers 2022-09-21 18:32:14 +08:00
Tienson Qin eae49ec1f5 chore: misc clean 2022-09-21 17:10:40 +08:00
Tienson Qin baba078323 fix: support comma in Chinese 2022-09-21 17:03:17 +08:00
Tienson Qin 50db6e42a0 fix: extract property refs support mixed values 2022-09-21 16:46:56 +08:00
Tienson Qin 0ede2d1263 fix: lint 2022-09-21 16:07:05 +08:00
Tienson Qin 310bff0fad fix: CI 2022-09-21 16:02:21 +08:00
Tienson Qin 1fbb364512 Add :block/properties-text-values 2022-09-21 15:06:48 +08:00
Tienson Qin da72d4d620 Some cleanup suggested by Gabe 2022-09-21 12:59:14 +08:00
Gabriel Horner a368cab5e4 Add ns linter to deps libs and then add+update ns docstrings 2022-09-21 10:17:15 +08:00
Gabriel Horner edd79954c1 Another test and address review feedback that shouldn't be controversial
- Added test for 71514ab36c
- Also removed dependency that is no longer used
2022-09-15 18:01:29 -04:00
Gabriel Horner ecce39d13b Misc cleanup and test improvements
- Remove incorrect carve entry
- Move test-only code for extract-properties to test
- Remove unused if branches in extract-properties
- Move json parsing of get-references into mldoc to be consistent about
  json encapsulation like other mldoc fns
- reorganize relevant unit tests
- add tests for alias, tags and comma separated config properties
- Update incorrect docstring
2022-09-14 23:26:00 -04:00
Tienson Qin b0aecd10b4 fix: keep invalid-properties for page too 2022-09-14 22:24:01 +08:00
Tienson Qin 00e13c1fc5 fix: datoms count 2022-09-14 20:45:04 +08:00
Tienson Qin 71514ab36c fix: extracting page's title property from mldoc ast 2022-09-14 20:29:44 +08:00
Peng Xiao 3d8fa09d0d fix: merge issues 2022-09-10 01:02:16 +08:00
Peng Xiao 4d86f4f53f Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-10 00:45:27 +08:00
Tienson Qin 8bd28eeeb8 fix: comma separated refs are not included in block/refs 2022-09-09 15:16:33 +08:00
Tienson Qin 79af14d75e fix: graph parser CI 2022-09-09 14:30:39 +08:00
Tienson Qin 58839059ac fix: CI 2022-09-09 14:13:35 +08:00
Tienson Qin cab5dc45a2 fix: tag parsing 2022-09-09 13:19:35 +08:00
Tienson Qin b516c1db5f Add :property/separated-by-commas option 2022-09-09 12:40:14 +08:00
Tienson Qin 2c7bae1190 fix: , and some chars shouldn't be supported for tags 2022-09-09 12:39:28 +08:00
Tienson Qin 7adf1c9d67 fix: extract ref from mldoc Tag 2022-09-09 12:39:28 +08:00
Tienson Qin 040fd5510f fix: some tests on graph_parser 2022-09-09 12:39:26 +08:00
Tienson Qin d64042df81 chore: bump mldoc for graph parser 2022-09-09 12:38:35 +08:00
Tienson Qin 2dfc3be462 fix: unused vars in graph-parser 2022-09-09 12:38:33 +08:00
Tienson Qin c376c408e0 fix: lint warnings in graph_parser 2022-09-09 12:37:57 +08:00
Tienson Qin 0266c1586b fix ci 2022-09-09 12:37:57 +08:00
Tienson Qin 9e2d6e7cfb fix: page refs 2022-09-09 12:37:57 +08:00