Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Chat): Enhance input and UI interactions #42

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Zakariathr22
Copy link

@Zakariathr22 Zakariathr22 commented Dec 1, 2024

Description

This pull request improves the chat UI by adding icons, managing input behavior, and adjusting layout interactions; the main changes are:

  • Added icons for Send and Stop buttons.
  • Disabled sending when the input box is empty or contains only white spaces.
  • Disabled the input box while a response is in progress to prevent multiple messages being sent simultaneously.
  • Trimmed prompted text to remove unnecessary leading and trailing white spaces.
  • Enabled new line insertion with Shift + Enter, set a maximum height for the input box, and enabled scrolling when needed.
  • Adjusted the padding of the ScrollViewer in InvertedListView when the scroll bar is visible.

Screenshots

img 1

img 2

img 3

img 4

img 5

- Added icons for Send and Stop buttons.
- Disabled sending when the input box is empty or contains only white spaces.
- Disabled the input box while a response is in progress to prevent multiple messages being sent simultaneously.
- Enabled new line insertion with Shift + Enter, set a maximum height for the input box, and enabled scrolling when needed.
- Adjusted the padding of the ScrollViewer in InvertedListView when the scroll bar is visible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant