Skip to content

Conversation

@elliotmassen
Copy link
Member

@elliotmassen elliotmassen commented Oct 20, 2025

Purpose of PR

This PR adds a new package which will be the home of the AI components that will support AI chat. It adds an example AIChatLayout component from the component boilerplate. There will be subsequent PRs from Core Agents team to begin adding various AI chat components within the package, such as AIChatLayout.

This PR also amends the documentation regarding changesets to include reference to the required change to the changelog generation command, as well as fixing the component boilerplate's import of CommonProps.

PR Checklist

  • I have read the relevant readme.md file(s)
  • All commits follow our Git commit message convention
  • Tests are added/updated/not required
  • Tests are passing
  • Storybook stories are added/updated/not required
  • Usage notes are added/updated/not required
  • Has been tested based on Contentful's browser support
  • Doesn't contain any sensitive information

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2025

⚠️ No Changeset found

Latest commit: a433566

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
forma-36 Error Error Oct 30, 2025 4:25pm

@github-actions
Copy link

github-actions bot commented Oct 20, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
CommonJS 114.71 KB (-0.11% 🔽) 2.3 s (-0.11% 🔽) 179 ms (+53.79% 🔺) 2.5 s
Module 112.53 KB (0%) 2.3 s (0%) 171 ms (+5.66% 🔺) 2.5 s

@@ -0,0 +1,36 @@
{
"name": "@contentful/f36-ai-components",
Copy link
Member Author

Choose a reason for hiding this comment

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

Once this PR is approved, should I be running the scripts/prerelease.mjs script to publish this package?

'@contentful/f36-i18n-utils',
'@contentful/f36-website',
'@contentful/f36-docs-utils',
'@contentful/f36-ai-components',
Copy link
Member Author

Choose a reason for hiding this comment

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

Is this correct? If so, I have added a note to the prerelease section in RELEASES.md to document it.

@elliotmassen elliotmassen marked this pull request as ready for review October 21, 2025 11:17
@elliotmassen elliotmassen requested review from a team and damann as code owners October 21, 2025 11:17
@elliotmassen elliotmassen self-assigned this Oct 21, 2025
Copy link
Collaborator

@cf-remylenoir cf-remylenoir left a comment

Choose a reason for hiding this comment

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

Blocking until @contentful/team-ui-foundation review and v6 is released

Copy link
Collaborator

@mshaaban0 mshaaban0 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 👍🏼

export const getStyles = () => {
return {
aIChatLayout: css({
color: tokens.red600,
Copy link
Collaborator

Choose a reason for hiding this comment

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

🔴

@wiz-inc-38d59fb8d7
Copy link

wiz-inc-38d59fb8d7 bot commented Oct 28, 2025

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
SAST Finding SAST Findings 2 Medium
Total 2 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

…tartifactmessage-component

feat(f36-ai-components): add AIChatArtifactMessage component [PIC-713]
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.

5 participants