DemoReportAnIssue() — ui Function Reference
Architecture documentation for the DemoReportAnIssue() function in report-an-issue.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a6ef57c2_c588_81d9_27d7_cd9cade11ad7["DemoReportAnIssue()"] ca3445f8_17de_5d00_8cf8_a14b4243cdeb["report-an-issue.tsx"] a6ef57c2_c588_81d9_27d7_cd9cade11ad7 -->|defined in| ca3445f8_17de_5d00_8cf8_a14b4243cdeb style a6ef57c2_c588_81d9_27d7_cd9cade11ad7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx lines 23–85
export function DemoReportAnIssue() {
return (
<Card>
<CardHeader>
<CardTitle>Report an issue</CardTitle>
<CardDescription>
What area are you having problems with?
</CardDescription>
</CardHeader>
<CardContent className="grid gap-6">
<div className="grid grid-cols-2 gap-4">
<div className="grid gap-2">
<Label htmlFor="area">Area</Label>
<Select defaultValue="billing">
<SelectTrigger id="area">
<SelectValue placeholder="Select" />
</SelectTrigger>
<SelectContent>
<SelectItem value="team">Team</SelectItem>
<SelectItem value="billing">Billing</SelectItem>
<SelectItem value="account">Account</SelectItem>
<SelectItem value="deployments">Deployments</SelectItem>
<SelectItem value="support">Support</SelectItem>
</SelectContent>
</Select>
</div>
<div className="grid gap-2">
<Label htmlFor="security-level">Security Level</Label>
<Select defaultValue="2">
<SelectTrigger
id="security-level"
className="line-clamp-1 w-[160px] truncate"
>
<SelectValue placeholder="Select level" />
</SelectTrigger>
<SelectContent>
<SelectItem value="1">Severity 1 (Highest)</SelectItem>
<SelectItem value="2">Severity 2</SelectItem>
<SelectItem value="3">Severity 3</SelectItem>
<SelectItem value="4">Severity 4 (Lowest)</SelectItem>
</SelectContent>
</Select>
</div>
</div>
<div className="grid gap-2">
<Label htmlFor="subject">Subject</Label>
<Input id="subject" placeholder="I need help with..." />
</div>
<div className="grid gap-2">
<Label htmlFor="description">Description</Label>
<Textarea
id="description"
placeholder="Please include all information relevant to your issue."
/>
</div>
</CardContent>
<CardFooter className="justify-between space-x-2">
<Button variant="ghost">Cancel</Button>
<Button>Submit</Button>
</CardFooter>
</Card>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DemoReportAnIssue() do?
DemoReportAnIssue() is a function in the ui codebase, defined in deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx.
Where is DemoReportAnIssue() defined?
DemoReportAnIssue() is defined in deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free