From 6b55e740d3f20e1b02a1e5cc3f47e6d5f185c080 Mon Sep 17 00:00:00 2001 From: shweta2101 Date: Wed, 20 May 2026 20:02:10 +0530 Subject: [PATCH 1/3] Add id prop to ProjectGroupPicker for labeling Expose an optional id prop on ProjectGroupPicker and bind it to the internal input. Update usages across dashboard and workspace create/export pages to pass unique ids and restructure markup so labels use for="..." (replacing implicit label-wrapping with explicit labels and container divs). This improves accessibility by ensuring labels are correctly associated with the picker inputs; no functional behavior changes. --- components/ProjectGroupPicker.vue | 3 ++- pages/dashboard.vue | 5 ++++- pages/workspace/[id]/export/tdei.vue | 9 ++++++--- pages/workspace/create/blank.vue | 13 +++++++++---- pages/workspace/create/file.vue | 10 ++++++---- pages/workspace/create/tdei.vue | 9 ++++++--- 6 files changed, 33 insertions(+), 16 deletions(-) diff --git a/components/ProjectGroupPicker.vue b/components/ProjectGroupPicker.vue index 19eb4ec..ea4c154 100644 --- a/components/ProjectGroupPicker.vue +++ b/components/ProjectGroupPicker.vue @@ -2,6 +2,7 @@
(), { +const props = withDefaults(defineProps<{ id?: string; disabled?: boolean; options?: TdeiProjectGroupItem[] }>(), { disabled: false, }) diff --git a/pages/dashboard.vue b/pages/dashboard.vue index 275291a..1411f8b 100644 --- a/pages/dashboard.vue +++ b/pages/dashboard.vue @@ -4,7 +4,10 @@

My Workspaces

- + diff --git a/pages/workspace/[id]/export/tdei.vue b/pages/workspace/[id]/export/tdei.vue index 9d9e187..0a208b7 100644 --- a/pages/workspace/[id]/export/tdei.vue +++ b/pages/workspace/[id]/export/tdei.vue @@ -62,13 +62,16 @@ Dataset Name - - -