Skip to content
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(QuickStartsTile): Add quick starts tile for messages #377

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

rebeccaalpert
Copy link
Member

@rebeccaalpert rebeccaalpert commented Dec 11, 2024

Added quick starts tile, tests, and initial shot at docs section under the Messages section: https://chatbot-pr-chatbot-377.surge.sh/patternfly-ai/chatbot/messages#messages-with-quick-start-tiles

The tile mostly reuses code from the quick starts extension, with the context and status logic removed. I added props so strings can be internationalized if needed, but the API will be a little different than the main extension.

This is based on the parent extension tile: https://quickstarts.netlify.app. I stuck a max-width on it after talking to Kayla; have not made other design changes.

@patternfly-build
Copy link

patternfly-build commented Dec 11, 2024

@rebeccaalpert rebeccaalpert linked an issue Dec 16, 2024 that may be closed by this pull request
@rebeccaalpert rebeccaalpert force-pushed the quickstartstile branch 2 times, most recently from 45dc638 to 517a471 Compare January 3, 2025 20:06
@rebeccaalpert rebeccaalpert changed the title Add quickStarts tile feat(QuickStartsTile): Add quick starts tile for messages Jan 3, 2025
Quick starts tile is based on the PF QuickStarts extension tile, with slightly reduced functionality (namely status tracking and shared context). The purpose of this card is simply to trigger a QuickStart in a different section of unrelated UI, so it accepts an onClick function and passes in its id when clicked.
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.

Couple of minor edits ✍️

rebeccaalpert and others added 3 commits January 6, 2025 12:12
…mples/Messages/MessageWithQuickStart.tsx

Co-authored-by: Erin Donehoo <[email protected]>
…mples/Messages/MessageWithQuickStart.tsx

Co-authored-by: Erin Donehoo <[email protected]>
…mples/Messages/Messages.md

Co-authored-by: Erin Donehoo <[email protected]>
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.

👏

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.

looks good! 👏

@nicolethoen nicolethoen merged commit 9653fd2 into patternfly:main Jan 7, 2025
5 checks passed
Copy link

github-actions bot commented Jan 7, 2025

🎉 This PR is included in version 2.2.0-prerelease.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Modify quick start tile to match design issue
5 participants