-
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework selection inclusion; new Send button UX (#905)
* remove include selection checkbox * add new selection types to backend * add new TooltippedButton component * add `prompt` field to `HumanChatMessage` This allows chat handlers to distinguish between the message prompt, selection, and body (prompt + selection). - The backend builds the message body from each `ChatRequest`, which consists of a `prompt` and a `selection`. - The body will be used by most chat handlers, and will be used to render the messages in the UI. - `/fix` uses `prompt` and `selection` separately as it does additional processing on each component. `/fix` does not use `body`. * add new include selection icon * implement new send button * pre-commit * fix unit tests * pre-commit * edit cell selection tooltip to indicate output is not included * allow Enter to open dropdown menu * fix double-send bug when using keyboard * re-enable auto focus for first item
- Loading branch information
Showing
14 changed files
with
355 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.