Commit Graph

11466 Commits (e679b08aa1de413d8f86e0d99255951ae297d3c1)

Author SHA1 Message Date
Konstantinos Kaloutas d94689e280 fis: e2e tests 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 234f92a3fe style: run prettier 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 00be5edb4c chore: handle tool shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas dd9eb3a4e2 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 96aed148b4 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas 9a89def497 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Calum Lind 02e8dbabd2 fix: Garbled text in sidebar and dropdown menus on Linux
Linux users with Intel GPUs have been reporting issues with garbled
or ghosting text in the sidebar nav and header dropdown menu.

The exact cause is unknown but likely a Electron rendering issue with
Intel GPUs when opacity is set with the icons and text elements.

To workaround the problem we can set an element that will change the
stacking context directly on the problem elements.

Fixes: https://github.com/logseq/logseq/issues/7233
2023-05-03 09:40:31 -04:00
Calum Lind ae683159fb feat: Add is-linux ui class 2023-05-03 09:40:31 -04:00
charlie a199769f99 refactor: rename unconventional function name 2023-05-01 10:33:05 +08:00
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 880ea8b00e test(fs): simple test for protocol-url 2023-04-27 14:30:46 -04: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
charlie f0a24b5dc3 Merge branch 'master' into feat/custom-children-list-style 2023-04-25 13:08:55 +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