From d6188fd384d23fd625f0893a400449f99bdfb5ea Mon Sep 17 00:00:00 2001 From: rever-tecnologia Date: Thu, 18 Dec 2025 09:10:47 -0300 Subject: [PATCH] fix(checklists): adiciona skeleton de carregamento na lista de templates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../settings/checklist-templates-manager.tsx | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/components/settings/checklist-templates-manager.tsx b/src/components/settings/checklist-templates-manager.tsx index 84018f0..959c28c 100644 --- a/src/components/settings/checklist-templates-manager.tsx +++ b/src/components/settings/checklist-templates-manager.tsx @@ -18,6 +18,7 @@ import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { SearchableCombobox, type SearchableComboboxOption } from "@/components/ui/searchable-combobox" import { Switch } from "@/components/ui/switch" +import { Skeleton } from "@/components/ui/skeleton" import { Textarea } from "@/components/ui/textarea" type ChecklistItemType = "checkbox" | "question" @@ -496,7 +497,27 @@ export function ChecklistTemplatesManager() { {!templates ? ( -

Carregando templates...

+
+ {Array.from({ length: 4 }).map((_, index) => ( +
+
+
+
+ + + +
+ +
+
+ + + +
+
+
+ ))} +
) : orderedTemplates.length === 0 ? (
Nenhum template cadastrado.