fix(plan): always show notes for every record in a multi-record cell

Previously notes were hidden when a cell held 2-3 records (a density
choice). Show each record's note regardless of count — drop the
now-unused showNote prop on PlanRangeChips.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-06-08 12:53:45 +02:00
parent cce2c9cfaa
commit 1ddc0feccd
2 changed files with 1 additions and 6 deletions

View File

@@ -620,7 +620,6 @@ export default function PlanGrid({
c.category, c.category,
catMap, catMap,
)} )}
showNote={cellArr.length === 1}
/> />
</Box> </Box>
))} ))}

View File

@@ -6,7 +6,6 @@ interface Props {
project: Project | null; project: Project | null;
readonly?: boolean; readonly?: boolean;
categoryLabel: string; categoryLabel: string;
showNote?: boolean;
} }
export default function PlanRangeChips({ export default function PlanRangeChips({
@@ -14,7 +13,6 @@ export default function PlanRangeChips({
project, project,
readonly, readonly,
categoryLabel, categoryLabel,
showNote = true,
}: Props) { }: Props) {
void readonly; void readonly;
if (!cell) return null; if (!cell) return null;
@@ -38,9 +36,7 @@ export default function PlanRangeChips({
</span> </span>
)} )}
</div> </div>
{showNote && cell.note && ( {cell.note && <div className="plan-cell-note">{cell.note}</div>}
<div className="plan-cell-note">{cell.note}</div>
)}
</div> </div>
); );
} }