1
0
Fork 0

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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-08-16 18:13:22 -04:00
parent 9ec4555200
commit 931c60e234

View file

@ -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() {
</div>
<div className="flex flex-col gap-1.5">
<Message title="Please provide a description" message="Include what happened, what you expected, and any useful context." />
<Alert variant="info" className="text-sm">
<p>
Need to share files or screenshots? You can upload them to a file sharing service and include the link in your description.
</p>
</Alert>
</div>
<div className="flex flex-col gap-1.5">