From 99e98f70f4b9d33c0e41cf502672480ff9743805 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 16 Oct 2023 02:30:03 +0200 Subject: [PATCH] [Integrations UI] Added configuration tab. --- .../components/panels/Extensions/Config.vue | 67 +++++++++++++++++++ .../src/components/panels/Extensions/Doc.vue | 2 +- .../panels/Extensions/Extension.vue | 12 +++- .../components/panels/Extensions/Index.vue | 3 +- .../http/webapp/src/style/themes/light.scss | 4 ++ .../common/reflection/_model/integration.py | 1 + 6 files changed, 83 insertions(+), 6 deletions(-) create mode 100644 platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue new file mode 100644 index 0000000000..6275ea15dc --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Config.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Doc.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Doc.vue index dc85249304..e01e1567f0 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Doc.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Doc.vue @@ -67,7 +67,7 @@ export default { return } - let [_, type, name] = match + let [type, name] = match.slice(1) if (type === 'backend') name = `backend.${name}` diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue index 8a560edb10..cb8a85717f 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Extension.vue @@ -12,8 +12,8 @@ Install - + Configuration @@ -26,6 +26,7 @@
+
@@ -33,15 +34,18 @@