Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

feat(chatbot conversation history nav): update history drawer icon/titling#588

Merged
rebeccaalpert merged 17 commits intopatternfly:mainpatternfly/chatbot:mainfrom
Mash707:update-history-drawer-iconMash707/chatbot:update-history-drawer-iconCopy head branch name to clipboard
Jul 28, 2025
Merged

feat(chatbot conversation history nav): update history drawer icon/titling#588
rebeccaalpert merged 17 commits intopatternfly:mainpatternfly/chatbot:mainfrom
Mash707:update-history-drawer-iconMash707/chatbot:update-history-drawer-iconCopy head branch name to clipboard

Conversation

@Mash707
Copy link
Contributor

@Mash707 Mash707 commented Jul 2, 2025

Closes: #510

@patternfly-build
Copy link

patternfly-build commented Jul 2, 2025

@Mash707
Copy link
Contributor Author

Mash707 commented Jul 2, 2025

Added the clock icon and title prop. Spacing needs to be improved
image

@Mash707
Copy link
Contributor Author

Mash707 commented Jul 2, 2025

Fixed the spacing

image

Copy link
Member

@rebeccaalpert rebeccaalpert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! I think this is a good first start. I left some comments after poking around. If you feel comfortable and want to get more comfortable with tests, I think the new props would also benefit from some simple tests to check that the heading is there, customizable, etc. If you have questions about any of these things, just reach out to me here or on Slack.

<div className="pf-chatbot__input">
<Title headingLevel="h3">
<Icon size="lg">
<OutlinedClockIcon />
Copy link
Member

@rebeccaalpert rebeccaalpert Jul 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm looking at our demo for "Drawer with simple menu" with these changes and I'm wondering if we might want to make this icon optional or customizable via props as well. We can do it as a follow-on after this merges.

@Mash707
Copy link
Contributor Author

Mash707 commented Jul 7, 2025

@rebeccaalpert I am not much familiar with writing tests but looking at the existing ones I was able to write them. I am not sure of what props need to be passed.
Let me know how does it look.

Copy link
Member

@rebeccaalpert rebeccaalpert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you.

Copy link

@kaylachumley kaylachumley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for working on this! I left a few comments

@Mash707
Copy link
Contributor Author

Mash707 commented Jul 14, 2025

I have updated the css for the title icon.

@Mash707 Mash707 requested a review from kaylachumley July 14, 2025 16:48
Copy link
Member

@rebeccaalpert rebeccaalpert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you so much.

</DrawerActions>
</DrawerHead>
<div className="pf-chatbot__title-container">
<Title headingLevel="h3">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking we should expose a prop to change the heading level. As it is axe flags this h3 as an issue due to "Heading levels should only increase by one" (updating it to an h2 in the DOM resolves the error in axe). Depending how/where the chatbot is placed, an h3 may not always be the correct heading level.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do this in a follow-on!

@kaylachumley kaylachumley self-requested a review July 17, 2025 14:23
@Mash707 Mash707 requested a review from edonehoo July 17, 2025 19:20
Copy link
Contributor

@edonehoo edonehoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@Mash707 Mash707 force-pushed the update-history-drawer-icon branch from 3292d01 to 9e285d3 Compare July 25, 2025 14:48
@rebeccaalpert rebeccaalpert merged commit a5544b0 into patternfly:main Jul 28, 2025
6 of 7 checks passed
rebeccaalpert added a commit to rebeccaalpert/virtual-assistant that referenced this pull request Oct 24, 2025
…on (patternfly#588)

ChatBot user testing in Q1 2025 revealed that many users had trouble identifying the purpose of the chat history drawer. Design suggested adding a title to make this clearer to users. Title can be customized as needed.

Co-authored-by: Rebecca Alpert <ralpert@redhat.com>
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.

Update history drawer icon/titling

6 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.