feat(notes): substituir ícone de tarefa pendente por RiSubtractLine em contextos read-only

No card e no modal de detalhes de anotações, onde não há interação
de marcação, tarefas não concluídas exibem RiSubtractLine em vez
do quadrado com borda. Locais interativos mantêm o comportamento atual.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Felipe Coutinho
2026-05-04 15:42:44 +00:00
parent 6288f5f8d4
commit 37edb1b76d
2 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import {
RiFileList2Line,
RiInboxUnarchiveLine,
RiPencilLine,
RiSubtractLine,
} from "@remixicon/react";
import {
buildNoteDisplayTitle,
@@ -101,7 +102,7 @@ export function NoteCard({
{task.completed ? (
<RiCheckLine className="h-4 w-4 text-success" />
) : (
<div className="h-4 w-4 rounded-sm border border-input" />
<RiSubtractLine className="h-4 w-4 text-muted-foreground" />
)}
</div>
<span