CodeNomad/packages
Shantur Rathore 1c9eddd698
WIP: Compact mode message UI redesign (#557)
## Summary
This branch implements a compact-mode redesign for the message
stream, focused on making dense conversations easier to scan while
keeping important actions available.

### Message Stream Redesign
- Compacts user, assistant, reasoning, step, compaction, and tool-call
surfaces into tighter header/body layouts.
- Moves message time next to the speaker / agent-model identity instead
of using a separate right-side timing cluster.
- Restores the pre-branch user message background so user prompts remain
visually distinct.
- Aligns right-edge action positioning across text messages, reasoning
blocks, tool calls, compaction rows, and usage rows.

### Action Model
- Consolidates action controls across message parts.
- Keeps only copy and speak visible inline on wide layouts.
- Moves selection, delete, delete-up-to, fork, revert, tool input
visibility, and task-session navigation into overflow menus.
- On narrow layouts, hides inline actions and exposes all available
actions through overflow.
- Replaces native selection checkboxes in message surfaces with
overflow-menu selection actions using lucide square/check-square icons.

### Tool Calls and Bash Output
- Merges tool-call header chrome into the tool call itself instead of
wrapping it with an extra external header.
- Moves the tool status icon next to the tool title instead of pinning
it to the far right.
- Refines input/output spacing for expanded tool calls.
- Keeps streaming bash output pinned and improves final ANSI output
rendering/restoration.

### Thinking / Reasoning Blocks
- Compacts thinking blocks into a header-first treatment.
- Uses extracted reasoning titles or duration fallback labels for
compact scanning.
- Keeps reasoning copy/speak available while moving
secondary/destructive actions to overflow.

### Styling and i18n
- Updates message and tool-call CSS for compact spacing, right-edge
alignment, action button consistency, and surface cleanup.
- Adds localized strings for new reasoning labels/actions across
supported message locales.

## Validation
- npm run typecheck --workspace @codenomad/ui
- git diff --check
2026-06-18 21:37:25 +01:00
..
cloudflare Minimum version to 0.17.0 2026-06-04 21:07:53 +01:00
electron-app Increment to v0.17.1 2026-06-08 21:10:57 +01:00
opencode-plugin Increment to v0.17.1 2026-06-08 21:10:57 +01:00
server Increment to v0.17.1 2026-06-08 21:10:57 +01:00
tauri-app Increment to v0.17.1 2026-06-08 21:10:57 +01:00
ui WIP: Compact mode message UI redesign (#557) 2026-06-18 21:37:25 +01:00