From d1fe3ac9245cd4d98f97fe563289bccab014266d Mon Sep 17 00:00:00 2001 From: Harsh Tandiya Date: Mon, 26 Oct 2026 01:08:08 +0530 Subject: [PATCH] fix(dashboard): add ticket types from the view, not a toolbar button Drop the toolbar Add button. Each view now carries its own add action: list view and the phone chip view end with an Add ticket type button, grouped and board keep their per-category plus. The empty state offers Add ticket type. New Category moves to the outline variant. --- .../ticket-types/TicketTypeChips.vue | 9 +++++ .../ticket-types/TicketTypesSection.vue | 39 +++++++++++-------- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/dashboard/src/components/dashboard/ticket-types/TicketTypeChips.vue b/dashboard/src/components/dashboard/ticket-types/TicketTypeChips.vue index a94e7fd3..7c9230c6 100644 --- a/dashboard/src/components/dashboard/ticket-types/TicketTypeChips.vue +++ b/dashboard/src/components/dashboard/ticket-types/TicketTypeChips.vue @@ -11,6 +11,7 @@ import TicketTypeRow from "./TicketTypeRow.vue" const props = defineProps<{ organizer: TicketTypeOrganizer; canWrite?: boolean }>() defineEmits<{ open: [name: string] + add: [category: string] addCategory: [] editCategory: [category: TicketCategoryItem] }>() @@ -110,5 +111,13 @@ const chips = computed(() => [ No ticket types in this category yet

+