fix: opaque overflow menu, add Update button to cockpit and assistant headers

The IncidentHeader overflow menu was see-through due to bg-elevated on
bg-card. Switched to bg-card with shadow-xl and fixed-scrim dismiss
pattern matching production FlowPilotSessionPage. Replaced unicode
ellipsis with MoreHorizontal icon + aria-label. Added Update button
(StatusUpdateModal) to IncidentHeader and FlowPilotPage header bar
for feature parity with production.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-04-04 00:43:48 +00:00
parent 91e3f80707
commit 47e71c4753
3 changed files with 71 additions and 39 deletions

View File

@@ -273,6 +273,7 @@ export default function CockpitPage() {
psaTicketId={psaTicketId}
onFieldSave={handleTriageFieldSave}
onResolve={() => session.setShowConclude(true)}
onStatusUpdate={session.messages.length >= 2 ? () => session.setShowStatusUpdate(true) : undefined}
onClose={() => session.setShowConclude(true)}
/>
{/* View toggle bar — desktop only (mobile has it in the header) */}