From 931c60e2343dfe8a6689ab9c9d67bc58a0735723 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Sun, 16 Aug 2026 18:13:22 -0400 Subject: [PATCH] refactor(helpdesk): replace inline hint with Alert in create ticket dialog Use the shadcn Alert component for the file-sharing hint instead of a bare Message element. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/components/frontend/helpdesk/CreateTicketDialog.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/frontend/helpdesk/CreateTicketDialog.tsx b/src/components/frontend/helpdesk/CreateTicketDialog.tsx index 1e2a891..67f22a6 100644 --- a/src/components/frontend/helpdesk/CreateTicketDialog.tsx +++ b/src/components/frontend/helpdesk/CreateTicketDialog.tsx @@ -26,6 +26,7 @@ import { type TicketPriority, } from "@/lib/tickets/ticketMeta"; import { cn } from "@/lib/utils"; +import { Alert } from "@/components/ui/alert"; function isTicketCategory(value: string): value is TicketCategory { return TICKET_CATEGORIES.some((option) => option.value === value); @@ -200,7 +201,11 @@ export function CreateTicketDialog() {
- + +

+ Need to share files or screenshots? You can upload them to a file sharing service and include the link in your description. +

+