Skip to content

Replace "Set your next instruction" placeholder with catchier copy - #4149

Merged
wojtekn merged 1 commit into
trunkfrom
replace-composer-placeholder-copy
Jul 9, 2026
Merged

Replace "Set your next instruction" placeholder with catchier copy#4149
wojtekn merged 1 commit into
trunkfrom
replace-composer-placeholder-copy

Conversation

@wojtekn

@wojtekn wojtekn commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Used Claude Code to locate the placeholder in the old Studio Code composer, borrow the prompt copy already used in the agentic UI (apps/ui), and implement a per-session stable pick. I reviewed the change, ran lint/typecheck, and confirmed the existing composer tests pass.

Proposed Changes

The Studio Code composer showed the flat placeholder "Set your next instruction…". This swaps it for one of the friendlier, catchier prompts already used in the new agentic UI (e.g. "What should we make better?", "What's the next move?"). Rather than porting the dynamic rotation/scramble logic, each chat gets a single prompt chosen once and kept stable for the life of that chat, while different chats vary. The choice is derived from the session id so it doesn't flicker while typing. The busy/queue placeholder is unchanged.

Testing Instructions

  1. Open Studio Code and start a chat.
  2. Confirm the empty composer shows one of the catchier prompts instead of "Set your next instruction…".
  3. Confirm the placeholder stays the same across renders within a chat, and that a different chat may show a different prompt.
  4. While the agent is working, confirm the composer still shows the "Queue a follow-up instruction…" placeholder.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 8db7226 vs trunk

app-size

Metric trunk 8db7226 Diff Change
App Size (Mac) 1419.22 MB 1419.22 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 8db7226 Diff Change
load 1106 ms 1081 ms 25 ms ⚪ 0.0%

site-startup

Metric trunk 8db7226 Diff Change
siteCreation 6482 ms 6491 ms +9 ms ⚪ 0.0%
siteStartup 2392 ms 2391 ms 1 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@wojtekn
wojtekn requested review from a team, shaunandrews and youknowriad July 9, 2026 13:49

@gcsecsey gcsecsey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes LGTM, and I could see the different placeholders per chat.

Image Image
@wojtekn
wojtekn merged commit 3d5f6c9 into trunk Jul 9, 2026
12 checks passed
@wojtekn
wojtekn deleted the replace-composer-placeholder-copy branch July 9, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants