-
Notifications
You must be signed in to change notification settings - Fork 25
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(QuickResponse): Add active and selected states #403
feat(QuickResponse): Add active and selected states #403
Conversation
Preview: https://chatbot-pr-chatbot-403.surge.sh A11y report: https://chatbot-pr-chatbot-403-a11y.surge.sh |
Could we change the first sentence in the example to mention that you can't select more than one? You can offer convenient, clickable responses to messages in the form of quick actions. Quick actions are PatternFly labels in a label group, configured to display up to 5 visible labels. Only 1 response can be selected at a time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good!
0eff347
to
99372a4
Compare
All set @edonehoo! 🌈 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
🎉 This PR is included in version 2.2.0-prerelease.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Added two additional visual states to quick response labels. Only one option can be selected per block. Unlike the actions (thumbs up/down), selection persists if you click somewhere else.
Click on some buttons here to see them: https://chatbot-pr-chatbot-403.surge.sh/patternfly-ai/chatbot/messages#messages-with-quick-responses