Commit Graph

11798 Commits (f80568eef7fe5e3a8e43f8d80bf3b5fc68089f25)

Author SHA1 Message Date
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
hasecilu d34073c3b1 Fix translations 2023-06-15 11:45:27 -04:00
hasecilu e826c83ebd Update Spanish translations 2023-06-15 11:45:27 -04:00
Tienson Qin 2d0f67429a
enhance: pub-event! returns a promise (#9671)
enhance: pub-event! returns a promise

fix: typing 1.  sometimes can result in 1. 1.
2023-06-15 23:45:13 +08:00
Mikhail Smelov eafca05387
Enhance: add translation strings to electron context menu; Settings (#9658)
* enhance: add translation strings to electron context menu

* Add translation strings to General settings

* FIX: :electron.context-menu/

* Add Tips

* Remove translations that can't be translated yet

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-06-15 10:54:15 -04:00
cui fliter 888f9b9627 fix typo
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-06-15 14:04:48 +08:00
Charlie 1696081bed
Enhance(UX): polish details for the plugin fenced code block (#9590)
Add the ability for real-time rendering of fenced code block.
2023-06-14 21:49:00 +08:00
charlie 3e7bdda4bf fix(editor): incorrect behavior for the code editor of file page 2023-06-14 21:09:07 +08:00
Bad3r bc57766925
enhance(e2e): update playwright config (#9623) 2023-06-14 10:20:44 +08:00
Gabriel Horner f051790707
Merge pull request #9610 from logseq/chore/i18n-refactoring
Chore (i18n): Make punctuation usage consistent in translations
2023-06-13 12:55:37 -04:00
Gabriel Horner cf7fd0ffc0 Add tips for new editing conventions introduced in PR 2023-06-13 12:39:05 -04:00
Allan Chain 9a8d5ea6a5
chore: update KaTeX from 0.13.18 to 0.16.7 (#9625) 2023-06-13 22:42:52 +08:00
Tienson Qin cf79079e66 fix: typo 2023-06-13 17:45:52 +08:00
Andelf 997a0d9eff
chore(release): bump version 0.9.9 (#9637) 2023-06-13 17:37:21 +08:00
Gabriel Horner 3f1d32dd6c Update clj-kondo and bb-tasks for deps projects 2023-06-13 14:48:50 +08:00
Gabriel Horner 29ebf73476 Upgrade clj-kondo in frontend with new fixes
- Couple tests didn't have an is so nothing was tested
- test-non-consecutive-blocks->vec-tree test was fixed
  by updating block->entity-map to include nil attributes
  as the original test wanted
- Also removed a stray :focus
2023-06-13 14:48:50 +08:00
Gabriel Horner 839917dbf8 Disable test failing intermittently for the Xth test 2023-06-12 11:24:04 -04:00
ingepettersen bbc30fde81
Enhance(i18n): Updated Norwegian translation (#9618)
* Updated Norwegian translations.

* Fixed bad paste

* Updated Norwegian translation

* nb-NO: Fix a few translations + lang.clj script

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-06-12 10:13:33 -04:00
Konstantinos Kaloutas 516d98864c fix: typo 2023-06-12 17:05:11 +03:00
Konstantinos Kaloutas 236142c5f2 revert change 2023-06-12 16:59:13 +03:00
Konstantinos Kaloutas ab8de65e48 fix: e2e test 2023-06-12 16:24:53 +03:00