Tienson Qin
6aba8c3241
Improve long page editing performance ( #3855 )
...
* Remove expensive parsing when saving files
* Add limit to page blocks query
* Don't collapse block's body to make it compatible with other tools
* Alert if there're unsaved changes when switching graphs
* DB schema migration for :block/collapsed? from it's property
Co-authored-by: Andelf <andelf@gmail.com >
2022-01-18 10:37:31 +08:00
Junyi Du
e1eb17c2a5
fix: datomic error blocks file watching
2022-01-17 11:33:46 +08:00
Tienson Qin
1a219c3beb
fix: verticle slides
2022-01-16 17:09:50 +08:00
leizhe
602c9d7ba3
enhance(mobile): display bullet of empty block by default
...
If not, it needs double touch to enter editing mode
2022-01-16 12:45:41 +08:00
Tienson Qin
2401ce9e9a
fix: property regression : # should be a delimiter
...
Close #3916
Tests added.
2022-01-16 12:39:41 +08:00
Tienson Qin
440f7d8bec
enhance: display properties if there's no title or body in the block
2022-01-14 12:35:00 +08:00
Tienson Qin
6fd66d4e4f
fix: sci eval
2022-01-13 22:59:04 +08:00
Gabriel Horner
f1d15b0e05
Lint components and address comments in review
...
Start using :clj-kondo/ignore as lint violations that need to be
revisited. They may side effect and should be removed with better
understanding of their context
2022-01-12 15:32:47 -05:00
Tienson Qin
6987e40c2e
fix: typo
2022-01-12 00:12:04 +08:00
Tienson Qin
c62d59c581
enhance: lazy loading animation
2022-01-10 16:51:06 +08:00
Tienson Qin
906bd0234e
fix: scroll down wrong detection
2022-01-10 16:51:06 +08:00
Tienson Qin
b59284c406
enhance: scroll earlier
2022-01-10 16:51:06 +08:00
Tienson Qin
ca20cbabba
enhance: improve long page loading performance
2022-01-10 16:51:06 +08:00
Junyi Du
5f658b0f2d
fix: change normalization from NFKC to NFC
2022-01-10 13:29:40 +08:00
Junyi Du
c2daea7eb3
fix: over sanitized in all-pages
2022-01-10 13:29:40 +08:00
Junyi Du
e5dcb014e1
enhance: yet another page-name sanity improve
2022-01-10 13:29:40 +08:00
Junyi Du
7505b0dde6
fix: introduce more page-name sanity
2022-01-10 13:29:40 +08:00
Tienson Qin
e627d5ddcf
fix: expand/collapse all doesn't work in "Linked Reference" section
...
close #3803
2022-01-10 13:00:33 +08:00
Peng Xiao
35b7f71254
fix: some style enhancements to block-control ( #3742 )
...
Co-authored-by: Andelf <andelf@gmail.com >
2022-01-08 20:22:59 +08:00
Tienson Qin
9f8028d51b
enhance: separate references/queries collapse state from db
...
addresses #3744
2022-01-05 20:42:06 +08:00
Junyi Du
8bc20e76b8
fix: unify block/name sanity
2022-01-04 21:37:44 +08:00
Junyi Du
417acc58ae
basic fix
2022-01-04 21:37:44 +08:00
Tienson Qin
6b080b6691
fix: can't collapse/expand in the references
...
Addresses #3642
2021-12-30 00:09:19 +08:00
leizhe
f141d3e606
fix(iOS): image display error
2021-12-29 22:46:19 +08:00
Tienson Qin
eb20a959f0
fix: code style
2021-12-28 16:14:23 +08:00
Tienson Qin
a397091972
enhance: shorten page names in the namespace macro list
2021-12-28 16:14:23 +08:00
Tienson Qin
8d605afa9f
feat: add {{namespace [[page]]}} macro which can be used as a toc
2021-12-28 16:14:23 +08:00
Tienson Qin
297e679bd8
fix: clicking the marker and checkbox can't change in block reference
2021-12-28 15:33:00 +08:00
Tienson Qin
cd9bb9190f
enhance: zoom in shouldn't update the collapse status in db/files
2021-12-27 18:56:02 +08:00
Tienson Qin
1cff06f347
enhance: block expand/collapse toggle
...
1. Display `Expand all` where there're already collapsed blocks. This applies to `Collapse all` too.
2. Make the guideline bold when hovering on it.
3. Simplify some logic
2021-12-27 18:56:02 +08:00
Tienson Qin
f02d233b57
fix: Texts after a macro are shifted to a new line
...
close #3512
2021-12-27 16:31:30 +08:00
Peng Xiao
62585a98f7
fix: block children is not clickable
...
related https://github.com/logseq/logseq/pull/3559
2021-12-27 10:54:49 +08:00
shidenggui
6b5d5f7df3
fix: add an explicit border for the border children to solve the overlay click problem
2021-12-26 11:20:33 +08:00
shidenggui
5d5811fb38
fix: fix sometimes the top block doesn't expand when clicking the bullet of the block
2021-12-26 11:20:33 +08:00
shidenggui
494532e95b
fix: should remove the :collapse property when the block is opened in the sidebar
2021-12-26 11:20:33 +08:00
shidenggui
9e117d2618
enhance(toggle): fix t o doesn't collapse all blocks && add Exppand all and Collapse all menu item for toggling block && auto expand children of the top block if collapse( fix #3222 ) && basic support for toggling by clicking the left bar of the block (see https://discuss.logseq.com/t/collapse-all-child-bullets-by-clicking-the-alignment-line/1937/3 )
2021-12-26 11:20:33 +08:00
leizhe
5f3ee199ad
don't affect website image displaying
2021-12-24 12:03:32 +08:00
leizhe
073a35a372
disable assets image display on iOS temporarily
2021-12-24 12:03:32 +08:00
Andelf
3a1bd3c943
fix: hljs language mode
2021-12-21 12:36:06 +08:00
leizhe
23c4f3e4c5
fix(ios): allow toggling logbook
2021-12-21 10:55:10 +08:00
leizhe
4417365d21
fix(ios): allow editing scheduled and deadline timestamp
2021-12-21 10:55:10 +08:00
leizhe
fd7bb2c64a
enhance(mobile): tweak body style
2021-12-21 10:55:10 +08:00
Andelf
61ef2750b1
fix(editor): logbook should not be editable
2021-12-20 16:57:09 +08:00
Andelf
9231ee428f
fix(editor): load new content when editing
...
Fix #3463
2021-12-15 12:28:02 +08:00
Tienson Qin
566ba16965
enhance: add blocks ast cache
2021-12-13 12:26:51 +08:00
Tienson Qin
4e5cd90369
fix: style
2021-12-10 13:09:52 +08:00
Tienson Qin
b748d55590
fix: embed block style
2021-12-09 22:48:56 +08:00
leizhe
849c077b93
fix(drawer): display user-defined drawer
...
fix https://github.com/logseq/logseq/issues/3383
2021-12-09 21:04:27 +08:00
Tienson Qin
7822848af8
chore: remove :block/title, :block/body and :block/unordered
...
For two reasons:
1. Reducing memory usage, both block/title and block/body are AST parsed
by Mldoc. After removing, logseq is able to handle 10k notes.
2. Simplify the db schema
2021-12-08 10:46:45 +08:00
Charlie
9029c632ef
Enhance/plugin apis ( #3355 )
...
* improve(plugin): support autoFocus option for main ui frame
* improve(plugin): make single selected block as current block
* improve(api): get selected blocks
* improve(plugin): support call built-in command from api
* fix(plugin): sanitize key of shortcut id
* improve(plugin): add invoke built-in command api &
* fix(editor): overwritten class of collapsed block
* improve(plugin): add `getStateFromStore` api
* chore: build libs core
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
2021-12-08 10:43:58 +08:00