Tienson Qin
a1f352773b
refactor: rename :block/original-name to :block/title
2024-07-10 21:43:03 +08:00
Gabriel Horner
f728b7b9f6
fix: multiple bugs with built-in pages, fixes LOG-3046
...
- file graph wasn't creating built in pages
- 3 places where db graphs were incorrectly using file graph built in
page names
- file graphs creating default pages with incorrect format
2024-03-29 16:21:19 -04:00
Gabriel Horner
c9ba357a90
fix multiple lints
2024-01-22 09:17:38 -05:00
Tienson Qin
b06b01b88b
Merge branch 'master' into feat/db
2024-01-22 12:08:37 +08:00
Tienson Qin
e571c571ec
wip: export refactor
...
1. Move fns to worker
2. Don't rely on :block/file, use db blocks to build page content
2024-01-22 10:00:26 +08:00
Andelf
477d5418fa
test(export): add simple test case for #10848
2024-01-17 20:14:05 +08:00
rcmerci
facc75f635
fix(export): remove prefix spaces when no-indent ( #10807 )
...
* fix(export): remove prefix spaces when no-indent
* fix(export): fix remove-prefix-spaces-in-Plain
use full_content for Src ast when no-indent
2024-01-12 14:26:17 +08:00
Gabriel Horner
edaf9b286a
chore: move frontend db namespaces to a dedicated parent ns
...
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Tienson Qin
d078e207ae
fix: export pages test
2023-06-28 14:25:25 +08:00
rcmerci
3cda885b9b
add unit-tests for export
2023-03-20 12:31:35 +08:00
rcmerci
6fae1a8c09
fix unit test
2023-03-20 12:31:35 +08:00
rcmerci
2a12ffc331
feat(editor/copy-paste): refactor copy/export in cljs ( #8530 )
...
Huge performance improvement for copy and export
Refactor copy/export in cljs instead of Mldoc
2023-02-20 23:08:58 +08:00
Gabriel Horner
784ad7cce3
Add unit tests for create-if-not-exists and misc test improvements
...
- Added unit test as it is used by several handlers
- Fixed test suite failing from last commit now that a test fs is used
- Fixed test stat implementation
- Extracted out Plugin schema to make usage of it less impl dependent
- Made test.helper alias consistent
- Made async testing consistent for export-test
2022-10-17 10:13:27 -04:00
Gabriel Horner
83a4e62bfd
Merge branch 'master' into enhance/graph-parser-part-four
2022-05-30 10:18:34 -04:00
Tienson Qin
cc735fffc7
fix: tests
2022-05-29 16:31:17 +08:00
Gabriel Horner
e999ebc149
Automatically set extract-options correctly
...
- Removed state paths [:config :text-formats], [:config :img-formats]
and [:me :settins :date-formatter] as they have been unused since
their introduction in 2020
- Converted incorrect js/Error refs
- Also merged db.config test helpers
2022-05-26 18:04:45 -04:00
Gabriel Horner
b0babf2232
Change export to not depend on printing - close #4211
2022-02-24 00:32:30 +08:00
Gabriel Horner
97632c8c25
Fix up most lints in src/test
2022-01-12 00:22:37 +08:00
Junyi Du
daae4932ad
Some fix according to lint
2021-11-18 21:13:35 +08:00
rcmerci
532a08c2d6
enhance: add export testcases
2021-10-21 17:52:09 +08:00