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

chore(docs): Add demo for live progress summary card#642

Merged
rebeccaalpert merged 7 commits intopatternfly:mainpatternfly/chatbot:mainfrom
rebeccaalpert:installer-cardrebeccaalpert/virtual-assistant:installer-cardCopy head branch name to clipboard
Aug 12, 2025
Merged

chore(docs): Add demo for live progress summary card#642
rebeccaalpert merged 7 commits intopatternfly:mainpatternfly/chatbot:mainfrom
rebeccaalpert:installer-cardrebeccaalpert/virtual-assistant:installer-cardCopy head branch name to clipboard

Conversation

@rebeccaalpert
Copy link
Member

@rebeccaalpert rebeccaalpert commented Aug 5, 2025

Adding demo for card as custom component. It is not something we ship, but providing proof we can enable complex card behavior as an injected component.

Figma: https://www.figma.com/design/2nEieXSdotB9EB6Qa8juWw/Spec--Live-Progress-Summary-Card?m=auto&t=jtOQxhPMXabq1wmC-6

Demo: https://chatbot-pr-chatbot-642.surge.sh/patternfly-ai/chatbot/messages#custom-message-content

Mark's design is a divergence from PF defaults - did some overrides here to get us closer to the design, but can back things out or move styles around - just let me know.

Adding demo for card as custom component. It is not something we ship, but providing proof we can enable complex card behavior as an injected component.
@rebeccaalpert rebeccaalpert linked an issue Aug 5, 2025 that may be closed by this pull request
@patternfly-build
Copy link

patternfly-build commented Aug 5, 2025

Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

Functionally it works.
I recommend getting some CSS review just to be sure about the necessity of the overrides.

I am also interested if it'd be possible for these progress bars or codeblocks to update live as progress is made. I'd imagine not? unless the consumer is passing in a function to determine what's rendered and able to keep calling it over time?

Likely not something we need to address today, but interesting to think about.

@rebeccaalpert
Copy link
Member Author

rebeccaalpert commented Aug 5, 2025

I'll polish this a little bit tomorrow @nicolethoen but it should be possible:

Screen.Recording.2025-08-05.at.5.18.23.PM.mov

I can add this to the demo so they know 100%.

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.

lgtm

Just in regards to the progress updating in the example, we may just want to make sure it won't have a ton of announcements automatically via AT - maybe a button to toggle the progress updates if that's the case?

@rebeccaalpert
Copy link
Member Author

Thanks @srambach - all set. I updated the simulated example to not announce the progress time since it was constant, but it seems to me like the other updates are less annoying.

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.

left one minor suggestion if you want, but otherwise this seems good

…mples/Messages/UserMessageWithExtraContent.tsx

Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

No issues afaict!

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.

Hey! just a few spacing comments!

  • Can we change the code block border radius to be var(--pf-t--global--border--radius--small) instead of the medium variable?

  • Can we add 16px padding between the accordion header and the code block content area?

Screenshot 2025-08-11 at 4 48 52 PM
  • Is it possible for the progress bar and the progress bar description to span the entire width of the container?
Screenshot 2025-08-11 at 4 58 10 PM

</CardBody>
</CardExpandableContent>
<CardFooter>
<Button isBlock variant="secondary" icon={<ArrowRightIcon />} iconPosition="end">

Choose a reason for hiding this comment

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

can we use the tertiary button variant here? thanks! i think the class is 'pf-m-tertiary'

@rebeccaalpert
Copy link
Member Author

Is it possible for the progress bar and the progress bar description to span the entire width of the container?

I don't think so without a lot of work - the way it's set up, it's like [box 1 -------------][box 2], where box 1 is set up to take up as much space as it can.

I addressed the other things @kaylachumley!

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.

sweet! thanks!

@rebeccaalpert rebeccaalpert merged commit 58d3b49 into patternfly:main Aug 12, 2025
7 checks passed
@github-actions
Copy link

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

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
Adding demo for card as custom component. It is not something we ship, but providing proof we can enable complex card behavior as an injected component. Demo includes simulation of possible installation behavior.

Assisted-by: Cursor

Co-authored-by: Erin Donehoo <105813956+edonehoo@users.noreply.github.com>
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.

RFE: New Component - Live Progress Summary Card

7 participants

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