-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TTYG process chat run step by step + UX improvements (#1636)
* TTYG process chat run step by step + UX improvements ## What - Process chat answers step by step and provide immediate feedback to user - Improved loader in chat list - Cleaned up logic for new chat flow - Small fixes here and there ## Why - Better usability - Better look ## How - Use new API endpoint for continuing a chat run - CSS changes to align things properly Note: needs backend changes from the ttyg-continue-chat-run branch to use the continue flow but will work as before with branches before that is merged. Note: tests don't test the new continue flow yet. * TTYG process chat run step by step + UX improvements - added padding on messages-hint block * Fixes the event name in a javadoc * Sets the question timestamp when the ask button is clicked. When a question is asked, it is added to the list of chats, and a tooltip shows when the question was asked. If the timestamp is not set, the tooltip will be incorrect until the chat is reloaded. * Resets the waitingForLastMessage flag if continueChatRun fails, to prevent blocking the UI. --------- Co-authored-by: Pavel Mihaylov <pavel@ontotext.com> Co-authored-by: boyantonchev <boyan.tonchev@ontotext.com> Co-authored-by: boyan-tonchev <108174872+boyan-tonchev@users.noreply.github.com>
- Loading branch information
1 parent
d33e0a2
commit 251ecfc
Showing
13 changed files
with
261 additions
and
67 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
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.