Skip to content

feat(chat): readability polish + message actions, regenerate, feedback#22

Merged
OmGuptaIND merged 1 commit into
mainfrom
OmGuptaIND/improve-font-readability
May 1, 2026
Merged

feat(chat): readability polish + message actions, regenerate, feedback#22
OmGuptaIND merged 1 commit into
mainfrom
OmGuptaIND/improve-font-readability

Conversation

@OmGuptaIND
Copy link
Copy Markdown
Contributor

Summary

  • Bumped markdown / message font sizes and tightened line-height for better readability; redesigned the composer Add menu with a larger surface, viewport clamping, and brand-chip stack.
  • Added per-assistant-message actions (copy, 👍 / 👎, regenerate) and wired thumbs feedback to Braintrust via a new feedback protocol message that pairs a per-turn messageId with the trace span id.
  • Added a regenerate protocol message + server handler: Pi-SDK sessions pop the last user → assistant pair and re-run; Codex harness sessions re-feed the prior user text (no thread/resume RPC); legacy Claude Code harness is unsupported.
  • TurnProgress steps auto-collapse once the agent finishes writing to the main conversation, while respecting manual toggles for the rest of the turn.

Test plan

  • Type a long markdown reply and verify font sizes / spacing read better than main.
  • Open the composer Add menu near the right edge of the window and confirm it stays inside the viewport.
  • Send a message, then on the assistant reply: copy, thumbs up, thumbs down, and regenerate; confirm Braintrust receives the feedback score and the regenerated turn replaces the old one.
  • Watch a turn complete on the Pi-SDK provider — steps should auto-collapse when the final answer renders; manually toggling pins the panel state for that turn.
  • Repeat regenerate on a Codex harness session.

🤖 Generated with Claude Code

- Bump markdown/message font sizes and tighten line-height for readability
- Redesign composer Add menu: larger surface, viewport clamping, brand-chip
  stack with motion
- Add per-message actions on assistant turns: copy, thumbs up/down, regenerate
- Wire thumbs up/down feedback to Braintrust via per-turn (messageId → spanId)
  registration and a new `feedback` protocol message
- Add `regenerate` protocol message + server handler: pop the last user→
  assistant pair on Pi-SDK sessions, or re-feed the prior user text on Codex
  harness sessions (legacy Claude Code harness not supported)
- Auto-collapse TurnProgress steps once the agent finishes writing to the main
  conversation, while respecting any manual toggle the user makes

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@OmGuptaIND OmGuptaIND merged commit 7c5b69d into main May 1, 2026
@OmGuptaIND OmGuptaIND deleted the OmGuptaIND/improve-font-readability branch May 1, 2026 12:42
OmGuptaIND added a commit that referenced this pull request May 3, 2026
### Other
- feat(chat): readability polish + message actions, regenerate, feedback (#22)
- chore(topbar): remove "More options" button and Connected status pill (#21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant