Commit Graph

7862 Commits

Author SHA1 Message Date
charlie
f727f6fc8e Merge branch 'master' into feat/custom-children-list-style 2023-05-01 09:49:14 +08:00
Gabriel Horner
1f279b43a5 Add shortcut for toggle numbers 2023-04-28 14:07:41 -04:00
melat0nin
a5e31128a6 Fixed 'Downloading for the updates' string
Fixed bad English, to read 'Downloading updates'
2023-04-28 11:09:43 -04:00
Gabriel Horner
625d41eb8d For publishing disable only favoriting, not whole menu 2023-04-28 11:09:07 -04:00
Lina
a157c58d84 remove unneeded parentheses 2023-04-28 11:09:07 -04:00
Lina
cfd38a3cee remove unneeded menu options when publishing 2023-04-28 11:09:07 -04:00
Andelf
70f2ab1e98 fix(editor): more wrong usage of shortcut handler 2023-04-28 17:12:25 +08:00
Andelf
23add8fd13 fix(editor): copy page url with shortcut
Fix #9253
2023-04-28 17:12:25 +08:00
charlie
23a0c53808 enhance(ux): more friendly letters for the ordered list marker 2023-04-28 14:26:37 +08:00
charlie
a7bc14dd21 enhance(ux): make DWIM UX adapted for the block ordered list 2023-04-28 11:10:57 +08:00
charlie
9367590d9b Merge branch 'master' into feat/custom-children-list-style 2023-04-28 10:30:53 +08:00
Andelf
0c91829365 fix(editor): handle protocol urls
Related: #9243
2023-04-27 14:30:46 -04:00
Konstantinos Kaloutas
a720a85eed fix: whiteboard name sanitization 2023-04-28 02:17:55 +08:00
Bad3r
aebfae729f fix: Improve error handling in mkdir function (#9247)
* Improve error handling in `mkdir-if-not-exists` function
This PR improves the error handling in the `mkdir-if-not-exists` function by logging the "EEXIST" error (which indicates the directory already exists) instead of throwing it. Other errors will continue to be handled as before.
- [x] closes #9182

* enhance: move error handling to fs/node.js

* fix: make EEXIST silent and only throw other errors
2023-04-27 19:47:57 +08:00
charlie
04c0e500c1 fix(ux): ordered list conditions for checking the moved blocks 2023-04-27 16:13:07 +08:00
EINDEX
abcc6c5bcf fix: port range should be 1 ~ 65535 (#9211)
* fix: port range should be 1 ~ 65535

* fix: change max condition to 65535
2023-04-26 10:50:57 -04:00
charlie
08bb7372a6 enhance(ux): keep the item position from the installed plugins list when toggling enable/disable button 2023-04-26 18:50:57 +08:00
Tienson Qin
1f0822b332 enhance: move db-name to the last parameter 2023-04-26 18:50:19 +08:00
Tienson Qin
245008dc26 enhance: rebuild search index when prepare failed 2023-04-26 18:50:19 +08:00
Tienson Qin
44b373159e fix: delete sqlite db when prepare failed
resolved #7467
2023-04-26 18:50:19 +08:00
charlie
ee81de9b85 fix(ux): ordered list conditions for checking the moved blocks 2023-04-26 18:38:11 +08:00
Tienson Qin
ac44c245a6 fix: align notification buttons 2023-04-26 17:35:20 +08:00
charlie
0805d87eab Merge branch 'master' into feat/custom-children-list-style 2023-04-26 17:02:13 +08:00
charlie
8c4124152f enhance(ux): batch toggling ordered list blocks within the blocks context menu 2023-04-26 16:46:21 +08:00
charlie
f55ccda97e fix(ux): turn the block into ordered item when it's moved to the first item from target ordered children 2023-04-26 13:03:14 +08:00
Tienson Qin
b7bc230ed8 fix: page uuid might be empty 2023-04-26 12:26:04 +08:00
charlie
90f4bff1d5 Merge branch 'master' into feat/custom-children-list-style 2023-04-26 10:05:18 +08:00
Sergey Kolesnik
5493479a0e tiny style fix: polish color circles in block context menu (#9237)
* style: adapt bullet context menu color circles to theme highlight colors

* style: remove shadows for color circles in block context menu

* Revert "style: adapt bullet context menu color circles to theme highlight colors"

This reverts commit 6468115e94.
2023-04-25 11:45:31 -04:00
Konstantinos Kaloutas
92ea768457 Fix: search in page position 2023-04-25 23:29:55 +08:00
Gabriel Horner
1067ffde38 Enhance: Add :remove-block-children? query option for advanced queries and an advanced query :template fix (#9229)
* Add query option :remove-block-children? to remove

There are cases where we want to see block children e.g. using the
:current-block input. Still kept the existing behavior as most users
probably still want children removed. Also fix result count when
removing children

* Remove confusing :template block filtering

Fix #3260 and fix #9045

* enhance: apply tree filter only if the query result are blocks

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-25 19:56:27 +08:00
Andelf
bebc3bd9f7 chore(release): bump version 0.9.4 2023-04-25 19:55:25 +08:00
Andelf
c3d50879d2 Fix: no collapse control on collapsed query block for mobile (#9233)
* fix(mobile): no collapse control for query block
2023-04-25 19:54:58 +08:00
charlie
5baee5d87f Merge branch 'master' into feat/custom-children-list-style 2023-04-25 19:11:56 +08:00
charlie
0eca6c6dbb fix: remove debug 2023-04-25 19:00:29 +08:00
charlie
7b4349aed9 refactor: move ordered list logic into the unified 'insert-blocks transaction phase 2023-04-25 18:57:35 +08:00
charlie
f58dffe3f7 enhance(api): just restore editing cursor state when input element in viewport 2023-04-25 14:45:42 +08:00
Andelf
a301f25474 Revert "Feat: ordered(number) list blocks (#9141)"
This reverts commit 68492a5c67.
2023-04-25 12:37:30 +08:00
Charlie
68492a5c67 Feat: ordered(number) list blocks (#9141)
* fix(ui): marker of number list
* feat(ui): sub alpha marker for order block (own-property)
* fix(ui): make order list style more compatiable
* fix(ui): reactive block state for all the order list related items
* improve(ux): backspace for the empty order list block
* improve(ui): slash commands for the own number list block
* fix(ui): incorrect order list number for the root block
* fix(ui): order list not work for the custom query blocks
* fix(ui): contextmenu for the number list marker
* improve(ui): remove the property of `logseq.children-as` for the order list feature
* fix(ui): incorrect order list number for the journal pages list
---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-04-25 12:24:09 +08:00
charlie
2f6377ed4c Merge branch 'master' into feat/custom-children-list-style 2023-04-25 10:22:55 +08:00
Andelf
f0faf65fca chore: rm unused safe-path-join 2023-04-24 21:30:18 +08:00
Andelf
35eed4cbb0 fix(fs): wrong bak fname on mobile fs
chore(deps): update mobile file-sync deps, fix percent encoding
2023-04-24 21:30:18 +08:00
Tienson Qin
2b7355b98c Explain that logseq team can't reset or retrieve graph's password 2023-04-24 19:19:00 +08:00
Tienson Qin
f8178bcd9b fix: lazy loading shakes (#9139)
* fix: lazy loading shakes

Also, enable lazy loading on mobile

* enhance(perf): lazy load deadlines and scheduled

* enhance(perf): clean up queries when components are invisible

For queries including both ::ref and ::block.
2023-04-24 18:29:19 +08:00
Bad3r
1ac2dcd870 enhance: Add strikethrough to keyboard shortcuts page (#9199) 2023-04-24 11:11:32 +08:00
Gabriel Horner
8697d59b72 Add test to prevent regression on #9119 2023-04-24 11:08:35 +08:00
Gabriel Horner
a03bd6002c Split sorting tests to make them more readable 2023-04-24 11:06:17 +08:00
Gabriel Horner
43d137cd56 Fix sorting by page column for block queries
Fix #9055
2023-04-24 11:06:17 +08:00
Gabriel Horner
eb7ab6d2e5 Fix comma separated properties not displaying as links in query table
Fix #9146
2023-04-24 11:06:17 +08:00
charlie
eb3647983e Merge branch 'master' into feat/custom-children-list-style 2023-04-24 09:39:24 +08:00
charlie
d7c5675395 improve(ui): remove the /Bullet list command 2023-04-22 12:58:59 +08:00