From 5b6c1fa9f97758075bf4027c7d607410be712615 Mon Sep 17 00:00:00 2001 From: Zachary Hamm Date: Thu, 19 Dec 2024 11:51:28 -0600 Subject: [PATCH] feat: auto select components created by mgmt fns If you create a bunch of components via a management function, (say, via a template func), we will now replace the selection with them when the components are created. --- .../src/components/ManagementRunPrototype.vue | 22 --------- .../ModelingView/ModelingRightClickMenu.vue | 22 +-------- app/web/src/store/func/funcs.store.ts | 35 ++++++++++++++ app/web/src/store/realtime/realtime_events.ts | 9 ++++ lib/dal/src/management/mod.rs | 7 ++- lib/dal/src/management/prototype.rs | 37 +++++++++++++-- lib/dal/src/ws_event.rs | 5 +- lib/sdf-server/src/service/v2/management.rs | 47 ++++++++++++++----- 8 files changed, 124 insertions(+), 60 deletions(-) diff --git a/app/web/src/components/ManagementRunPrototype.vue b/app/web/src/components/ManagementRunPrototype.vue index dfb7a44f3d..a960ce3b0c 100644 --- a/app/web/src/components/ManagementRunPrototype.vue +++ b/app/web/src/components/ManagementRunPrototype.vue @@ -40,7 +40,6 @@