From 7b0b56921475b6c2ba56243edfdf72c0327babb4 Mon Sep 17 00:00:00 2001 From: Harsh Tandiya Date: Wed, 9 Sep 2026 10:39:47 +0530 Subject: [PATCH] fix(dashboard): rework the venue picker dropdown The popover sized itself to its widest row, so a venue whose address is a Google Maps or Zoom URL stretched the panel across the viewport. Rows now cap at the trigger width and the existing truncation does the rest. Add venue and Create Zoom meeting move out of the scrolling list into a static footer, so both stay reachable however long the venue list gets. Typing something no venue answers to arms Add Manually and Enter takes it, with the typed text carried in as the venue name; the "No results" line is gone, since the armed button already says what happens next. Enter is prevented on the trigger: its default action clicks whatever the dialog focuses as it opens, which closed the dialog again. --- dashboard/components.d.ts | 1 + dashboard/src/components/common/ZoomLogo.vue | 18 +++ .../dashboard/events/EventLocation.vue | 103 ++++++++++++------ .../src/pages/manage/events/CreateEvent.vue | 2 +- 4 files changed, 92 insertions(+), 32 deletions(-) create mode 100644 dashboard/src/components/common/ZoomLogo.vue diff --git a/dashboard/components.d.ts b/dashboard/components.d.ts index 709827f2..cba6a725 100644 --- a/dashboard/components.d.ts +++ b/dashboard/components.d.ts @@ -106,5 +106,6 @@ declare module 'vue' { UserGroup: typeof import('./src/components/common/UserGroup.vue')['default'] UserMenu: typeof import('./src/components/UserMenu.vue')['default'] UserSettingsDialog: typeof import('./src/components/UserSettingsDialog.vue')['default'] + ZoomLogo: typeof import('./src/components/common/ZoomLogo.vue')['default'] } } diff --git a/dashboard/src/components/common/ZoomLogo.vue b/dashboard/src/components/common/ZoomLogo.vue new file mode 100644 index 00000000..1c9545ee --- /dev/null +++ b/dashboard/src/components/common/ZoomLogo.vue @@ -0,0 +1,18 @@ + + + diff --git a/dashboard/src/components/dashboard/events/EventLocation.vue b/dashboard/src/components/dashboard/events/EventLocation.vue index 30303dec..5b12b780 100644 --- a/dashboard/src/components/dashboard/events/EventLocation.vue +++ b/dashboard/src/components/dashboard/events/EventLocation.vue @@ -1,7 +1,8 @@