Commit Graph

7279 Commits

Author SHA1 Message Date
Gabriel Horner
b08e079ab7 Update :commands in config schema - fixes #8403
Update malli to pull in :some schema
2023-01-20 15:55:24 -05:00
ComanderP
4e72036812 Update European Portuguese translation
This commit changes the pt-PT translation of Logseq:
- Changed many keys that where translated to Brazilian Portuguese
  instead of European Portuguese
- Changed some parts of the translation to be more consistent
  with everything else
- Reordered the keys in the translation to match the order of the keys
  in the English translation
- Fixed the indentation in the translation
- Added 1 missing translation
2023-01-20 11:28:53 -05:00
Gabriel Horner
f9604e1b07 Merge branch 'master' into feat/tweet-shape 2023-01-19 10:02:29 -05:00
rcmerci
f223ef535c fix(dev): bb gen-malli-kondo-config 2023-01-18 10:10:40 -05:00
Gabriel Horner
2889c2e998 Remove no longer needed backup/broken-config.edn
Users can no longer create broken configs in the app and are warned
if they do so outside of the app
2023-01-18 10:07:52 -05:00
Gabriel Horner
c804e051cc Add validation for repo config.edn
- Add test, task and schema for repo config.edn
- Also removed no longer needed temp fix
2023-01-18 10:07:52 -05:00
sallto
ad4b3a8315 enhance: replace class of macro name to seperate data attribute
avoids css conflicts for certain macro names
2023-01-18 15:29:03 +08:00
sallto
f6366853e4 enhance: add classes to macros
fixes #8192
It is now possible to target macros with custom.css
2023-01-18 15:29:03 +08:00
Andelf
5dcbe6cdf5 fix(ui): null while query .editor-wrapper 2023-01-18 15:23:55 +08:00
Andelf
cfe28ca88a fix(editor): handle save editing block timestamp
Fix #8238
2023-01-18 15:14:25 +08:00
Andelf
8a1da89ef5 fix(editor): style of date-picker/repeater-cp 2023-01-18 15:14:25 +08:00
Andelf
c92f44d22e fix(editor): revise date-picker shortcut key handling and opening condition 2023-01-18 15:14:25 +08:00
Andelf
bbc536c2fb fix(editor): close old date-picker when opening new date-picker 2023-01-18 15:14:25 +08:00
Andelf
6f01b40f24 fix(editor): revise date-picker opending conditions
Releated #8238
2023-01-18 15:14:25 +08:00
situ2001
acda57e1b1 fix: remove extra braces for some incorrect macro usages (#8381)
* refactor: use `macro->text` instead of str concat

* fix(macro->text): remove redundant brackets
2023-01-17 10:52:55 -05:00
Colson Cissel
efec2279a7 fix tables not widening in wide mode (#2398) 2023-01-17 10:42:46 -05:00
Gabriel Horner
d9096e8b82 Fix search tippy failing
See
https://sentry.io/organizations/logseq/issues/3857043471/?project=5311485&query=is%3Aunresolved&referrer=issue-stream
for full error
Also added a schema for the offending fn so future stacktraces lead to
the buggy UI component
2023-01-17 11:24:22 +08:00
Ws
4c33ff05fc fix(zotero): Missing PDF caused by incomplete linked file path. (#7676)
Resolve #6771 #6503
Introduced by #5995

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2023-01-17 11:23:19 +08:00
Brooks Rady
9e2d5f4d3d Fix rendering of inline symbols #7054 (#8358)
Co-authored-by: Bad3r <bad3r@protonmail.com>
2023-01-16 14:41:41 -05:00
situ2001
4ce7bc7a81 fix(video): validate URL in video block (#8164)
* fix: should show error message when entered invalid URL to `macro-video-cp`

* feat: show err msg if arguments passed to `macro-video-cp` is empty

* feat: more friendly msg of `block-error` in `macro-video-cp`

* fix: should show error message when entered invalid URL to `macro-video-cp`

* feat: show err msg if arguments passed to `macro-video-cp` is empty

* feat: more friendly msg of `block-error` in `macro-video-cp`

* feat: change `ui/block-error` to `:span.warning`
2023-01-16 14:09:19 -05:00
Konstantinos Kaloutas
fa6aca7a75 Revert "disable blink features"
This reverts commit 5fd10fde64.
2023-01-16 16:32:59 +02:00
Konstantinos Kaloutas
5fd10fde64 disable blink features 2023-01-16 16:19:20 +02:00
Konstantinos Kaloutas
51008bc363 Merge branch 'master' into feat/tweet-shape 2023-01-16 12:14:25 +02:00
rcmerci
316dc6bc01 enhance: replace sync/sync-events-publication with pubsub/sync-events-pub 2023-01-15 13:54:21 +08:00
Dan Zwell
7cc3645095 Clarify the option to prefer pasting a file rather than text
Fixes #8362
2023-01-15 12:53:50 +08:00
Gabriel Horner
e52df0619b Move malli config gen to dev source path
Followup to #8265
2023-01-13 14:35:59 -05:00
Gabriel Horner
d1157b0181 Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-13 11:51:51 -05:00
Konstantinos Kaloutas
070765cbd7 Merge branch 'master' into feat/tweet-shape 2023-01-13 18:03:54 +02:00
Konstantinos Kaloutas
1300f1e232 fix: editing state 2023-01-13 18:03:43 +02:00
Andelf
73d0c3efa0 fix(mobile): not showing hide keyboard button
Introduced #8201
2023-01-13 22:15:11 +08:00
Konstantinos Kaloutas
7f471e865f Merge branch 'master' into feat/tweet-shape 2023-01-13 10:58:47 +02:00
Tienson Qin
e179e1c86e fix: template e2e test 2023-01-13 16:02:35 +08:00
sallto
2e374f7b08 fix: Add error notification if graph can't be opened (#8200)
enhance: add error notification if graph can't be opened
fixes #7573
2023-01-13 15:51:45 +08:00
Tienson Qin
ccb5628f3c fix: separate saving current block from other outliner op's tx 2023-01-13 15:12:07 +08:00
situ2001
ef1febb771 fix(editor): incorrect undo/redo sequence of indent/outdent 2023-01-13 15:03:59 +08:00
Andelf
c19787f099 Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-13 14:52:52 +08:00
Gabriel Horner
daba5ae1b8 Fix #8334 to at least revert back to previous behavior 2023-01-13 14:19:02 +08:00
Gabriel Horner
dded4be84b Improve wording for #8317
Also add missing label to bug report url
2023-01-12 11:05:03 -05:00
rcmerci
6fd8d8d165 feat: export login-callback fn
if users can't redirect from browser back to app,
the workaround is calling
frontend.handler.user.login_callback("<code>") to finish login progress
2023-01-12 23:25:20 +08:00
Andelf
b5b1a46215 chore: bump version 0.8.16 2023-01-12 21:05:10 +08:00
charlie
e70d76589b enhance(pdf): make the weblink pdf filename to be human-readable for the annotations page 2023-01-12 21:04:12 +08:00
Andelf
418502deed fix(ui): error calling set-step in bug-report (#8328) 2023-01-12 20:50:04 +08:00
situ2001
7fd2a9a3b6 feat: bug report page & clipboard data inspector (#8317)
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* chore: there is no need to actively read from clipboard, just waiting copy-paste from user
* chore: only parse dataTransfer
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* fix: remove unused `:require`
* ux: finetune clipbard inspector and bug report
* feat: component `report-item-button`
* fix: update text for clarity
* fix: add subtext to button to fix lint error
* fix: add missing argument
* fix: change bg color to logseq css variable
* fix: remove redundant div box in `report-item-button`

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Bad3r <bad3r@protonmail.com>
2023-01-12 20:29:56 +08:00
Junyi Du
414fef6933 Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-12 19:28:24 +08:00
Andelf
193677b46f perf: Reduce usage of remove-nils since it's too slow (#8323)
* reduce usage of remove-nils since it's too slow

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-01-12 19:00:50 +08:00
Andelf
761d2dee9d fix(electron): return only file from readdir 2023-01-12 18:11:04 +08:00
rcmerci
08edcb76b4 feat: add frontend.pubsub ns (#8312)
* feat: add frontend.pubsub ns
* update clj-kondo config
2023-01-12 18:07:05 +08:00
Charlie
401c416484 feat:pdf highlight drag & drop (#8103)
* refactor(pdf): names
* improve(pdf): support highlight region draggable
* improve(pdf): unused class of pdf container
* improve(pdf): unused class of pdf container
* fix(pdf): ensure highlight block ref exists when draging to editor & whiteboard region

Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2023-01-12 01:25:10 +08:00
Gabriel Horner
ba69f13d34 Allow :rules and built in rules usage
Fixes #8250 and fixes #7201
2023-01-11 11:59:18 -05:00
Junyi Du
6785486047 fix: a bug cause page content cache outdate when external edition happens 2023-01-12 00:47:44 +08:00