Commit Graph

7119 Commits

Author SHA1 Message Date
Charlie
020317911f Enhance/plugin APIs (#7555)
* feat: WIP native cli command support

* Add :shell/command-whitelist option

* Integrate cli to code block

* Add :code-block/command-whitelist option

* fix: size of icon

* improve(shell): cache user shell whitelist on application configures file

* improve(electron): promisify run cli command

* chore(libs): update version

* fix(plugin): incorrect payload of pdf highlights section hook

* improve(plugin): block renderer with specific block uuid

* improve(plugin): expose logger for user lib

* improve(plugin): block hooks type

* improve(plugin): block slot hook with specific block

* improve(plugin): auto generate key for provide UI options

* improve(plugin): style of injected ui container

* improve(plugin): types

* improve(plugin): async messaging api from host to plugin

* improve(plugin): add types

* improve(apis): get external plugin metadata

* improve(apis): invoke external plugin impls

* improve(apis): call external plugin impls for simple commands

* enhance(apis): datascript query api for predicate inputs

* enhance(apis): datascript query api for predicate inputs

* fix(apis): redundant args of datascript query api

* enhance(plugins): position of float ui container

* enhance(plugins): style of setting options

* enhance(plugins): layouts data for float ui

* chore(plugins): update CHANGELOG.md

* improve(apis): add types

* chore: fix some inclusive terms

* improve(apis): types

* chore(plugins): update CHANGELOG.md

* chore(plugins): build libs

* chore: update CHANGELOG.md

* chore: remove experiemental alda integration

* fix(lint): remove unused methods

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2022-12-19 20:23:25 +08:00
charlie
38e58b7de5 fix(mobile): maximum width for modal content container 2022-12-19 17:30:10 +08:00
charlie
ef06aedcfb fix(ios): can't scroll when search results overflow with soft keyboard opened 2022-12-19 17:30:10 +08:00
Tienson Qin
7cb8d61347 fix: don't send pixi exceptions to sentry 2022-12-19 13:32:10 +08:00
Andelf
9a4541c7f5 feat(sync): impl proxy support
refactor: use system proxy when possible
chore: update yarn.lock
2022-12-19 13:09:24 +08:00
Andelf
0fe3ec12f3 fix(ui): wrong attribute for select component 2022-12-19 13:09:24 +08:00
Andelf
f9730b1685 enhance(ui): refine proxy test notification 2022-12-19 13:09:24 +08:00
Andelf
6fc5a265b5 enhance(electron): refine app proxy test url 2022-12-19 13:09:24 +08:00
Tienson Qin
1b04ea84da fix: ignored paths not working on web 2022-12-18 18:44:56 +08:00
sid597
35badf5c52 use ->> for better readability 2022-12-16 21:24:01 +08:00
sid597
d2b45a59b3 Update code edit for the codeblocks that are opened in main area and sidebar,or as embeds 2022-12-16 21:24:01 +08:00
Tienson Qin
160c09851f fix: backup the file in db when moving a file with a different case 2022-12-16 21:00:54 +08:00
Konstantinos Kaloutas
561b16f522 fix: open whiteboards for beta 2022-12-16 20:58:57 +08:00
Tienson Qin
2bf07a3851 enhance: automatically enable whiteboards for alpha or beta users 2022-12-16 20:58:57 +08:00
Tienson Qin
fb03581561 release: open whiteboards for beta users 2022-12-16 20:58:57 +08:00
Tienson Qin
de660638e6 fix: no need to convert blocks to tree for whiteboards 2022-12-16 20:56:31 +08:00
Andelf
dda5abd698 fix(electron): windows path 2022-12-16 17:02:42 +08:00
sallto
e0dcb7e2a3 fix: overflow of instaled plugin settings dialog 2022-12-16 15:50:17 +08:00
Tienson Qin
8ce551f827 fix: slow re-index
The reason is that reload-dir! returns a promise, but should block
waiting graph-added-chan to determine whether the parsing is finished
2022-12-16 15:05:58 +08:00
Tienson Qin
df2845b398 fix: copy block-ref instantly after input text lost block content
close #7541
2022-12-16 13:34:22 +08:00
Tienson Qin
3e71b1d6f3 fix: db/entity with interger id is not nil with non-exist block (#7723)
fix: returns nil for db/entity if the entity doesn't exist

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
2022-12-16 00:21:42 +08:00
Gabriel Horner
10d6bc28da Switch named block links to autolink to header blocks
Replaced block property approach as it doesn't provide as much
functionality initially
2022-12-15 11:14:56 -05:00
Gabriel Horner
78345ac473 Fix property completion for namespaced keywords
e.g. logseq.block/route-name
2022-12-15 11:14:56 -05:00
Gabriel Horner
6e0dea3f2c Add routing test and make ns name consistent 2022-12-15 11:14:56 -05:00
Gabriel Horner
b4f26a5c7b Add property which allows for giving a block a routable name
Also update router fn so that it works for all uses of routing to a
block
2022-12-15 11:14:56 -05:00
Peng Xiao
1141890a8c feat: grouping & ungrouping shapes (#7713)
Grouping && ungrouping shapes support
2022-12-15 22:58:18 +08:00
Junyi Du
5ee8707469 chore: merge function util/with-time and util/with-time-number 2022-12-15 20:37:17 +08:00
Gabriel Horner
39e1b8dc8a Add built-in property to list
Hide it on edit so query table doesn't look weird.
Also removed needless arity wrappings in block fns
2022-12-15 20:37:17 +08:00
Junyi Du
199be34244 test: query performance: enlarge test timeout more 2022-12-15 20:37:17 +08:00
Junyi Du
f45317e569 chore: query performance: enlarge test timeout and add dev doc 2022-12-15 20:37:17 +08:00
Junyi Du
a1c60fa58c test: monitor query sort performance in unit test 2022-12-15 20:37:17 +08:00
Junyi Du
dbf13c87d9 fix: query performance degration caused by date normalization 2022-12-15 20:37:17 +08:00
situ2001
6237399a0c fixes for PDF context menu (#7690)
* fix(pdf): do not hide ctx menu when its blank area is clicked
* fix: ensure ctx menu is shown when text is selected
2022-12-15 20:29:54 +08:00
Bad3r
07a73686cd fix(dev): do not use posthog when dev
@andelf same change in 662a8a919b
2022-12-15 19:13:53 +08:00
Andelf
662a8a919b fix(dev): do not use sentry when dev
See-also: #7703
2022-12-15 10:48:38 +08:00
Konstantinos Kaloutas
022f990f2e fix: ensure scroll position on whiteboards tour 2022-12-14 18:09:15 -05:00
Konstantinos Kaloutas
46c1126505 fix: skip label on whiteboards welcome modal 2022-12-14 18:09:15 -05:00
sallto
e96c3403bf fix: Datepicker behaves oddly if there are 2 datepickers visible at the same time (#7498)
fixes #7341

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-14 17:41:08 -05:00
Andelf
04b6bcf582 fix(dev): indeterminate warning 2022-12-14 23:58:35 +08:00
Tienson Qin
b6061f0c4d fix: block id could be empty sometimes 2022-12-14 18:20:38 +08:00
Tienson Qin
2e217f4975 fix: don't alert file already exists when case renaming in cli 2022-12-14 18:20:38 +08:00
Tienson Qin
ddd2cb3f0a fix: remove orphaned files/blocks from db when comparing db && disk 2022-12-14 18:20:38 +08:00
charlie
e2bcd3ac68 enhance(ux): precise interaction region for right fold-down button 2022-12-14 17:51:28 +08:00
Peng Xiao
6b1c703a06 fix: optimize logic 2022-12-14 17:31:20 +08:00
Peng Xiao
28bf20672a feat: always show hamburger button for mobile 2022-12-14 17:31:20 +08:00
Tienson Qin
cc3abd5daa fix: private fn 2022-12-14 12:35:43 +08:00
Tienson Qin
d743130d82 fix: use tags for filter and add user id to the scope
Development errors are collected too to help identity errors earlier
2022-12-14 12:35:43 +08:00
situ2001
89f4752adf chore: translation for notification-clear-all 2022-12-14 12:34:06 +08:00
situ2001
6999389a6d chore: translation for error msg of validate-existing-file 2022-12-14 12:34:06 +08:00
Tienson Qin
73689cc9ef fix: lint warnings 2022-12-14 12:05:46 +08:00