feat(HistoryDrawer): Add compact mode#523
Merged
nicolethoen merged 2 commits intopatternfly:mainfrom Apr 22, 2025
Merged
Conversation
|
Preview: https://chatbot-pr-chatbot-523.surge.sh A11y report: https://chatbot-pr-chatbot-523-a11y.surge.sh |
kaylachumley
approved these changes
Apr 21, 2025
kaylachumley
left a comment
There was a problem hiding this comment.
compact looks good! I noticed that the alignment of the search bar is slightly off on the default version of the display drawer but the compact looks great. can we adjust the width search bar to line up with the close action and new chat action? also understand if we would need a new issue to do that.
60e541c to
b5672f0
Compare
Add isCompact prop and associated styles to provide drawer with less spacing.
b5672f0 to
91d7a00
Compare
Member
Author
|
Just made the compact spacing global @kaylachumley - should get it where you want it! |
kmcfaul
approved these changes
Apr 22, 2025
nicolethoen
approved these changes
Apr 22, 2025
|
🎉 This PR is included in version 6.3.0-prerelease.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Add isCompact prop and associated styles to provide drawer with less spacing.
I'm breaking the density ticket into a series of smaller tickets so they'll be easier to review.
https://chatbot-pr-chatbot-523.surge.sh/patternfly-ai/chatbot/ui#drawer-with-search-and-new-chat-button