charlie
8b406f68c7
fix(plugin): incorrect status for beforeunload hook
2023-03-06 12:05:39 +08:00
charlie
ec6e99e447
fix(plugin): force disable the unloaded(error) plugin
2023-02-28 15:13:42 +08:00
Zhizhen He
25c15053d6
feat: add typos to GitHub action
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Junyi Du
05ff96ebf9
fix: search service plugin API typo
2023-01-12 00:47:44 +08:00
Charlie
675811ccde
Enhance/plugins ( #8202 )
...
* improve(plugins): install hooks with user options
* improve(plugin): remove todos
* improve(plugin): hook for a specific plugin
* e2e tests
* improve(ui): global search bar for the results from the custom search service
2023-01-05 19:30:41 +08:00
dependabot[bot]
f592fd24a2
chore(deps): bump json5 from 2.2.1 to 2.2.2 in /libs
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 17:41:54 +08:00
charlie
316ac6afd9
improve(apis): events data for injected ui
2022-12-26 12:10:23 +08:00
charlie
488d376262
fix(plugin): correct parameters of datascript query api
2022-12-22 21:14:36 +08:00
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
Manu [tennox]
8a6e0bdcc2
feat(api): add keepUUID option to insertBatchBlock
2022-12-05 11:15:48 +08:00
Charlie
dda1f9bd9f
Enhance / Plugin APIs ( #6945 )
...
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR
Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
2022-11-22 22:00:29 +08:00
Manu [tennox]
4217057a44
Add option to insert block without focusing it afterwards
2022-11-17 15:48:43 +08:00
charlie
7c6c829d87
fix(plugin): strategy to validate plugin id duplicated
2022-11-11 17:33:15 +08:00
Charlie
d53ac94bfc
Enhance/pdf improvements ( #6475 )
...
Full-text search, highlights and assets alias support
It also exposes a plugin API for highlight context menu
```ts
/**
* Current it's only available for pdf viewer
* @param label - displayed name of command
* @param action - callback for the clickable item
* @param opts - clearSelection: clear highlight selection when callback invoked
*/
registerHighlightContextMenuItem: (
label: string,
action: SimpleCommandCallback,
opts?: {
clearSelection: boolean
}
) => unknown
```
2022-10-09 20:44:18 +08:00
Peng Xiao
c7fe4933b4
Merge remote-tracking branch 'upstream/master' into whiteboards
2022-10-07 16:18:27 +08:00
Tienson Qin
f4262cf919
Enhance/api storages for graph assets ( #6488 )
...
* improve(api): assets storage for plugin
Co-authored-by: charlie <xyhp915@qq.com>
2022-10-04 12:30:19 +08:00
Peng Xiao
4d3decd218
fix: code cleanup
2022-09-28 11:00:57 +08:00
lord63
5dd7312342
Guide developer to use logseq.UI.showMsg
2022-09-19 15:00:16 +08:00
Charlie
01d879c18e
feat!: File Sync ( #5355 )
...
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks
Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
charlie
04e04e4005
improve(plugin): plugin perf tips for initial loader
2022-08-26 18:48:00 +08:00
charlie
85aeba99ab
improve(api): types & typos
2022-08-22 21:54:17 +08:00
charlie
7e3610077b
chore: build libs core with more debug info
2022-08-22 21:54:17 +08:00
charlie
09d43983f2
improve(api): event hook of after graph indexed
2022-08-22 21:54:17 +08:00
charlie
5815f37df1
improve(api): expose more values for user configures
2022-08-22 21:54:17 +08:00
charlie
eb72f2e3c7
improve(plugin): api to create block uuid
2022-08-22 21:54:17 +08:00
charlie
af49427ef1
improve(plugin): api of select single block
2022-08-08 15:49:11 +08:00
charlie
7bd32fb911
improve(plugin): update types
2022-08-08 15:49:11 +08:00
charlie
1665058386
improve(plugin): perf console table
2022-08-08 15:49:11 +08:00
charlie
3e7c20fd80
improve(plugin): support textarea for settings input item
2022-08-08 15:49:11 +08:00
dependabot[bot]
82671fd612
chore(deps): bump terser from 5.7.1 to 5.14.2 in /libs
...
Bumps [terser](https://github.com/terser/terser ) from 5.7.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 22:34:02 +08:00
charlie
cc04718576
fix(plugin): occasional memory leak when dynamic slot ui with provide ui
2022-07-14 11:09:10 +08:00
yoyurec
3b383a918b
Add heading in plugin settings
2022-07-09 23:20:27 +08:00
Scott Block
d15fb1c56a
(chore): Update getAllPages typescript ( #5908 )
...
* Update getAllPages typescript
* Optionally add updatedAt to PageEntity
2022-07-04 15:40:44 +08:00
charlie
35331334f3
chore: update libs version
2022-06-16 01:43:49 +08:00
charlie
f3bedb200e
improve(plugin): add theme changed hook
2022-06-16 01:43:49 +08:00
charlie
e4b71a4ccf
improve(plugin): support abortable controller of request api
2022-06-16 01:43:49 +08:00
charlie
7b2ce59787
improve(plugin): types of request api
2022-06-16 01:43:49 +08:00
charlie
98ea0148ff
improve(plugin): WIP api of http request
2022-06-16 01:43:49 +08:00
charlie
a134267c39
chore(libs): update dependencies
2022-06-16 01:43:49 +08:00
charlie
3b0e1c58a3
improve(plugin): WIP api of http request
2022-06-16 01:43:49 +08:00
charlie
a9c02b87fd
improve(plugin): update types
2022-06-16 01:43:49 +08:00
charlie
2aa50f6199
feat(plugin): WIP request api
2022-06-16 01:43:49 +08:00
Yue Yang
17b91e51c3
feat: custom theme switching ( #4741 )
...
* feat: custom theme switching
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: handle reset-custom-theme
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: unregisterTheme
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: format with ts-standard
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: reset extra formats
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: simplify array types
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* Update lsplugin.core.js
* fix: sync upstream
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: add `no mode` themes into panel
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: ci
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: remove first <hr />
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: lockfile
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: update
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* chore: set-theme! => set-theme-mode!
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* fix: selectTheme
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
* perf: reduce unnecessary logic
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-05-19 10:18:43 +08:00
charlie
7a7dbd5e68
enhance(shortcut): support intuitional keyboard chars for binding key
2022-05-06 23:39:51 +08:00
charlie
de0d6e0e04
chore(plugin): bump libs minor version
2022-04-29 18:51:25 +08:00
charlie
a33bb0cad1
fix(plugin): fix code style
2022-04-29 18:51:25 +08:00
Charlie
9885dc64e0
Update libs/src/LSPlugin.user.ts
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2022-04-29 18:51:25 +08:00
charlie
9032d67113
chore(plugin): bump libs minor version
2022-04-29 18:51:25 +08:00
charlie
2b826f17de
improve(plugin): add api of query element rect data from host
2022-04-29 18:51:25 +08:00
charlie
8f9d21af0f
improve(plugin): simplify identity string of injected ui
2022-04-29 18:51:25 +08:00