Commit Graph

144 Commits (18568c03a0135c5d890a1dba765e31087414d5ab)

Author SHA1 Message Date
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
Charlie 79bc33e1e3
Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00
Peng Xiao 019e67ac1f feat: expose start-of-week to plugins 2022-04-21 08:43:53 +08:00
dependabot[bot] 21a41b2d7f chore(deps): bump minimist from 1.2.5 to 1.2.6 in /libs
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 14:46:10 +08:00
Yue Yang 3d955a5b63 fix: lockfile
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-03-24 00:08:11 +08:00
Ben Jaffe b17b0ee0e1 amend 2022-03-08 14:23:50 +08:00
Ben Jaffe 9e19f89c3f amend 2022-03-08 14:23:50 +08:00
Ben Jaffe 8573baf426 add comments to make events more searchable 2022-03-08 14:23:50 +08:00
charlie 21ce5dae99 chore: bump minor version of libs package 2022-02-17 22:18:54 +08:00
Charlie 24b0236b7d
Enhance/Settings UI of plugins (#4035)
more settings types & polish releated ui
2022-02-17 10:00:53 +08:00
charlie 8636b545d2 improve(plugin): more types 2022-01-12 23:31:22 +08:00
Charlie 3ea7635daa
Enhance/marketplace (#3686)
Marketplace enhancement

Nested modal support
2022-01-07 19:00:35 +08:00
YangKeao e56bf09d4b fix(plugin): allow target attribution in provideUI
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
2021-12-29 20:36:24 +08:00
charlie 9e44bdca48 chore(plugin): bump libs version 2021-12-25 13:40:53 +08:00
charlie 6f1c076f8d improve(plugin): typos 2021-12-21 12:38:44 +08:00
charlie 42fca338ec improve(plugin): export api of exec_git_command 2021-12-21 12:38:44 +08:00
charlie c46fa35095 improve(plugin): more types 2021-12-21 12:38:44 +08:00
Tienson Qin 02973cba6c
Replace logseq.github.io with docs.logseq.com (#3526) 2021-12-20 12:32:44 +08:00
charlie 880a07e541 improve(plugin): simplify code 2021-12-16 19:23:43 +08:00
charlie 8baa692539 improve(plugin): types 2021-12-16 19:23:43 +08:00
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