charlie
2566330e45
improve(plugin): load fresh settings when reload
2021-12-16 19:23:43 +08:00
Charlie
9029c632ef
Enhance/plugin apis ( #3355 )
...
* improve(plugin): support autoFocus option for main ui frame
* improve(plugin): make single selected block as current block
* improve(api): get selected blocks
* improve(plugin): support call built-in command from api
* fix(plugin): sanitize key of shortcut id
* improve(plugin): add invoke built-in command api &
* fix(editor): overwritten class of collapsed block
* improve(plugin): add `getStateFromStore` api
* chore: build libs core
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-12-08 10:43:58 +08:00
Peng Xiao
b4dbf1a04c
fix: queryElementById type
2021-11-30 11:04:20 +08:00
charlie
18c37bd573
chore(plugin): bump libs version
2021-11-24 11:38:06 +08:00
charlie
8320315dcc
improve(plugin): add sidebar related apis
2021-11-24 11:38:06 +08:00
Charlie
c2b882b57d
Feat/support keybinding for plugin commands ( #3176 )
...
register shortcut and shortcut for palette commands
2021-11-22 15:44:27 +08:00
hkgnp
0824a1bbd6
Include isPageBlock property in insertBlock
...
Currently, using the isPageBlock property when using insertBlock allows you to insert a block on an empty page. However, there will be a TS error as shown below:
```
Argument of type '{ isPageBlock: boolean; }' is not assignable to parameter of type 'Partial<{ before: boolean; sibling: boolean; properties: {}; }>'.
Object literal may only specify known properties, and 'isPageBlock' does not exist in type 'Partial<{ before: boolean; sibling: boolean; properties: {}; }>'.
```
This PR attempts to remove this lint error.
2021-11-22 09:14:59 +08:00
charlie
72f0716998
chore(plugin): update libs README.md
2021-11-16 18:54:49 +08:00
charlie
7158141637
chore(plugin): build libs & bump version
2021-11-16 18:54:49 +08:00
charlie
5a3e93f930
improve(plugin): reset option for slot container
2021-11-16 12:02:18 +08:00
Charlie
72c038e6fe
Feat/moveable plugin UI container ( #3045 )
...
* improve(plugin): add container for main ui frame
* feat(plugin): support draggable & resizable UI container for main ui
* feat: support fork sub layout container
* improve(plugin): add editor selection api
* improve(plugin): click outside configure for float container
* improve(plugin): api of journal for create-page
* improve(plugin): api of open-in-right-sidebar
* improve(plugin): add full screen api
* improve(plugin): api of register-palette-command
* improve(plugin): add apis
2021-11-15 16:57:20 +08:00
charlie
c34c9184e2
fix(api): sanitize html for security
2021-10-08 17:37:11 +08:00
charlie
0530a345a7
improve(plugin): clear theme effects before update plugin
2021-09-17 11:02:21 +08:00
Charlie
18b7a7864b
Feat/plugin marketplace ( #2766 )
...
* Squashed commit of the following:
commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Aug 27 00:23:24 2021 +0800
feat: type c to git commit
also, fixed an issue that backspace can delete selected blocks
when there's a dialog.
commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Aug 27 00:01:21 2021 +0800
fix: add patch parser worker to yarn watch
commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Thu Aug 26 23:57:46 2021 +0800
fix: add several shortcuts to the Others category
commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Thu Aug 26 23:55:40 2021 +0800
fix: git username and email configuration
* Squashed commit of the following:
commit 401d85be5f
Author: Peng Xiao <pengxiao@outlook.com>
Date: Fri Aug 27 11:10:32 2021 +0800
feat: add protobuf mode
commit dc1e9fdfc9
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Aug 27 13:33:47 2021 +0800
chore: replace : with comma for git path
':' is a reserved character on Windows
commit ea9af272e4
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Aug 27 00:23:24 2021 +0800
feat: type c to git commit
also, fixed an issue that backspace can delete selected blocks
when there's a dialog.
commit 78e24f7479
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Fri Aug 27 00:01:21 2021 +0800
fix: add patch parser worker to yarn watch
commit 7f6e777bcd
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Thu Aug 26 23:57:46 2021 +0800
fix: add several shortcuts to the Others category
commit 509697b276
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Thu Aug 26 23:55:40 2021 +0800
fix: git username and email configuration
* feat(plugin): ui of marketplace plugins list
* improve(plugin): support reload
* improve(plugin): installation from marketplace
* fix conflicts
* improve(plugin): installation from github public repo
* chore: remove unwanted dependency
* chore: remove console
* improve(plugin): add shortcuts
* ui(plugin): polish LOADING indicator
* improve(plugin): support up-to-date of marketplace plugin
* fix: remove debug option
* improve(plugin): better interaction of themes picker
* improve(plugin): better experience when installing theme from marketplace
* fix(plugin): downloads label of marketplace plugin
* improve(plugin): update package name field
* improve(plugin): change marketplace packages repo to `logseq/marketplace`
* fix(plugin): plugin title when updating notification
* fix: conflicts
* enhance(plugin): i18n related marketplace & lifecycle of plugin installation
* improve(plugin): handle offline situation
* ui(plugin): header plugin icons container
* fix(ui): add class identity for journal page with date page name
* improve(plugin): remote readme for marketplace plugin
* enhance(plugin): polish plugin card
* chore(plugin): build libs core
* Squashed commit of the following:
commit 751db4828c
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Tue Sep 7 16:58:25 2021 +0800
enhance: log git errors
commit c2dbbc77bf
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Tue Sep 7 16:27:00 2021 +0800
enhance: display refresh status
commit f734b6db37
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Tue Sep 7 16:03:57 2021 +0800
fix: .git doesn't work well with third-party cloud services
commit 7e44d81f1d
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Tue Sep 7 13:52:38 2021 +0800
fix: git init into the current graph folder
instead of a separate git directory because .gitdir might has
different paths on multiple devices, another reason is that the graph
might have different histories considering the .git directory is not
synced.
commit b86a801514
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 23:23:27 2021 +0800
enhance: don't show diff if there's only blank changes
commit 0b55d119aa
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 22:39:06 2021 +0800
fix: save the previous content in Logseq first and commit it
to avoid overwritten when syncing with iCloud/Dropbox/syncthing.
commit e0baf4b05c
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 22:18:45 2021 +0800
fix: close file watcher when exit the app
commit 10e7a9fbd6
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 21:05:38 2021 +0800
fix: disable cut selections in the query result block
commit 90c2bd7cc2
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 18:42:17 2021 +0800
fix: terminate parser and persist dbs when reloading the app (electron)
commit 571c81af30
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 17:57:33 2021 +0800
enhance: add sync from local files (the old refresh way)
commit a16e5c98ba
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 17:23:57 2021 +0800
fix: Dragging blocks to update notes does not synchronize updates to
the notes file in real time.
close #2744
commit 6897a22a3f
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 16:43:30 2021 +0800
fix: disable page/block auto-complete once the cursor went outside
commit feb4404874
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 13:28:47 2021 +0800
fix: wrong page metadata saved for another graph
commit b96332122f
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 13:08:28 2021 +0800
enhance: catch errors when app quits
commit 1ee0c240c3
Author: Jiang Hailong <gombiuda@gmail.com>
Date: Wed Sep 1 20:54:13 2021 +0800
FIX: Linked reference is not refresh after file altering #2694
commit 0550c8a876
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 12:25:39 2021 +0800
fix: display logbook for scheduled tasks
commit 2a5f0cee7c
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 12:21:19 2021 +0800
fix: spent hours for logbook
commit 1f2c9e4d3f
Author: leizhe <lzhes43@gmail.com>
Date: Sat Sep 4 12:59:09 2021 +0900
fix(timestamp): remove old SCHEDULED/DEADLINE timestamp
When using `date-picker` to update the SCHEDULED/DEADLINE timestamp by
clicking an existing one, logseq will add a new timestamp instead of
updating the old one. This patch fixs this issue.
commit cb23b967e4
Author: leizhe <lzhes43@gmail.com>
Date: Sat Sep 4 11:36:34 2021 +0900
fix(repeat): more consistent with orgmode style
Ref: https://orgmode.org/manual/Tracking-your-habits.html
commit 229c7f2594
Author: leizhe <lzhes43@gmail.com>
Date: Sat Sep 4 15:11:07 2021 +0900
enhance(property): remove empty properties drawer
commit a76df9ce97
Author: leizhe <lzhes43@gmail.com>
Date: Sat Sep 4 10:27:30 2021 +0900
fix(clock): duplicate clock-in log twice
1. `set-marker` will not log time anymore. The time logging is moved
to `with-timetracking`
2. Concat `logbook` only if `new-clocks` is nil, which fixs the
duplication of clock-in log.
commit c79e9f9e3e
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 12:04:16 2021 +0800
code: cleanup
commit 9ec85db09a
Author: DarshanSudhakar <$K3Ug1i&>
Date: Mon Sep 6 08:32:07 2021 +0530
Fixing typo for the tooltip 'Block reference'
commit eec677873b
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 11:49:58 2021 +0800
enhance: page history support reverting back
commit 7273112a00
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 11:23:31 2021 +0800
git: revert back
commit cd853b5864
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 10:39:08 2021 +0800
git: should compare ignored-files with disk content
commit a84dfb5eff
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 10:31:16 2021 +0800
git: add ignore-files to avoid repeated notifications
commit 86577e7ebf
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 10:07:39 2021 +0800
fix: ignore permission denied error when git add all
commit 8dc0ca9ff5
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 09:54:03 2021 +0800
fix: run git config core.safecrlf false on windows
commit 9edaae559d
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 09:20:06 2021 +0800
refactor: extract file ops
commit f12f58d3fa
Author: tiagodevezas <tiagodevezas@gmail.com>
Date: Fri Sep 3 23:25:07 2021 +0100
fix typos
commit 9e82f0117c
Author: tiagodevezas <tiagodevezas@gmail.com>
Date: Fri Sep 3 21:32:03 2021 +0100
Translate shortcuts to Portuguese (pt-PT)
commit 9a2c17bb05
Author: tiagodevezas <tiagodevezas@gmail.com>
Date: Fri Sep 3 20:58:33 2021 +0100
Translate new settings to pt-PT
commit c05034cc34
Author: Sebastian Bensusan <sbensu@gmail.com>
Date: Sat Sep 4 07:57:07 2021 -0700
feat(calc): Understand percentages
commit bfe6a5d6cb
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 6 08:46:30 2021 +0800
enhance: commit the content in logseq when detecting any disk changes
* improve(plugin): add install plugin api
* fix(plugin): protected plugin installation api
* improve(plugin): tweak readme display for local
* fix: conflicts
* fix(plugin): get block option with include children
* improve(plugin): copy more marketplace manifest fields to plugin
* fix: conflicts
* improve(plugin): shortcut for copying plugin id
* Squashed commit of the following:
commit e51ea54a75
Author: Tienson Qin <tiensonqin@gmail.com>
Date: Mon Sep 13 10:40:25 2021 +0800
fix: change ack timeout
* fix(plugin): non blank icon string
* fix: conflicts
* fix: e name
* fix: remove debug from state
* chore(plugin): bump libs minor version
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2021-09-13 19:49:51 +08:00
charlie
7edc34b85a
chore(plugin): bump libs version
2021-08-25 16:28:57 +08:00
charlie
d8d69c0e51
improve(plugin): run installed plugin in isolated domain
2021-08-25 16:24:56 +08:00
charlie
f2b2552a6c
improve(plugin): types
2021-08-25 09:39:18 +08:00
charlie
94c3857da4
improve(plugin): simplify caller
2021-08-23 18:19:06 +08:00
charlie
e1c207ca03
plugin(api): add data format field for user configs
2021-08-21 22:36:24 +08:00
charlie
a5f5fe2910
improve(plugin): support macro renderer hook
2021-08-20 17:44:51 +08:00
charlie
d00e89b9a6
improve(plugin): run internal plugin in isolated domain
2021-08-18 22:56:58 +08:00
charlie
b705732dcc
improve(plugin): add dsl query type
2021-08-17 17:38:39 +08:00
charlie
6697e35258
improve(plugin): add page related api
2021-08-17 16:53:33 +08:00
charlie
0750d0c09a
improve(plugin): add perf info table for loading phase
2021-08-17 12:00:21 +08:00
charlie
9edd2c6f19
chore(plugin): bump minor version
2021-07-19 19:36:33 +08:00
charlie
981bcf5ec6
improve(plugin): add types and api of scrolling to block in page
2021-07-19 19:36:33 +08:00
charlie
510e21f81d
fix(plugin): types
2021-07-14 00:37:31 +08:00
charlie
f4b6995479
fix(plugin): typo
2021-07-14 00:37:31 +08:00
charlie
9fab48d8d2
chore(plugin): build & bump minor version
2021-07-14 00:37:31 +08:00
charlie
661bb064f7
improve(plugin): basic impls of file storage api for specific plugin context
2021-07-14 00:37:31 +08:00
charlie
153f8f3202
improve(plugin): rename api & bump minor version
2021-07-02 10:51:44 +08:00
charlie
fe5cbbb5af
chore(plugin): bump libs version
2021-06-30 17:46:15 +08:00
charlie
af4ec42c78
improve(plugin): support register page bar menu action item
2021-06-30 17:44:51 +08:00
charlie
d4c7a8a3b0
improve(plugin): types
2021-06-29 18:01:10 +08:00
charlie
71c3b6fca1
chore(plugin): bump libs version
2021-06-29 17:55:21 +08:00
charlie
e947acf7bd
feat(plugin): support configurable UI api for toolbar action items
2021-06-29 17:55:06 +08:00
charlie
ac5d4b4508
improve(plugin): add openExternalLink api
2021-06-22 21:57:58 +08:00
Tienson Qin
40922ae477
doc: add plugins community templates
2021-06-17 19:37:19 +08:00
charlie
6535e2068d
improve(plugin): insert block api & type & bump libs version
2021-06-17 13:17:15 +08:00
Tienson Qin
12ea1a29f3
fix: api-insert-new-block!
2021-06-17 12:25:18 +08:00
charlie
33072a2e18
fix(plugin): remove debugger
2021-06-17 10:33:17 +08:00
charlie
80e47bf829
fix(plugin): beforeunload call error if it not exist & bump libs version
2021-06-17 10:33:17 +08:00
Tienson Qin
a94bd64c1d
docs: add plugins sample and feedback links
2021-06-15 21:11:22 +08:00
charlie
100b3ee0e8
improve(plugin): api types & bump libs version
2021-06-15 20:47:10 +08:00
Junyu Zhan
8da1374356
feat: add more doc comments for plugins
2021-06-13 08:34:14 +08:00
dependabot[bot]
b7e3f0c8b9
chore(deps): bump browserslist from 4.16.3 to 4.16.6 in /libs
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6 )
---
updated-dependencies:
- dependency-name: browserslist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 19:26:34 +08:00
dependabot[bot]
3537016df1
chore(deps): bump ws from 7.4.4 to 7.4.6 in /libs
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 19:26:14 +08:00
charlie
2a4ce84dd8
chore(plugin): bump libs version
2021-06-11 13:46:04 +08:00
charlie
4f0cf8a88e
improve(plugin): types & apis of slot hooks
2021-06-11 13:45:35 +08:00
charlie
d6b43ee91f
chore(plugin): bump libs version
2021-06-10 17:40:44 +08:00
charlie
da1f415af3
improve(plugin): add graph related api & types
2021-06-10 17:39:10 +08:00
charlie
6305545f26
improve(plugin): add batch block api & types
2021-06-10 15:16:00 +08:00
charlie
52b72342d9
Merge branch 'feat/integration-plugins-core' of github.com:logseq/logseq into feat/integration-plugins-core
...
# Conflicts:
# libs/src/LSPlugin.ts
2021-06-09 20:17:10 +08:00
Junyu Zhan
a6e0f6181a
feat: add more comment doc for plugin APIs
2021-06-09 20:05:41 +08:00
charlie
b3e6ba1efe
improve(plugin): fit for tsdoc extractor
2021-06-09 19:07:10 +08:00
charlie
db85eac095
improve(plugin): update api
2021-06-07 22:22:26 +08:00
charlie
b1b04ad7b0
improve(plugin): bump sdk version & fixed types
2021-06-07 21:54:18 +08:00
charlie
a623b31d42
improve(ui): details of plugin item
2021-06-07 21:12:46 +08:00
Peng Xiao
3974d4d8f8
feat: allow get page by id
2021-06-07 10:39:41 +08:00
charlie
fe07418127
chore(plugin): bump sdk version
2021-06-05 11:41:40 +08:00
charlie
e0840067c2
improve(plugin): add more types & apis
2021-06-05 11:38:50 +08:00
Peng Xiao
4b80f33a6b
fix: add getPage type
2021-06-04 15:42:20 +08:00
Peng Xiao
f0958a5b24
fix: BlockEntity optional fields
2021-06-04 12:13:28 +08:00
Peng Xiao
0a0f99eced
fix: add PageEntity type
2021-06-04 09:50:07 +08:00
charlie
a8e2288ba6
chore(plugin): bump sdk version
2021-06-03 19:24:58 +08:00
charlie
06fa2434a6
improve(plugin): add editing apis & types
2021-06-03 19:22:51 +08:00
charlie
ba1cc8f752
improve(plugin): add editting cursor api & types
2021-06-03 09:56:46 +08:00
charlie
755afdb236
improve(plugin): add types
2021-06-02 14:27:29 +08:00
charlie
fd998d26b2
improve(plugin): api of editing cursor position & types
2021-06-02 14:19:40 +08:00
charlie
c9f68296b4
improve(plguin): apis about insertion related with cursor state & more types
2021-06-01 22:33:41 +08:00
charlie
2cd0c5b3b8
improve(plugin): more apis & types
2021-06-01 16:30:04 +08:00
charlie
430c00f8e7
improve(plugin): user types
2021-05-28 19:51:45 +08:00
charlie
ec0d35f167
chore(plugin): bump version
2021-05-24 20:46:07 +08:00
charlie
4208a94e72
fix(plugin): update block for editing mode
2021-05-24 19:42:00 +08:00
charlie
1cf08d071d
improve(plugin): add beforeunload interceptor
2021-05-21 13:56:59 +08:00
charlie
d8fd0b909f
chore(plugin): bump version
2021-05-20 19:27:47 +08:00
charlie
76bfb6d7be
improve(plugin): fix blocks tree & types
2021-05-20 19:27:08 +08:00
charlie
037a0122a8
chore(plugin): bump version
2021-05-20 17:48:55 +08:00
charlie
4fe0b806c6
improve(plugin): initial impls of block related apis
2021-05-20 17:47:48 +08:00
charlie
e108193ff5
chore(plugin): bump version
2021-05-19 18:16:43 +08:00
charlie
33dc32a6e8
improve(plugin): add sidebar-open? hook & insert block api
2021-05-19 17:11:32 +08:00
charlie
fa77070e59
improve(plugin): route changed hook & more types
2021-05-19 14:47:39 +08:00
charlie
c6d1754660
improve(plugin): export exceptions of api call
2021-05-19 10:34:31 +08:00
charlie
cb11e1a826
fix(plugin): types
2021-05-18 11:29:22 +08:00
Peng Xiao
8fa6da6901
type: fix type
2021-05-18 10:33:34 +08:00
Peng Xiao
8561acb57f
enhance: types for lsp
2021-05-18 10:33:34 +08:00
charlie
57079a9234
chore(plugin): bump version
2021-05-17 11:14:37 +08:00
charlie
e57d382d3c
improve(plugin): add get app config api
2021-05-11 14:11:41 +08:00
charlie
d5a1a63362
improve(plugin): more editor api
2021-05-11 11:38:55 +08:00
charlie
4043c163fb
improve(plugin): add block entity type
2021-05-10 17:51:05 +08:00
charlie
861d492202
chore(plugin): build core file
2021-05-08 20:33:18 +08:00
charlie
bba717d533
improve(plugin): api types
2021-05-08 20:33:03 +08:00
charlie
f3edb9b77f
feat(plugin): merge implementation
2021-05-08 20:32:20 +08:00
Tienson Qin
f1f9800d96
Revert "feat(plugin): merge implementation"
...
This reverts commit 7f867236d7
.
2021-05-08 19:02:34 +08:00
Tienson Qin
ebdba0e436
Revert "improve(plugin): api types"
...
This reverts commit c967c5216f
.
2021-05-08 19:00:53 +08:00
charlie
c967c5216f
improve(plugin): api types
2021-05-08 15:21:49 +08:00
charlie
7f867236d7
feat(plugin): merge implementation
2021-05-07 16:54:14 +08:00