mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 02:51:46 +00:00
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:
@@ -7,6 +7,7 @@ import {
|
|||||||
RiFileList2Line,
|
RiFileList2Line,
|
||||||
RiInboxUnarchiveLine,
|
RiInboxUnarchiveLine,
|
||||||
RiPencilLine,
|
RiPencilLine,
|
||||||
|
RiSubtractLine,
|
||||||
} from "@remixicon/react";
|
} from "@remixicon/react";
|
||||||
import {
|
import {
|
||||||
buildNoteDisplayTitle,
|
buildNoteDisplayTitle,
|
||||||
@@ -101,7 +102,7 @@ export function NoteCard({
|
|||||||
{task.completed ? (
|
{task.completed ? (
|
||||||
<RiCheckLine className="h-4 w-4 text-success" />
|
<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>
|
</div>
|
||||||
<span
|
<span
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { RiCheckLine } from "@remixicon/react";
|
import { RiCheckLine, RiSubtractLine } from "@remixicon/react";
|
||||||
import {
|
import {
|
||||||
buildNoteDisplayTitle,
|
buildNoteDisplayTitle,
|
||||||
formatNoteCreatedAtLong,
|
formatNoteCreatedAtLong,
|
||||||
@@ -69,7 +69,7 @@ export function NoteDetailsDialog({
|
|||||||
{task.completed ? (
|
{task.completed ? (
|
||||||
<RiCheckLine className="h-4 w-4 text-success" />
|
<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>
|
</div>
|
||||||
<span
|
<span
|
||||||
|
|||||||
Reference in New Issue
Block a user