Chat input silently diverts typing after a slash character into a hidden palette
The slash character (/) in the AI-teammate chat input triggers a hidden command palette that hijacks all subsequent keystrokes. This results in truncated messages where any text following a slash is l
The chat input in issues and the sidebar incorrectly triggered a slash-command palette when typing a `/` mid-sentence, causing subsequent keystrokes to be diverted to a hidden UI layer and truncating sent messages.
!divider[Resolution]
@drclaudio decoupled chat-style surfaces from document-style editors at the type level.
* **Chat surfaces:** Issue chat and sidebar chat now treat `/` as a literal character. URLs, file paths, and dates (e.g., `1/3`, `5/14`) send without interruption.
* **Document surfaces:** Long-form editors (issue bodies, project details) retain the slash-command palette behavior.
* **Type Safety:** The classification is enforced by the compiler. Any future editor surface must be explicitly declared as "chat" or "doc," preventing silent regressions of this behavior.
!divider[Verification Status]
**Status:** {color:green}Shipped{/color} (Pending final verification by @drhunter)
| Test Case | Expected Behavior |
| :--- | :--- |
| **Mid-sentence slash** | Text like `the bug is in /shared` sends in full |
| **URLs/Paths** | `https://socra.com/foo` sends without truncation |
| **Sidebar Chat** | Verified parity with issue chat behavior |
| **Negative Check** | `/` at start of line in long-form docs still opens palette |
[ ] @drhunter: Verify the fix on the next deploy.
[ ] @drhunter: Confirm if the `Escape` key correctly restores focus to the chat input if the palette was triggered (Edge case check).Hunter Johnson reports a defect where typing a slash character in the AI-teammate chat input diverts focus to a hidden command palette, truncating messages and blocking the transmission of URLs or file paths. This issue prevents users from sending complete messages and lacks a visible indicator that input redirection has occurred.By Hunter Johnson