fix(frontend): reveal transcript actions on focus and bound the shell preview

- expose the user message action buttons to keyboard focus, not just hover
- compute the shell preview tail once per output change and clamp very long lines
This commit is contained in:
Chris Scott committed 2026-10-21 23:14:12 -04:00
1 parent d8495df811
commit c4bb104cc0
2 files changed
+8 -4

No files matched your search

@@ -34,7 +34,7 @@ export const UserMessageActionButtons = memo(function UserMessageActionButtons({
}
return (
<div className={`flex items-center gap-1 ${isMobile ? 'opacity-100' : 'opacity-0 group-hover:opacity-100'} transition-opacity`}>
<div className={`flex items-center gap-1 ${isMobile ? 'opacity-100' : 'opacity-0 group-hover:opacity-100 group-focus-within:opacity-100'} transition-opacity`}>
<button
onClick={handleUndo}
disabled={undoMessage.isPending}