fix(flowpilot): render markdown in context messages + fix action bar height chain
Two issues: 1. AI context messages (teal bubble) rendered raw markdown (**bold** etc.) instead of parsed markdown — switched from <p> to <MarkdownContent> 2. Action bar still hidden — added h-0 to flex-1 wrapper to force explicit height allocation so h-full on FlowPilotSession resolves correctly Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -116,7 +116,7 @@ export function FlowPilotStepCard({ step, isCurrentStep, isProcessing, sessionId
|
|||||||
{/* Context message */}
|
{/* Context message */}
|
||||||
{step.context_message && (
|
{step.context_message && (
|
||||||
<div className="mb-3 rounded-lg bg-primary/5 px-3 py-2 border border-primary/10">
|
<div className="mb-3 rounded-lg bg-primary/5 px-3 py-2 border border-primary/10">
|
||||||
<p className="text-xs text-muted-foreground">{step.context_message}</p>
|
<MarkdownContent content={step.context_message} className="text-xs text-muted-foreground" />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -160,8 +160,8 @@ export default function FlowPilotSessionPage() {
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Session content */}
|
{/* Session content — flex-1 fills remaining height, min-h-0 allows shrinking */}
|
||||||
<div className="flex-1 min-h-0 flex flex-col">
|
<div className="flex-1 min-h-0 flex flex-col h-0">
|
||||||
<FlowPilotSession
|
<FlowPilotSession
|
||||||
session={fp.session}
|
session={fp.session}
|
||||||
allSteps={fp.allSteps}
|
allSteps={fp.allSteps}
|
||||||
|
|||||||
Reference in New Issue
Block a user