Commit Graph

7301 Commits

Author SHA1 Message Date
situ2001
b3557bc6df fix: searching in page defers while entering Chinese character using a Pinyin IME (#8399)
fix: `electron-find-in-page!` not being delayed when using IME
2023-01-31 11:08:38 +08:00
Konstantinos Kaloutas
e752f7284f enhance: use lazy loader on whiteboards preview 2023-01-31 11:03:13 +08:00
Gabriel Horner
78506f22d0 Fix deftests that have confusing args that only apply to defn
Follow up to #8412 where we're accidentally copying
invalid forms from other tests
2023-01-30 10:56:06 -05:00
Richard Garčár
a0226d443e Add Slovak language (#8464)
Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-01-30 10:24:43 -05:00
Gabriel Horner
bcaec408e6 Introduce keyword :fn to commands
Allows commands to invoke namespaces that previously caused circular
dependency issues
2023-01-30 14:56:35 +08:00
Gabriel Horner
92bec506ec Make all dev menu items into commands
Also add clear all notifications cmd
2023-01-30 14:56:35 +08:00
Gabriel Horner
1b1e68d8ac Add show ast at block and page level 2023-01-30 14:56:35 +08:00
Gabriel Horner
dd006bf6b1 Add schema for #8429 and tweak comments 2023-01-25 16:57:34 -05:00
Konstantinos Kaloutas
07e62c81bb fix: disable onboarding on demo graph 2023-01-25 07:24:24 +08:00
situ2001
e2ff4b9600 fix: CodeMirror shortcuts cause page routing 2023-01-24 11:14:44 -05:00
Gabriel Horner
6ad521aea6 Allow keywords for macros - fix #8410 2023-01-23 15:09:06 -05:00
Andelf
df69d824ac fix(ui): stop click event propagation for pdf links 2023-01-23 11:25:15 -05:00
Yuexun Jiang
27bece47db feat: support dragging the PDF viewer head to move the window, #7187 (#8305)
* feat: support dragging the PDF viewer head to move the window, #7187

* Update src/main/frontend/extensions/pdf/pdf.css

Co-authored-by: Konstantinos <sprocketc@gmail.com>

* Update src/main/frontend/extensions/pdf/pdf.css

Co-authored-by: Konstantinos <sprocketc@gmail.com>

* Update src/main/frontend/extensions/pdf/pdf.css

Co-authored-by: Konstantinos <sprocketc@gmail.com>

* Update src/main/frontend/extensions/pdf/pdf.css

fix: comment

Co-authored-by: Konstantinos <sprocketc@gmail.com>
Co-authored-by: Konstantinos <konstantinos@logseq.com>
2023-01-23 11:13:03 -05:00
Gabriel Horner
5ac1415726 Comments to describe unresolved behavior more explicitly 2023-01-20 16:19:19 -05:00
Gabriel Horner
8e47c327bf Merge branch 'master' into ben/advanced-queries-relative-date-input 2023-01-20 15:58:40 -05:00
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
Ben Yorke
f1568dbe24 Pull out testing function for more test abstraction 2023-01-20 18:19:55 +01:00
Ben Yorke
6d1f26fa03 Abstract out helper fn for timestamp react-query-tests 2023-01-20 18:14:54 +01: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
Ben Yorke
a2efbdb333 Add error test conditions 2023-01-20 13:07:29 +01:00
Ben Yorke
ba68a368f4 Add HHMMSS and HHMMSSmmm 2023-01-20 12:53:24 +01:00
Ben Yorke
b6c00254e8 Add tests for time related queries 2023-01-20 12:29:22 +01: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
Ben Yorke
417630590a Add explicit tests for :+X-ms and :-X-ms 2023-01-18 14:40:12 +01:00
Ben Yorke
07f58f33d6 Refactor resolve-input to use simple query relative date syntax 2023-01-18 14:08:54 +01: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