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

RHCLOUD-31230 Adding virtual-assistant's body #4

Merged
merged 7 commits into from
Mar 22, 2024

Conversation

josejulio
Copy link
Collaborator

@josejulio josejulio commented Mar 19, 2024

Using some of the changes from #3 (Thanks @epwinchell !)

  • Added a new componented VirtualAssistant and VirtualAssistantAction
  • Added tests & examples

package.json Outdated Show resolved Hide resolved
@josejulio
Copy link
Collaborator Author

Looks like the md lint is failing also in main: https://github.com/patternfly/virtual-assistant/actions/runs/8143791510/job/22256489065 - pr preview seems busted as well.

@epwinchell epwinchell self-requested a review March 21, 2024 17:51
@fhlavac
Copy link
Collaborator

fhlavac commented Mar 21, 2024

@josejulio thank you, I see. Will try to figure it out. Maybe @dlabaj could help us

@fhlavac
Copy link
Collaborator

fhlavac commented Mar 21, 2024

@josejulio this might help #6

@josejulio
Copy link
Collaborator Author

Rebased, only the pr-preview is failing (expected as not configured)

Copy link
Collaborator

@fhlavac fhlavac Mar 21, 2024

Choose a reason for hiding this comment

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

Can you please add 'VirtualAssistantActions' to propComponents? It shows the component's props in the docs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tried, but it doesn't look good (it's not adding all the attributes), it's probably going to cause more confusion.
I think the reason is because I'm using the same props as Button.

I'll add it if you think that's fine.

export type VirtualAssistantActionProps = ButtonProps;

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmm, yeah, it looks weird, let's not add it for now. I'll reach out to PF on how we could display such types properly. Thank you 🙂

@epwinchell epwinchell self-requested a review March 21, 2024 20:11
Co-authored-by: Filip Hlavac <50696716+fhlavac@users.noreply.github.com>
@fhlavac
Copy link
Collaborator

fhlavac commented Mar 21, 2024

@josejulio made some nitpicking there 😄
Looks great! 🎉

josejulio and others added 2 commits March 21, 2024 14:50
Co-authored-by: Filip Hlavac <50696716+fhlavac@users.noreply.github.com>
Co-authored-by: Filip Hlavac <50696716+fhlavac@users.noreply.github.com>
@fhlavac fhlavac merged commit 8aa6713 into patternfly:main Mar 22, 2024
4 of 5 checks passed
@josejulio josejulio deleted the RHCLOUD-31230 branch March 22, 2024 12:23
Copy link

🎉 This PR is included in version 1.0.0-prerelease.1 🎉

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.

3 participants