Commit Graph

136 Commits

Author SHA1 Message Date
Tienson Qin
879ae09fa2 fix: wrong argument 2024-01-09 14:09:12 +08:00
Tienson Qin
9194a671fd Move outliner core to its own dep 2024-01-03 18:02:48 +08:00
Tienson Qin
292ba1b0b6 Remove state dependency for outliner.core 2024-01-03 15:42:58 +08:00
Tienson Qin
9ea5ac85e4 Remove dom dependency for outliner.core 2024-01-03 01:37:42 +08:00
Tienson Qin
e579f668eb wip: remove dependency on frontend.db for outliner core 2024-01-02 23:23:49 +08:00
Tienson Qin
31c3b7a3af Allow outliner transaction to be used for both UI and worker 2024-01-01 22:46:56 +08:00
Tienson Qin
260ad89937 wip: move pipeline to worker 2023-12-26 22:00:21 +08:00
Tienson Qin
d38bba76bf Use OPFS storage for file based graphs too 2023-12-14 01:20:31 +08:00
Tienson Qin
2212016a3b fix: cursor blinks when editing a new block 2023-10-26 01:02:36 +08:00
Tienson Qin
e6d1d80232 fix: add back blockid class 2023-10-25 22:25:57 +08:00
Tienson Qin
b19e42938c fix: bad performance due to ui/tippy sub state 2023-10-25 20:11:49 +08:00
Tienson Qin
beee1df4a8 fix: keep editing after tagging a page 2023-10-11 00:46:47 +08:00
Tienson Qin
f2db3a3caa fix: can't insert child for the root block 2023-10-11 00:46:47 +08:00
Tienson Qin
d9ab81e00d enhance: use block dom node for editing instead of container 2023-10-11 00:46:47 +08:00
Tienson Qin
f3c7d50da9 fix: don't map :block/content to original-name for pages 2023-09-25 16:46:19 +08:00
Tienson Qin
9d8d20792e fix: new created block blink 2023-09-11 16:16:32 +08:00
Tienson Qin
0cbd6c09f8 perf: slow switch to the editor mode for long pages 2023-09-07 00:12:48 +08:00
Tienson Qin
a23068fec7 fix: blocks rendering 2023-09-07 00:12:48 +08:00
Tienson Qin
4657acbc43 perf: reduce cost for edit-block! 2023-09-06 21:38:08 +08:00
Tienson Qin
19e7920448 fix: indent/outdent cursor move for embedded blocks 2023-08-28 13:33:36 +08:00
Tienson Qin
f2eedc5972 fix: cursor move on right sidebar 2023-08-28 13:12:55 +08:00
Tienson Qin
95169b81ca fix: cursor move between linked blocks 2023-08-28 12:56:36 +08:00
Tienson Qin
14d25f7225 fix: edit block for multiple instances of linked blocks 2023-08-27 10:11:46 +08:00
Tienson Qin
58fc4bca28 allow page's block/content to be it's original name 2023-08-16 01:09:48 +08:00
Tienson Qin
ea56b0a9c0 enhance: backspace to delete a block value 2023-08-14 16:43:55 +08:00
rcmerci
ac15c6c75e remove adding opts to outliner-tx/transact! 2023-08-08 22:11:10 +08:00
rcmerci
aff2620505 persist edit-operation 2023-08-02 22:54:05 +08:00
Tienson Qin
dbcd082f08 wip: handle built-in properties 2023-08-01 19:03:16 +08:00
Tienson Qin
3ec4c6bedd remove handler.editor.property 2023-08-01 13:59:06 +08:00
Tienson Qin
c81e114a1c fix: lint 2023-06-28 15:20:22 +08:00
Tienson Qin
41ef67829b chore: clean code 2023-06-28 13:09:07 +08:00
Tienson Qin
029b196432 refactor: remove db/get-paginated-blocks 2023-06-20 14:06:42 +08:00
Tienson Qin
55ff7584b7 wrap-parse-block impl for db && file 2023-06-14 15:13:22 +08:00
Tienson Qin
ed3b063575 perf: using :block/_parent instead of blocks->vec-tree 2023-06-06 02:00:45 +08:00
Tienson Qin
c85d224e75 fix: no need to query for other attributes in pagination 2023-06-05 17:26:21 +08:00
Tienson Qin
e7dae7728a fix: paginated blocks 2023-06-05 16:45:14 +08:00
Tienson Qin
997da82b50 fix: pagination blocks 2023-06-01 00:05:19 +08:00
Tienson Qin
01479ef9da enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
charlie
23a0c53808 enhance(ux): more friendly letters for the ordered list marker 2023-04-28 14:26:37 +08:00
charlie
159ff169c7 fix(ui): incorrect order list number for the journal pages list 2023-04-22 12:56:33 +08:00
charlie
c34a641647 fix(ui): incorrect order list number for the root block 2023-04-21 09:49:06 +08:00
charlie
0939aac5b5 fix: lint 2023-04-18 19:31:05 +08:00
charlie
22246fcdb3 fix(ui): reactive block state for all the order list related items 2023-04-18 18:24:12 +08:00
charlie
ebab07367a feat(ui): sub alpha marker for order block (own-property) 2023-04-17 20:58:18 +08:00
charlie
ba42b12b09 feat(ui): WIP number list block (own-property) 2023-04-17 13:51:35 +08:00
charlie
8d6e9b7cfd feat(ui): WIP number list block (own-property) 2023-04-14 16:46:05 +08:00
Tienson Qin
3312bfc3b6 fix: sync icon is missing 2022-11-21 21:03:32 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Gabriel Horner
2ce6dfad41 Use catch :default for default error handling in cljs
This is considered normal practice for cljs. See
https://clojure.atlassian.net/browse/CLJS-661 for when it was introduced
and background on it
2022-09-23 02:00:55 +08:00
Tienson Qin
b6ecc7f6e3 fix: parent refs are not included in filters
related to #6490
2022-08-29 08:02:15 +08:00