Skip to content

Commit 938f879

Browse files
committed
fix: remove 80-char truncation from sidebar bullet points
generatePhaseSummary was truncating bulletPoints at 80 chars with ellipsis. The sidebar cards have scroll and expand, so there's no reason to cut text. Full content now renders in the phase summary bullets.
1 parent acdd02c commit 938f879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/visualization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ const TEMPLATE = `<!DOCTYPE html>
437437
const pnodes = nodeIds.map(id => graphData.nodes.find(n => n.id === id));
438438
const avgConf = pnodes.reduce((acc, n) => acc + n.confidence, 0) / pnodes.length;
439439
const descriptions = { premise: 'Foundational facts and constraints', reasoning: 'Logical deductions from premises', hypothesis: 'Proposed solutions being considered', verification: 'Tests and validations', conclusion: 'Final verified decisions' };
440-
return { description: descriptions[type] || '', avgConfidence: avgConf, nodes: pnodes, bulletPoints: pnodes.map(n => n.content.length > 80 ? n.content.substring(0, 77) + '...' : n.content) };
440+
return { description: descriptions[type] || '', avgConfidence: avgConf, nodes: pnodes, bulletPoints: pnodes.map(n => n.content) };
441441
}
442442
443443
function buildApprovalSidebar() {

0 commit comments

Comments
 (0)