Commit f50e2db
authored
🤖 fix: softer question indicator color + Enter key to advance (#1195)
Fix two issues with the `ask_user_question` tool UI:
1. **Softer indicator color** - The "Mux has a few questions" status
indicator was using a bright yellow that was harsh on the eyes. Changed
to plan-mode blue which is softer and semantically indicates "awaiting
user input".
2. **Enter key advances** - When selecting "Other" and typing a
free-text answer, pressing Enter now advances to the next question (when
text is non-empty).
---
<details>
<summary>📋 Implementation Plan</summary>
# Plan: Fix ask_user_question UI Issues
## Summary
Fix two issues:
1. Replace eye-burning bright yellow "Mux has a few questions" indicator
with a softer color
2. Add Enter key handling to advance from "Other" text input
**Estimated net LoC:** +8
---
## Issue 1: Overly Bright Yellow Status Indicator
**Problem:** The "Mux has a few questions" indicator in
`WorkspaceStatusIndicator.tsx` uses hardcoded `bg-yellow-500/20
text-yellow-400` which is too bright/harsh.
**Solution:** Use the app's plan-mode blue (`bg-plan-mode-alpha
text-plan-mode-light`) for consistency with "waiting for input"
semantics.
---
## Issue 2: Enter Key Doesn't Advance from Other Input
**Problem:** When the user selects "Other" and types a free-text answer,
pressing Enter does nothing.
**Solution:** Add `onKeyDown` handler to the Input that advances to the
next question when Enter is pressed and text is non-empty.
</details>
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent 64dcc31 commit f50e2db
File tree
2 files changed
+7
-1
lines changed- src/browser/components
- tools
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
493 | 499 | | |
494 | 500 | | |
495 | 501 | | |
| |||
0 commit comments