From 15cf611c95354f16ace4ef2b911ad9601933b89e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 5 Sep 2024 02:02:44 +0200 Subject: [PATCH] [#341] [UI] Implemented support for procedure entities. - Added UI panel. - Added support for entity types. - Enhanced ability to edit procedures. - Added ability to create, rename, edit, duplicate and delete stored procedures. - Added support for YAML dumps of non-Python procedures. - Added support for visualizing Python procedures directly in their source files. --- .../src/components/Action/ActionArgs.vue | 29 +- .../src/components/Action/ActionTile.vue | 318 ++++--- .../src/components/Action/ActionsList.vue | 222 +++++ .../src/components/Action/ActionsListItem.vue | 210 +++++ .../webapp/src/components/Action/vars.scss | 16 +- .../http/webapp/src/components/Nav.vue | 5 +- .../components/Procedure/ProcedureDump.vue | 91 ++ .../components/Procedure/ProcedureEditor.vue | 847 +++++++++++++++--- .../Procedure/ProcedureEditorModal.vue | 126 +++ .../src/components/panels/Entities/Index.vue | 1 + .../components/panels/Entities/Procedure.vue | 707 +++++++++++++++ .../components/panels/Procedures/Index.vue | 310 +++++++ 12 files changed, 2624 insertions(+), 258 deletions(-) create mode 100644 platypush/backend/http/webapp/src/components/Action/ActionsList.vue create mode 100644 platypush/backend/http/webapp/src/components/Action/ActionsListItem.vue create mode 100644 platypush/backend/http/webapp/src/components/Procedure/ProcedureDump.vue create mode 100644 platypush/backend/http/webapp/src/components/Procedure/ProcedureEditorModal.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Entities/Procedure.vue create mode 100644 platypush/backend/http/webapp/src/components/panels/Procedures/Index.vue diff --git a/platypush/backend/http/webapp/src/components/Action/ActionArgs.vue b/platypush/backend/http/webapp/src/components/Action/ActionArgs.vue index d6c2f8bc6e..593bd0bbda 100644 --- a/platypush/backend/http/webapp/src/components/Action/ActionArgs.vue +++ b/platypush/backend/http/webapp/src/components/Action/ActionArgs.vue @@ -1,5 +1,5 @@