From 95c2368ab5db41641246610faf5b92ebac34ab83 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Tue, 17 Mar 2026 07:27:45 -0400 Subject: [PATCH] feat(ui): add connection context menu with edit/delete/duplicate Right-click connections for Connect, Edit, Duplicate, Delete. Right-click groups for New Connection, Rename, Delete. ConnectionEditDialog provides a full form for creating/editing connections with protocol toggle, group selector, color labels, and tags. Generic ContextMenu component positions at cursor with viewport edge detection. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/components/common/ContextMenu.vue | 97 ++++++ .../connections/ConnectionEditDialog.vue | 292 ++++++++++++++++++ .../src/components/sidebar/ConnectionTree.vue | 107 ++++++- 3 files changed, 495 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/common/ContextMenu.vue create mode 100644 frontend/src/components/connections/ConnectionEditDialog.vue diff --git a/frontend/src/components/common/ContextMenu.vue b/frontend/src/components/common/ContextMenu.vue new file mode 100644 index 0000000..c46b566 --- /dev/null +++ b/frontend/src/components/common/ContextMenu.vue @@ -0,0 +1,97 @@ + + + diff --git a/frontend/src/components/connections/ConnectionEditDialog.vue b/frontend/src/components/connections/ConnectionEditDialog.vue new file mode 100644 index 0000000..b25a7d7 --- /dev/null +++ b/frontend/src/components/connections/ConnectionEditDialog.vue @@ -0,0 +1,292 @@ +