You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc8de5f
Browse filesBrowse the repository at this point in the historyBrowse files
feat(chat): show nothing for a silent comparison shortcut (#7275)
* feat(chat): show nothing for a silent comparison shortcut
A comparison shortcut configured with an empty displayText persists a
textless user row and echoes an empty display text. ChatMessages now
renders no bubble for a user message without visible text, including
the pending sentinel (tagged by openChat as metadata.promptShortcut),
so the click goes straight to the agent's answer. The indices are kept
so the loader and suggestions still line up.
The compare bar is added to the showcase's agentic view and to the
default-theme js and react examples, and the compare render state is
exposed on IndexRenderState.
Co-authored-by: Cursor <cursoragent@cursor.com>
* docs(compare): name the product in the Compare checkbox and clarify who sets the transcript text
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments