Commit Graph

228 Commits

Author SHA1 Message Date
charlie
c51d43332a fix(plugins): incorrect theme url for the desktop native 2025-03-20 11:29:42 +08:00
charlie
e362cfa0ae enhance(plugins): types 2025-03-20 10:44:23 +08:00
charlie
03592a26b6 chore: typo 2025-01-14 17:51:53 +08:00
charlie
9224df59cc enhance(apis): add remove property & types 2025-01-14 17:51:15 +08:00
charlie
99998e25e9 enhance(libs): utils apis 2025-01-09 17:35:55 +08:00
charlie
72c09e5c30 enhance(libs): types 2025-01-09 14:22:30 +08:00
charlie
d0cd4c2e1e enhance(plugin): auto updates for web plugins 2025-01-08 13:15:26 +08:00
charlie
890a06fa19 enhance(plugin): install plugin from web url 2025-01-07 17:21:38 +08:00
charlie
d504ba36f1 chore(libs): bump version 2025-01-06 17:40:47 +08:00
charlie
25adb80b96 enhance(plugin): app proxy call 2025-01-06 17:34:03 +08:00
charlie
87e01f116b enhance(apis): add types 2025-01-06 15:54:21 +08:00
charlie
109e91bd35 enhance(plugin): check updates for the web plugins 2024-12-30 18:15:24 +08:00
charlie
208ca930eb refactor(plugin): names 2024-12-30 16:17:41 +08:00
charlie
49227f4651 enhance(plugin): ignore save package json for the web plugin 2024-12-30 16:03:59 +08:00
charlie
9ce4bbc16c enhance(plugin): plugin settings for web lsp 2024-12-28 20:04:41 +08:00
charlie
ca03681754 enhance(plugin): unlink plugins for web 2024-12-28 11:48:26 +08:00
charlie
23166186b0 enhance(plugin): add load events 2024-12-28 10:50:08 +08:00
charlie
d3b68f1ff7 enhance(plugins): simplify state for the installed web plugins 2024-12-26 15:43:33 +08:00
charlie
5c6290339a enhance(plugins): persistance strategy for the installed web plugins 2024-12-26 00:33:09 +08:00
charlie
1af1c14edc enhance(plugin): WIP install plugin from web 2024-12-25 19:52:49 +08:00
charlie
8379277322 chore(libs): upgrade dompurify 2024-09-25 19:19:28 +08:00
charlie
27b9f6b5c6 enhance(api): WIP adjust property related APIs 2024-09-14 16:05:38 +08:00
charlie
e05dc085a2 fix(plugin): incorrect normalize data case for the hashmap value 2024-09-05 20:12:45 +08:00
charlie
fccef5e904 enhance(plugin): api types for the property entity 2024-09-05 17:12:17 +08:00
charlie
a7a19eb88b enhance(plugin): get caller plugin id from host 2024-09-05 11:31:52 +08:00
charlie
35a2c8ec40 enhance(plugin): api types 2024-09-03 11:14:21 +08:00
charlie
b755369a0b enhance(apis): get blocks from batch blocks insertion 2024-08-15 17:26:51 +08:00
charlie
4a0f1d7c4f chore(libs): next version for libs package 2024-08-14 17:52:58 +08:00
charlie
7209540fe2 fix(api): compatible block content/title for the classic APIs 2024-07-31 12:05:44 +08:00
Gabriel Horner
36d1ee7790 Merge branch 'master' into feat/db 2024-07-22 09:43:21 -04:00
YU
b383a6102d update README.md (A link add to the community template) 2024-07-22 21:32:24 +08:00
charlie
73757c0f21 enhance(api): enhancements & types 2024-06-21 09:57:05 +08:00
charlie
bdfda0b9db enhance(api): block related types 2024-06-04 15:32:09 +08:00
charlie
de9940dc9b enhance(plugin): more args extensible for the exported editor component 2024-04-09 23:30:36 +08:00
charlie
18a1655cac enhance(plugin): support custom daemon renderer from the plugin sdk 2024-03-22 15:25:02 +08:00
charlie
9e84bd44f2 enhance(plugin): export experiments scope components 2024-03-22 00:09:37 +08:00
charlie
53125d6315 enhance(plugin): support custom routes from the plugin sdk 2024-03-21 19:07:16 +08:00
Charlie
7db164ab47 Enhance: APIs related issues (#10782)
* fix(plugins): load unpacked package for the existed plugin

* enhance(plugin): increase timeout time for the plugin handshake

* enhance(api): support option to insert block with auto ordered list

* fix(api): skip empty target for the batch insertion blocks

* fix(api): before option for the batch blocks insertion

* enhance(api): types

* chore: bump minor version

* fix(apis): Empty `payload.uuid` when executing onMacroRendererSlotted inside query table
2024-01-16 15:47:56 +08:00
Charlie
036df25a17 Enhance: plugin APIs (#10399)
* enhance(plugin): call apis with the sdk ns

* enhance(plugin): types

* enhance(api): get value from the computed style

* enhance(api): types

* enhance(plugin): types

* enhance(plugin): types

* fix: lint

* fix(apis): incorrect shortcut command registion for block editing mode #10392

* fix(api): types

* enhance(apis): support register shortcuts with multi binding vals

* fix(plugins): normalize command key to make the internal keyword legal

* chore(plugin): build libs core

* chore(plugin): bump version

* enhance(apis): normalize apis cljs data

* chore(plugin): update libs user sdk

* chore(plugin): CHANGELOG.md

* fix: typo

* fix(ux): support querying plugins with right space chars
2023-12-13 15:42:21 +08:00
Tienson Qin
88acf53303 fix: lint warnings 2023-11-13 22:59:34 +08:00
Tienson Qin
de4ad909a9 Merge branch 'master' into feat/cmdk 2023-11-06 16:12:02 +08:00
Tienson Qin
b91fd4e6c8 Remove old cmdk && command palette 2023-11-06 15:25:35 +08:00
dependabot[bot]
a67ed5c114 chore(deps): bump @babel/traverse from 7.20.1 to 7.23.2 in /libs
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 12:30:14 +09:00
hkgnp
1c0e18daaa chore: add marker prop to BlockEntity interface 2023-10-05 11:08:53 +09:00
Charlie
331afbc04f Enhance/plugins apis (#10127)
* enhance(api): add page to recent for route api

* enhance(api): support open block in right sidebar with entity id
2023-09-06 14:49:18 +00:00
charlie
2eaa1162e1 enhance(plugin): better log for beforeunload hook on user side 2023-08-30 14:17:14 +08:00
Allan Chain
bba8aa5729 fix: reject promise on child error
So that the we won't await infinitely.

Fixes #10107
2023-08-30 14:17:14 +08:00
Leonardo Salgueiro
5e1117ef92 fix(bug): #4447 (#10111)
* actually using result from deepMerge when updating settings
* replacing merge from lodash with merge from deepmerge

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-08-30 14:15:45 +08:00
Charlie
6d6da2046c Enhance/shortcuts (#9803)
* refactor(shortcuts): simplify to build handler category map

* fix(shortcuts): redundant re-mount for the pdf shortcuts

* refactor(shortcuts): simplify names

* refactor(shortcuts): simplify user keynames

* fix(shortcuts): persist inited state for dev mode

* refactor(shortcuts): simplify handlers installation

* refactor(shortcuts): optimize shortcuts mixin

* fix: incorrect function ref

* refactor(shortcuts): shortcuts mixin

* fix(shortcuts): incorrect initialization for the pdf shortcut handler

* refactor(shortcuts): optimize binding keys map

* refactor(shortcuts): optimize shortcuts conflicts detection

* refactor(shortcuts): optimize binding ids map

* refactor(shortcuts): WIP the new keymap page

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP fuzzy search for the shortcuts

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP check shortcut conflicts component

* feat(shortcuts): WIP the new shorcuts record component

* refactor(shortcuts): WIP persist user shortcuts

* fix(shortcuts): detection for the conflicts

* feat(shortcuts): WIP detection for the conflicts

* feat(shortcuts): WIP persist user shortcuts

* refactor(shortcuts): add unit tests

* enhance(ux): search pane for the shortcuts

* feat(shortcuts): remove the existent shortcut item

* feat(shortcuts): fold/unfold categories

* feat(shortcuts): add shortcuts filters

* enhance(shortcuts): resove binding map description

* enhance(shortcuts): reactive category shortcuts

* enhance(shortcuts): register api for plugins

* feat(shortcuts): add keyboard shortcuts filters

* feat(shortcuts): impl keyboard shortcuts filters

* enhance(shortcuts): leader keys for the shortcut conflicts detection

* enhance(tests): leader keys conflicts for the shortucts

* enhance(shortcuts): parse conflicts from current binding list

* enhance(ui): polish the component of the restore shortcut action

* enhance(shortcuts): get conflicts with specific handler id

* enhance(shortcuts): polish the confilts component

* enhance(shortcuts): polish keymap conflicts component

* enhance(shortcuts): ux for handling shorcuts conflicts

* enhance(ui): polish notifications cp

* fix(shortcuts): remove reduplicate shortcuts for category

* enhance(shortcuts): polish ux for handling shorcuts conflicts

* chore(plugin): build libs core

* enhance(plugin): support shortcut command lifecycle hooks

* enhance(plugin): support shortcut command lifecycle hooks

* chore(plugin): build libs core

* enhance(shortcuts): support shortcuts saved to global config

* enhance(shortcuts): support shortcuts be saved to global config

* feat(shortcuts): support keymap manager to global settings

* enhance(shortcuts): shortcut to open keymap settings

* fix(units): tests

* fix: lints

* enhance(shortcuts): unlisten all shortcuts

* fix: lints

* fix: lints

* fix(units): tests

* fix(units): tests

* fix(units): tests

* enhance(shortcuts): unlisten/listen all shortcuts

* enhance(shortcuts): polish conflicts component

* fix(ui): modal size

* fix(ui): modal panel container

* enhance(shortcuts): i18n

* enhance(ui): layout of the shortcuts recorder component

* fix(lint): i18n

* enhance(ui): keyboard icon for the keymap settings tab

* fix(shortcuts): incorrect filters for the collaspsed shortcuts

* enhance(ui): polish details for the keymap settings

* enhance(ui): polish details for the keymap settings

* fix(shortcuts): get shortcut description error when the associated handler-id not exist

* fix(ui): the shortcut disabled label overlaps with section headers.

* refactor(shortcuts): names

* enhance(ui): filter icons
2023-08-29 19:33:48 +08:00
Gabriel Horner
2b90b0462a Remove explicit :block/unordered that should already be deleted 2023-07-24 10:26:02 -04:00