Skip to content

Polish Playground chat and inspector presentation - #208

Merged
rudrankriyam merged 2 commits into
mainfrom
codex/messages-style-chat
Jul 10, 2026
Merged

rudrankriyam merged 2 commits into
mainfrom
codex/messages-style-chat

Conversation

@rudrankriyam

@rudrankriyam rudrankriyam commented Jul 10, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • Restyled user prompts as blue outgoing bubbles and kept prompt token metadata on the right.
  • Changed the composer to a thin bordered capsule while leaving the voice button and its behavior alone.
  • Replaced the inspector's grouped card stack with a flat inset list that fits the narrow column.
  • Added persistent labels and compact rounded fields for editable values.
  • Kept every inspector control, including runtime, reasoning, sampling, tools, save, apply, and Swift export.

Why

The transcript read more like a document than a conversation, and the inspector felt dense because each section sat inside another gray container. The new layout gives prompts a clear sender edge and lets spacing, labels, and dividers organize the inspector.

The reference app's plus and emoji controls were not copied because Foundation Lab has no matching actions.

Checks

  • swiftlint lint --strict --config .swiftlint.yml
  • swift test (59 tests ran; 4 Xcode 27 runtime tests skipped on the installed runtime)
  • Fresh macOS build and launch after deleting the dedicated Derived Data directory
  • Live macOS inspection of the transcript, composer, inspector fields, tool switches, and lower inspector actions
  • Fresh generic iOS Simulator build with code signing disabled

@rudrankriyam rudrankriyam changed the title Polish Playground chat presentation Polish Playground chat and inspector presentation Jul 10, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 863ca93. Configure here.

message.isFromUser ? Color.secondaryBackgroundColor : .clear,
in: .rect(cornerRadius: CornerRadius.large)
message.isFromUser ? Color.accentColor : Color.secondaryBackgroundColor,
in: bubbleShape

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assistant bubbles span full width

Medium Severity

Model replies now draw a secondaryBackgroundColor bubble around messageText, but the text still expands to the transcript column’s max width. Short assistant messages show as a wide bar across the row instead of a compact incoming bubble, which conflicts with the chat-style layout this change targets.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 863ca93. Configure here.

@rudrankriyam
rudrankriyam marked this pull request as ready for review July 10, 2026 13:04
@rudrankriyam
rudrankriyam merged commit 85f42f8 into main Jul 10, 2026
3 checks passed
@rudrankriyam
rudrankriyam deleted the codex/messages-style-chat branch August 11, 2026 18:29
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