Before submitting
Area
apps/web (reproduced in the desktop app)
Steps to reproduce
- Open a thread containing an assistant response.
- Select some text in the response and click Cite.
- In the citation comment popover, click Cancel or press Esc.
- Check the chat composer.
Expected behavior
Cancelling a new citation should dismiss the popover and remove that citation from the composer, preserving any existing draft text and previously saved citations. Cancelling comment edits on an already saved citation should keep that citation and its original comment.
Actual behavior
The popover closes, but the newly selected citation remains in the composer. The user has to remove it manually even though they cancelled the action.
Impact
Minor bug or occasional failure
Version or commit
Reproduced on main at 223ff4490 before the local fix.
Environment
macOS, local T3 Code desktop development build (Electron 43.4.1). Originally observed in T3 Code Nightly.
Workaround
Click the citation chip's remove button in the composer after cancelling.
Before submitting
Area
apps/web (reproduced in the desktop app)
Steps to reproduce
Expected behavior
Cancelling a new citation should dismiss the popover and remove that citation from the composer, preserving any existing draft text and previously saved citations. Cancelling comment edits on an already saved citation should keep that citation and its original comment.
Actual behavior
The popover closes, but the newly selected citation remains in the composer. The user has to remove it manually even though they cancelled the action.
Impact
Minor bug or occasional failure
Version or commit
Reproduced on main at
223ff4490before the local fix.Environment
macOS, local T3 Code desktop development build (Electron 43.4.1). Originally observed in T3 Code Nightly.
Workaround
Click the citation chip's remove button in the composer after cancelling.