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
charlie
2c33c1111f
chore: rebuild libs core
2022-04-29 18:51:25 +08:00
charlie
403128f7fa
fix(plugin): hooks of register katex extensions
2022-04-29 18:51:25 +08:00
charlie
a0e494f7c7
improve(plugin): add katex hooks
2022-04-29 18:51:25 +08:00
charlie
80bc3f0337
improve(plugin): support to get app info from api
2022-04-29 18:51:25 +08:00
charlie
ad17bc97e1
improve(plugin): api types of `setBlockCollapsed`
2022-04-29 18:51:25 +08:00
charlie
c36a026502
chore(plugin): build libs core & update README.md
2022-04-29 18:51:25 +08:00
charlie
f4bb7bfa9b
fix(plugin): return clear handle for hooks api
2022-04-29 18:51:25 +08:00
charlie
1963a9709c
fix(plugin): make the latest user sdk compatible for old plugin core
2022-04-22 15:51:40 +08:00
charlie
c363c47a21
fix(plugin): compatible hooks strategy for old libs sdk
2022-04-22 15:51:40 +08:00