-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow toggling CTRL+Enter vs Enter to send ChatAreaInput (#6592)
* incomplete * fixed spelling, better log message, weird update behavior * update log messages * update log messages * update log messages * update shift_enter_sends variable name * working code * fixed lint complaints * fixed lint complaints * removed comma * removed comma * removed comma * Update examples/reference/chat/ChatAreaInput.ipynb Co-authored-by: Andrew <[email protected]> * Update panel/models/chatarea_input.ts Co-authored-by: Andrew <[email protected]> * added enter_sends test * modified newline/send behavior * removed extra spaces * added Ctrl-Enter handling when enter_sends=True * removed space in if statement * Update examples/reference/chat/ChatAreaInput.ipynb Co-authored-by: Andrew <[email protected]> * Update examples/reference/chat/ChatAreaInput.ipynb Co-authored-by: Andrew <[email protected]> * Update panel/chat/input.py Co-authored-by: Andrew <[email protected]> * Update examples/reference/chat/ChatAreaInput.ipynb Co-authored-by: Andrew <[email protected]> * Update examples/reference/chat/ChatAreaInput.ipynb Co-authored-by: Andrew <[email protected]> * Update panel/chat/input.py Co-authored-by: Andrew <[email protected]> * Update panel/models/chatarea_input.py Co-authored-by: Andrew <[email protected]> * Update panel/models/chatarea_input.py Co-authored-by: Andrew <[email protected]> * Update examples/reference/chat/ChatAreaInput.ipynb * Update examples/reference/chat/ChatAreaInput.ipynb * Update examples/reference/chat/ChatAreaInput.ipynb * Update examples/reference/chat/ChatAreaInput.ipynb --------- Co-authored-by: Andrew <[email protected]>
- Loading branch information
Showing
5 changed files
with
80 additions
and
21 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