diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index fc0fc8a..69f9df8 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -17,7 +17,8 @@ "width": 1100, "height": 720, "resizable": true, - "fullscreen": true + "fullscreen": false, + "maximized": true } ], "security": { diff --git a/src/components/portal/portal-shell.tsx b/src/components/portal/portal-shell.tsx index 39effb5..03c542e 100644 --- a/src/components/portal/portal-shell.tsx +++ b/src/components/portal/portal-shell.tsx @@ -3,7 +3,7 @@ import { type ReactNode, useMemo, useState } from "react" import Link from "next/link" import { usePathname, useRouter } from "next/navigation" -import { LogOut, PlusCircle } from "lucide-react" +import { GalleryVerticalEnd, LogOut, PlusCircle } from "lucide-react" import { toast } from "sonner" import { Button } from "@/components/ui/button" @@ -59,11 +59,16 @@ export function PortalShell({ children }: PortalShellProps) {
-
- - Portal do cliente +
+ + - Raven +
+ + Portal do cliente + + Raven +
-
- Prioridade - -
- +
+ Anexos (opcional) + setAttachments((prev) => [...prev, ...files])} + className="rounded-xl border border-dashed border-slate-300 bg-slate-50 px-3 py-4 text-sm text-neutral-600 shadow-inner" + /> +

+ Formatos comuns de imagens e documentos são aceitos. +

+
diff --git a/src/components/portal/portal-ticket-list.tsx b/src/components/portal/portal-ticket-list.tsx index ec0a0aa..bfd9d37 100644 --- a/src/components/portal/portal-ticket-list.tsx +++ b/src/components/portal/portal-ticket-list.tsx @@ -10,7 +10,7 @@ import type { Ticket } from "@/lib/schemas/ticket" import { useAuth } from "@/lib/auth-client" import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card" import { Empty, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "@/components/ui/empty" -import { Skeleton } from "@/components/ui/skeleton" +import { Spinner } from "@/components/ui/spinner" import { PortalTicketCard } from "@/components/portal/portal-ticket-card" export function PortalTicketList() { @@ -35,13 +35,12 @@ export function PortalTicketList() { if (ticketsRaw === undefined) { return ( - + + Carregando chamados... - - {Array.from({ length: 4 }).map((_, index) => ( - - ))} + + Estamos buscando seus chamados mais recentes. Isso deve levar apenas alguns instantes. )