mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 12:58:28 +02:00
commit
20a7d668f5
2 changed files with 16 additions and 16 deletions
|
@ -102,15 +102,15 @@ jobs:
|
||||||
yarn install
|
yarn install
|
||||||
yarn test
|
yarn test
|
||||||
|
|
||||||
- run:
|
# - run:
|
||||||
name: "frontend integration tests"
|
# name: "frontend integration tests"
|
||||||
working_directory: "./frontend"
|
# working_directory: "./frontend"
|
||||||
command: |
|
# command: |
|
||||||
yarn install
|
# yarn install
|
||||||
yarn run compile
|
# yarn run compile
|
||||||
clojure -M:dev:shadow-cljs compile main
|
# clojure -M:dev:shadow-cljs compile main
|
||||||
yarn playwright install --with-deps chromium
|
# yarn playwright install --with-deps chromium
|
||||||
yarn e2e:test
|
# yarn e2e:test
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: "backend tests"
|
name: "backend tests"
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
(mf/defc plugin-entry
|
(mf/defc plugin-entry
|
||||||
[{:keys [index manifest on-open-plugin on-remove-plugin]}]
|
[{:keys [index manifest on-open-plugin on-remove-plugin]}]
|
||||||
|
|
||||||
(let [{:keys [host icon url name description]} manifest
|
(let [{:keys [host icon name description]} manifest
|
||||||
handle-open-click
|
handle-open-click
|
||||||
(mf/use-callback
|
(mf/use-callback
|
||||||
(mf/deps index manifest on-open-plugin)
|
(mf/deps index manifest on-open-plugin)
|
||||||
|
@ -70,12 +70,12 @@
|
||||||
[{:keys [name description host code icon permissions]}]
|
[{:keys [name description host code icon permissions]}]
|
||||||
(.ɵloadPlugin
|
(.ɵloadPlugin
|
||||||
js/window #js
|
js/window #js
|
||||||
{:name name
|
{:name name
|
||||||
:description description
|
:description description
|
||||||
:host host
|
:host host
|
||||||
:code code
|
:code code
|
||||||
:icon icon
|
:icon icon
|
||||||
:permissions (apply array permissions)}))
|
:permissions (apply array permissions)}))
|
||||||
|
|
||||||
(mf/defc plugin-management-dialog
|
(mf/defc plugin-management-dialog
|
||||||
{::mf/register modal/components
|
{::mf/register modal/components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue