Compare commits

...

2 Commits

Author SHA1 Message Date
BOHA
9d2992b722 chore(release): v2.0.7 — always show notes in multi-record plan cells
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 12:54:47 +02:00
BOHA
1ddc0feccd 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>
2026-06-08 12:53:45 +02:00
3 changed files with 2 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "app-ts",
"version": "2.0.6",
"version": "2.0.7",
"description": "",
"main": "dist/server.js",
"scripts": {

View File

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

View File

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