Commit Graph

11269 Commits (d94689e280a5737dcc3cd08a80b548e1245cb712)

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
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
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
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
Tienson Qin ac44c245a6 fix: align notification buttons 2023-04-26 17:35:20 +08:00
Tienson Qin b7bc230ed8 fix: page uuid might be empty 2023-04-26 12:26:04 +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 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
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
Konstantinos 1aca903449
Fix (Whiteboards): Portal height calculation bug (#9161)
* fix: portal height

* fix: remove circle button from portals

* enhance: remove unnecessary dev tools

* enhance: convert collapse btn-group to toggle

* enhance: introduce collapse shortcut
2023-04-24 21:06:51 +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
Konstantinos Kaloutas ab0c1c1860 fix: change shortcut of zoom to selected 2023-04-24 16:22:45 +08:00
Konstantinos Kaloutas c204bce3d4 fix: export grouped elements 2023-04-24 16:22:45 +08:00
Konstantinos fd375dde5d
Feat (Whiteboards): Shape conversion (#9192)
* feat: shape shift

* fix: input border radius

* fix: maintain shape id for references

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-24 13:33:18 +08:00
Konstantinos Kaloutas 0831115ae6 fix: global set color 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas e10cb90395 chore: add test 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas 84cd21b46a fix: update shapes 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas 5fc4e5074d enhance: add lock keyboard shortcut 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas 78c3427923 style: run prettier 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas f5673da476 fix: context bar action factory 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas 5539bb8351 fix: circle button 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas 567befc9a5 style: improve naming 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas ecb338c03d fix: clone on translate with alt key 2023-04-24 13:30:27 +08:00