Commit Graph

11768 Commits (2e9e771387b4cae58af03533ea148664bb5cad3d)

Author SHA1 Message Date
Andelf 2e9e771387 enhance(sync): deletion handling 2023-06-26 19:20:04 +08:00
Andelf 1cc9bb72aa feat(sync): impl 2-stage merge for mobile 2023-06-26 19:20:04 +08:00
Andelf 2cd8630f6b chore(deps): update rsapi, 2 stage merge 2023-06-26 19:20:04 +08:00
Andelf 1c6fe4be82 enhance(sync): add merge step to update local 2023-06-26 19:20:04 +08:00
Gabriel Horner 4949a19b19 Tweak word to describe feature accurately 2023-06-23 15:39:51 -04:00
Bad3r 0b322b0f08 chore: replace 'presentation' with 'View as slide' 2023-06-23 15:39:51 -04:00
queeup cd28f94b43 i18n: update Turkish translation 2023-06-23 10:35:56 -04:00
Gabriel Horner 43df7dfd9a Translate two translations that weren't usable by all langs
See #9716. Position matters for some langs like Turkish
2023-06-23 09:51:33 -04:00
Konstantinos Kaloutas 08f70c979e fix: preserve aspect ratio 2023-06-22 12:02:32 -04:00
Tienson Qin 31a0ed40bc fix: missing parameter 2023-06-22 12:51:43 +08:00
Tienson Qin d95ae3a93f fix: disable content selection when blocks have been selected 2023-06-22 12:51:43 +08:00
Gabriel Horner b1ee33d0f2 Fix git/version-control tab title from #9711
This changes the title from "Git" to "Version control" which makes the title
consistent like all other titles. It also makes it translatable like
other setting titles
2023-06-21 15:20:01 -04:00
greatbody 4cb80bad85 trans: add translations for Chinese zh-CN 2023-06-21 15:15:35 -04:00
greatbody c91e116889 fix: Switch to: does not use i18n translation 2023-06-21 15:15:35 -04:00
greatbody 11cb2d151f fix: setting title does not use i18n translation 2023-06-21 15:15:35 -04:00
Gabriel Horner 299e2660a9
Merge pull request #9553 from logseq/feat/slash-command-for-code-block
feat: add slash command for the code block
2023-06-21 12:10:51 -04:00
Tienson Qin 00822dcf10
Merge branch 'master' into feat/slash-command-for-code-block 2023-06-21 13:40:14 +08:00
Bad3r 392ddf971f fix: test intermediate failure 2023-06-21 13:39:41 +08:00
charlie 7cc1c5aa5c enhance(plugin): support right sidebar item type as string 2023-06-21 13:06:34 +08:00
Phil Denhoff ec658d1e67
enhance: IAppProxy, IEditorProxy, BlockEntity and PageEntity have strict interfaces (#9520)
* types: remove problematic Record<string, any>

* types: remove `[key: string]: any` which clobbers all other type info

* fix: support alternative dev entrypoint

* fix: normalize boolean value to string

* fix: identify field used for legacy themes (?)

* fix: add missing `effect` and `iir` properties, which are likely internal only

* docs: move comment to JS Doc so it should show up in docs

* fix: add missing internal `lsr` field

* bump package to 0.1.15 to indicate breaking API change

* fix: ensure that Plugins can access their settings... if they exist

* Revert "bump package to 0.1.15 to indicate breaking API change"

This reverts commit 6e0d1094f2.

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-06-20 16:59:55 -04:00
Gabriel Horner 1b0403bbaf Revert 3 titles that don't need translation from last PR
See https://github.com/logseq/logseq/pull/9680#discussion_r1235470813
for context
2023-06-20 16:19:23 -04:00
Mikhail Smelov 1d932f07c4
Enhance: Convert more of the UI to be translatable - settings, onboarding, bug-report, whiteboard, flashcards and search (#9680)
* Enhance: add translation strings

* Add search/command-palette strings

* add translation strings quick_tour

* FIX

* Add translation strings tour-whiteboard

* add translation strings settings-page

* add translation strings settings-page/git

* FIX

* add translation strings settings-page/sync

* FIX

* Add translation strings Flashcards

* FIX

* FIX: Add [frontend.context.i18n :refer [t]]

* Add translation strings :on-boarding/importing

* Add translation strings :on-boarding and FIX :on-boarding/importing

* Add translation strings :bug-report

* fix

* Fix link to flashcard documentation

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-06-20 12:20:36 -04:00
Gabriel Horner 2432230c22 Some more query cleanup
Remove unused query-triggered atom, remove duplicative state in result
ns and rename query maps to query-m as query being used to refer to
multiple concepts - the query map and the :query inside a query map
2023-06-20 11:53:22 -04:00
Gabriel Horner f82bbb5275 Refactored hairy block component by breaking out logical fns 2023-06-20 11:53:22 -04:00
Gabriel Horner cb29fb6eae Revert change so that query functions can still work
Also add some docstring and slightly alter command name to reflect query
functions increased ability introduced with the related #9563
2023-06-20 11:53:22 -04:00
Tienson Qin 8ab497cb8a fix: reactive queries
Each block should have its own :query-result atom
2023-06-20 11:53:22 -04:00
Konstantinos Kaloutas 096447db48 fix: e2e test 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas 693f919efa fix: auto pan speed 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas ace5ba56e1 fix: snap to grid of arrow handlers 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas b468f0dc07 fix: text origin on create 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas d277031918 fix: select all while editing blocks 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas 7f77856329 fix: hide snap button on published graphs 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas ff3cc4d880 fix: disable problematic tests 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas 4f00e326ff feat: snap to grip 2023-06-20 09:09:10 -04:00
Gabriel Horner 028db2e7f2
Merge branch 'master' into feat/slash-command-for-code-block 2023-06-19 15:25:09 -04:00
Gabriel Horner 17d9e645c1 Update section on linting translations inspired by contributor confusion
Hoping this helps contributions like #9686 and #9655
2023-06-19 13:28:35 -04:00
queeup 083f5f69fc i18n: update Turkish translation 2023-06-19 13:27:50 -04:00
Charlie 741edecc57
Enhance(UX): marketplace (#9609)
* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo

* fix(ui): hidden proxy label for the default system proxy network mode

* improve(plugin): support option to enable/disable the auto-check the installed plugins

* fix(revert): codes

* improve(ux): add the auto-check updates switcher to the toolbar plugins manager

* improve(i18n): plugin-related i18n

* enhance(plugin): add Github proxy server for the plugin updates

* enhance(plugin): add Github proxy server for the plugin updates

* fix(ui): warning

* fix: typo
2023-06-19 12:51:40 +08:00
Mikhail Smelov 6a22870d49
Enhance: Improve Russian (ru) translations (#9645)
* Enhance: Improve Russian (ru) translations

* Improved tutorial-ru.md and dummy-notes-ru.md

* Fix: :relaunch-confirm-to-work and :page/created(updated)-at

* FIX: whiteboard

* FIX

* add strings
2023-06-16 09:54:55 -04:00
Tienson Qin 327d0abdb3 fix: wrong position when editing a block from sidebar or whiteboard 2023-06-16 12:29:20 +08:00
Taylor Hoffmann 87c4667d95
chore: updated pt-BR translations (#9655)
* chore: language pt-br

* fix: removed lang duplications

* fix: added duplicated entries for "pt-br" and "en"
2023-06-15 14:40:09 -04:00
Gabriel Horner 1045562e7d Add guideline to set expectation about PRs like #9673 2023-06-15 12:51:00 -04:00
Junyi Du bea081c5b0 test: more remove indent test 2023-06-16 00:42:30 +08:00
Junyi Du e50e129fba dev(docstring): remove indentation 2023-06-16 00:42:30 +08:00
Tienson Qin 6cbbd66333 Revert "Trim whitespaces for org mode files too"
This reverts commit 3fd7492e0ab90fc1d4890ea4b4005743cbbe0856.
2023-06-16 00:42:30 +08:00
Tienson Qin bccf5888c7 add tests 2023-06-16 00:42:30 +08:00
Tienson Qin 54706785c3 Trim whitespaces for org mode files too 2023-06-16 00:42:30 +08:00
Tienson Qin b1236b4e89 fix: trim whitespaces for block's content
Let's say we have a page like this:
- a
  - b
 b' content

After parsing, block `b` content should be `b\nb' content`
2023-06-16 00:42:30 +08:00
charlie 52c3278a5d fix(ui): polish the plugin settings modal 2023-06-16 00:30:41 +08:00
Gabriel Horner 144fc5196f Fix block hidden editable properties with user properties
Fixes
https://github.com/logseq/logseq/issues/9489#issuecomment-1590974141 .
Moved logic to util ns to simplify hairy component and test it
2023-06-16 00:11:06 +08:00