Skip to content

feat(Message): Strip images from user messages by default#673

Merged
rebeccaalpert merged 1 commit intopatternfly:mainfrom
rebeccaalpert:defaults
Sep 19, 2025
Merged

feat(Message): Strip images from user messages by default#673
rebeccaalpert merged 1 commit intopatternfly:mainfrom
rebeccaalpert:defaults

Conversation

@rebeccaalpert
Copy link
Member

@rebeccaalpert rebeccaalpert commented Sep 9, 2025

Got sign-offs from everyone we know about.

@patternfly-build
Copy link

patternfly-build commented Sep 9, 2025

@rebeccaalpert rebeccaalpert marked this pull request as draft September 9, 2025 13:42
@rebeccaalpert rebeccaalpert force-pushed the defaults branch 3 times, most recently from fdbf8eb to 3aa1cd7 Compare September 9, 2025 17:36
@rebeccaalpert rebeccaalpert marked this pull request as ready for review September 10, 2025 19:26
Copy link
Collaborator

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Just a nit below, not blocking so let me know what you think

Comment on lines +206 to +207
/** Whether user messages default to stripping out images in markdown */
hasNoImagesInUserMessages?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is just a nit, but wdyt about having this prop be the inverse and be something like "areImagesAllowed" or "hasImages"? Not totally sure if we'd need to note this is for user messages in the prop name, but just to try and make the prop name a tad more concise.

Copy link
Collaborator

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

The above isn't a blocker for me, the PR looks good either way!

@rebeccaalpert rebeccaalpert merged commit e1092d3 into patternfly:main Sep 19, 2025
7 checks passed
@github-actions
Copy link

🎉 This PR is included in version 6.4.0-prerelease.25 🎉

The release is available on:

Your semantic-release bot 📦🚀

rebeccaalpert added a commit to rebeccaalpert/virtual-assistant that referenced this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants