feat: núcleo de tickets com Convex (CRUD, play, comentários com anexos) + auth placeholder; docs em AGENTS.md; toasts e updates otimistas; mapeadores Zod; refinos PT-BR e layout do painel de detalhes
This commit is contained in:
parent
2230590e57
commit
27b103cb46
97 changed files with 15117 additions and 15715 deletions
|
|
@ -1,32 +1,32 @@
|
|||
import { AppShell } from "@/components/app-shell"
|
||||
import { ChartAreaInteractive } from "@/components/chart-area-interactive"
|
||||
import { SectionCards } from "@/components/section-cards"
|
||||
import { SiteHeader } from "@/components/site-header"
|
||||
import { TicketsTable } from "@/components/tickets/tickets-table"
|
||||
import { tickets } from "@/lib/mocks/tickets"
|
||||
|
||||
const recentTickets = tickets.slice(0, 10)
|
||||
|
||||
export default function Dashboard() {
|
||||
return (
|
||||
<AppShell
|
||||
header={
|
||||
<SiteHeader
|
||||
title="Central de operações"
|
||||
lead="Monitoramento em tempo real"
|
||||
secondaryAction={<SiteHeader.SecondaryButton>Abrir ticket</SiteHeader.SecondaryButton>}
|
||||
primaryAction={<SiteHeader.PrimaryButton>Modo play</SiteHeader.PrimaryButton>}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<SectionCards />
|
||||
<div className="grid gap-6 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:px-6">
|
||||
<ChartAreaInteractive />
|
||||
<div className="rounded-xl border bg-card">
|
||||
<TicketsTable tickets={recentTickets} />
|
||||
</div>
|
||||
</div>
|
||||
</AppShell>
|
||||
)
|
||||
}
|
||||
|
||||
import { AppShell } from "@/components/app-shell"
|
||||
import { ChartAreaInteractive } from "@/components/chart-area-interactive"
|
||||
import { SectionCards } from "@/components/section-cards"
|
||||
import { SiteHeader } from "@/components/site-header"
|
||||
import { TicketsTable } from "@/components/tickets/tickets-table"
|
||||
import { tickets } from "@/lib/mocks/tickets"
|
||||
|
||||
const recentTickets = tickets.slice(0, 10)
|
||||
|
||||
export default function Dashboard() {
|
||||
return (
|
||||
<AppShell
|
||||
header={
|
||||
<SiteHeader
|
||||
title="Central de operações"
|
||||
lead="Monitoramento em tempo real"
|
||||
secondaryAction={<SiteHeader.SecondaryButton>Abrir ticket</SiteHeader.SecondaryButton>}
|
||||
primaryAction={<SiteHeader.PrimaryButton>Modo play</SiteHeader.PrimaryButton>}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<SectionCards />
|
||||
<div className="grid gap-6 px-4 lg:grid-cols-[1.1fr_0.9fr] lg:px-6">
|
||||
<ChartAreaInteractive />
|
||||
<div className="rounded-xl border bg-card">
|
||||
<TicketsTable tickets={recentTickets} />
|
||||
</div>
|
||||
</div>
|
||||
</AppShell>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue