Repository navigation
fix(chat): distinguish side questions in the composer - #470
andrebrait wants to merge 2 commits into
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Recognize and route side questions components/ChatInput.tsx, components/ChatInput.btw.test.mjs |
ChatInput recognizes /btw, processes it before the streaming guard, routes dictation follow-ups through the side-question handler, and retains /btw in the slash palette during streaming. Tests cover submissions with both queue and steer preferences and slash-palette visibility. |
Show the /btw send state components/ChatInput.tsx, components/ChatInput.btw.test.mjs, CHANGELOG.md |
The composer uses accent styling and a Send action for /btw drafts. Pending or failed uploads do not disable the button or replace its Send label. A test verifies that a pending upload leaves the draft unchanged and invokes no callback. The changelog documents the side-question behavior. |
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix
Suggested reviewers: kahme247, cloudwindy, gtanger
Merge Risk: 
Minimal · previous review e602f
-
This change routes
/btwside questions during a run and adjusts the composer's appearance and Send action. No concrete merge-blocking risk was identified in the supplied context.
Pre-merge checks: 
4
-
Full details: Title check
-
Explanation
The title names the main change: the composer now tells side questions (
/btw) apart from ordinary prompts, which the changelog, ChatInput.tsx, and the tests all support. The 'fix(chat)' prefix is a conventional-commit type and the rest of the title is specific. The title does not mention the send-during-run behavior or the dispatch bypass, but it does not need to cover every detail.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit taps /btw with care,
The composer glows with accent flair.
A question skips the waiting line,
While Send stays ready, clear, and fine.
The rabbit hops, the draft stays near.
Code Review Roast 🔥Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (4 files)
Previous Review Summary (commit e602f6d)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit e602f6d)Verdict: No Issues Found | Recommendation: Merge Oh wait, this PR is actually clean. I need to sit down. I had my flamethrower warmed up and everything. 📊 Overall: Like finding a unicorn in production — I didn't think clean PRs existed anymore, but here we are. Files Reviewed (3 files)
Reviewed by free · Input: 41.9K · Output: 12.2K · Cached: 164.8K |
e602f6d to
657d246
Compare
|
Replaced by #479 (same commits, branch now in this repository). |
Change
/btw.Verification
/btwxboundary, immediate builtin dispatch.Summary by CodeRabbit
/btwswitches the composer to Send. Side questions send immediately instead of being queued or steered./btwremains available in the slash-command palette while a run is active, and works with dictation./btwmode.Overlaps #338 (
/btwkept in the streaming slash menu, side question dispatched before the streaming guard); this PR also tints the composer, shows Send during a run and routes dictated side questions.