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

Improve Prompt Suggestions Placement and UI Enhancements for Chatbot #179

Open
taichan03 opened this issue Oct 29, 2024 · 0 comments
Open

Comments

@taichan03
Copy link
Collaborator

Feature Descriptions:
Prompt Suggestions Inside Chatbot Screen:

Display prompt suggestions inside the chatbot conversation area instead of below the input box.
Ensure that suggestions appear in a visually distinct, but unobtrusive way, so users can easily click on them without affecting the flow of conversation.
The suggestions should disappear or update dynamically based on user interactions (e.g., when a suggestion is clicked or new suggestions are loaded).
Scroll Containment for Suggestions:

If there are multiple prompt suggestions, allow them to scroll within the chatbot area without extending beyond the chat window.
Ensure the scrollbar, if needed, appears only within the suggestion box area and does not interfere with other elements.
Responsive and Dynamic Sizing:

Adapt the prompt suggestion area to different screen sizes, ensuring that it remains legible and accessible on both desktop and mobile devices.
For smaller screens, reduce the font size or padding of prompt suggestions to maintain a compact design without sacrificing readability.
Visual Styling:

Style the prompt suggestions with distinct background colors and borders to differentiate them from regular messages.
Apply hover effects on desktop and touch animations on mobile devices to enhance interactivity and visual appeal.
Accessibility Considerations:

Ensure that suggestions are accessible via keyboard navigation.
Include ARIA labels for each suggestion to provide context for screen readers.

Image

Image

@taichan03 taichan03 converted this from a draft issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready to pick up
Development

No branches or pull requests

1 participant