Tienson Qin
ed1ee94d88
refactor: blocks search returns all blocks including pages
...
Fuzzy search support both pages and objects (blocks have tags).
2024-07-20 20:10:36 +08:00
charlie
32260d13d6
fix(ui): invalid up/down for the page preview editor
2024-07-17 10:53:54 +08:00
charlie
901a92e0ac
fix(editor): sometimes edit block not working for the selection mode
2024-07-14 17:04:32 +08:00
Tienson Qin
d847023dc1
Refactor: rename :block/content to :block/title
2024-07-10 22:33:44 +08:00
Tienson Qin
a1f352773b
refactor: rename :block/original-name to :block/title
2024-07-10 21:43:03 +08:00
Tienson Qin
9f6105a62d
fix: new page creates two empty blocks
2024-06-23 22:06:40 +08:00
Tienson Qin
4b6070bc0d
fix: can't delete the first empty block
2024-06-23 21:56:45 +08:00
Tienson Qin
253f0815be
fix: can't use mouse to select blocks because of virtualization
...
Notice the bug still exists for Shift select and mod+a to select
all blocks.
2024-06-23 21:46:48 +08:00
Tienson Qin
caf1af1911
enhance: bring back inline tags support
2024-06-23 17:50:51 +08:00
Tienson Qin
4921480e0f
fix: somehow repeated content when pressing Enter too fast
2024-06-21 21:22:44 +08:00
Tienson Qin
1c15e51170
fix: references/unlinked refs blink when creating a new block
...
This commit removes the performance hack for async creating and
deleting block.
2024-06-21 17:46:17 +08:00
Tienson Qin
519f3cab3f
fix: don't focus for :many property
2024-06-20 16:45:21 +08:00
Tienson Qin
adae8ef5eb
fix: get-block-and-children returns sorted blocks
...
Fix unit tests
2024-06-20 07:56:30 +08:00
Tienson Qin
77f79709dc
fix: undo redo paste blocks
2024-06-20 06:48:46 +08:00
Tienson Qin
71dc122a75
fix: copy block properties doesn't work
...
Fixes LOG-3160
2024-06-20 00:39:08 +08:00
Tienson Qin
7d4ed01905
fix: backspace deletes block properties
...
fixes LOG-3135
2024-06-19 16:14:06 +08:00
Tienson Qin
32ac70f851
fix: can't type anything after press Enter
2024-06-19 01:07:24 +08:00
Tienson Qin
a3e651bfde
Revert "chore: remove :editor/deleting-block"
...
This reverts commit 7ea67854dc .
2024-06-18 21:35:24 +08:00
Tienson Qin
b9fc96e3dd
fix: new typing chars are not saved after Enter pressed
...
This happens when writing fast or on an old device, the reason is that
the user can still write something after Enter pressed and before the
data is transacted and UI refreshed.
2024-06-18 21:16:27 +08:00
Tienson Qin
1ea1733ad6
fix: make sure edit-block-f exists before calling it
2024-06-18 16:31:36 +08:00
Tienson Qin
7ea67854dc
chore: remove :editor/deleting-block
...
This can result in an empty size error for virtualized list
2024-06-18 16:19:17 +08:00
Tienson Qin
ec1ac54b5f
fix: edit an empty page for file and db graphs
2024-06-18 00:03:08 +08:00
Gabriel Horner
4eb9364814
fix: frontend lint
2024-06-13 10:44:47 -04:00
Tienson Qin
71584905a7
Move set-block-properties! to property handler
2024-06-13 14:37:12 +08:00
Tienson Qin
452b79d350
fix: page format
2024-06-13 14:31:17 +08:00
charlie
8de948f504
fix(pdf): insert highlight blocks for the file based graph
2024-06-13 14:27:37 +08:00
Gabriel Horner
a9b7cb4274
fix: frontend lint
2024-06-12 10:58:49 -04:00
charlie
c38679ff45
fix(pdf): support browser to insert pdf highlight into page blocks
2024-06-12 13:45:46 +08:00
Tienson Qin
b2e113d8eb
refactor: db based filters
...
Uses properties :logseq.property.linked-references/included-pages
and :logseq.property.linked-references/excluded-pages to store filters
instead of a map.
Fixes LOG-3074
2024-06-08 05:28:55 +08:00
Tienson Qin
33977ee836
fix: pause edit if the new block is not created yet
2024-06-07 15:04:17 +08:00
Tienson Qin
da37a2177c
fix: wrong start editor pos
2024-06-07 13:18:16 +08:00
Tienson Qin
b3866fbf01
fix: move deleting block's properties to its prev-block
...
Notice this works only for the db graph.
Fixes LOG-3135
2024-06-06 20:14:09 +08:00
Tienson Qin
bbb454a7d7
fix: lint
2024-06-06 19:52:34 +08:00
Tienson Qin
9b1da32028
fix: simplify deleting refed blocks
...
The new implementation will replace refs of the current deleting block
with the nearby block (if exists).
2024-06-06 19:36:40 +08:00
Tienson Qin
a647954eea
refactor: remove hacky editor will-unmount
2024-06-06 17:59:23 +08:00
Tienson Qin
070ff212e4
fix: DEL doesn't save newly input text
2024-06-06 16:58:17 +08:00
Tienson Qin
fcc659f1fd
chore: remove debug ask-ai
2024-06-06 16:52:57 +08:00
Tienson Qin
2b17284f77
fix: DEL lost editor state
2024-06-06 16:44:00 +08:00
Tienson Qin
853926dce4
fix: update editor/container-id after editor mounted
2024-06-05 08:24:04 +08:00
Tienson Qin
6104cac5ad
fix: move cursor across embedded blocks
2024-06-04 17:12:25 +08:00
Tienson Qin
554926cb19
fix: tons of issues on whiteboards
...
Mostly because we made the change that multiple pages can have the
same name now, also the UI db is not full anymore.
2024-06-03 22:50:17 +08:00
Tienson Qin
d7d4a025be
fix: pos changed when moving block up/down
2024-06-03 13:15:28 +08:00
Tienson Qin
0d6c810b65
enhance: ;; to set block property
2024-06-01 21:07:48 +08:00
Gabriel Horner
aeb51f8415
fix: only show class pages for tag completion
...
Fixes LOG-2742. Only showing class pages removes buggy
edge cases with property pages that suddenly act like classes,
particularly built-in properties, with no way for the user to undo
their action. Also cleans up search results so users can focus
on the classes they use often
2024-05-29 16:26:29 -04:00
Gabriel Horner
d885c68e84
enhance: page-ref completion completes user pages
...
Don't include built-in pages in :page-search as it clutters their search
results and will be more confusing than helpful
2024-05-29 15:53:57 -04:00
Tienson Qin
0c80177642
fix: cycle todos
2024-05-27 13:22:02 +08:00
Tienson Qin
c118271fdd
refactor: property position support left/right/below
...
Removed the limitation that only properties with closed values can
have custom positions.
2024-05-23 20:48:04 +08:00
Tienson Qin
1cfc426486
enhance: properties ux
...
1. add icons to priorities
2. hide task properties so that blocks are not collapsable
3. block positions support end of block
2024-05-23 17:18:23 +08:00
Tienson Qin
c862ad0d10
refactor: db/transact! as outliner op
...
The benefits:
1. all db transactions from the UI thread can be described in outliner
ops now.
2. batch undo/redo
2024-05-23 05:16:51 +08:00
charlie
1796d0810b
fix(ui): disable up/down for the shui select menu
2024-05-20 17:01:14 +08:00