diff --git a/src/components/board/CardThumbnail.tsx b/src/components/board/CardThumbnail.tsx index b1ca0e7..c96623a 100644 --- a/src/components/board/CardThumbnail.tsx +++ b/src/components/board/CardThumbnail.tsx @@ -46,9 +46,9 @@ function getDueDateStatus(dueDate: string | null): { color: string; bgColor: str function getAgingOpacity(updatedAt: string): number { const days = (Date.now() - new Date(updatedAt).getTime()) / (1000 * 60 * 60 * 24); if (days <= 7) return 1.0; - if (days <= 14) return 0.85; - if (days <= 30) return 0.7; - return 0.55; + if (days <= 14) return 0.9; + if (days <= 30) return 0.8; + return 0.7; } /* ---------- Priority colors ---------- */ @@ -175,13 +175,14 @@ export function CardThumbnail({ card, boardLabels, columnId, onCardClick, isFocu )} {dueDateStatus && card.dueDate && ( {format(new Date(card.dueDate), "MMM d")} @@ -193,7 +194,7 @@ export function CardThumbnail({ card, boardLabels, columnId, onCardClick, isFocu )} {card.attachments.length > 0 && ( - + {card.attachments.length} @@ -343,6 +344,8 @@ function DescriptionPreview({ description }: { description: string }) { ref={iconRef} onMouseEnter={handleEnter} onMouseLeave={handleLeave} + aria-label="Has description" + role="img" > {createPortal(