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

fix(Wizard): cleaned up CSS #5389

Merged
merged 6 commits into from Mar 3, 2023
Merged

Conversation

thatblindgeye
Copy link
Contributor

Closes #5143

Also updated a Wizard example to use the new markup of Empty State

@patternfly-build
Copy link

patternfly-build commented Feb 16, 2023

{{#> wizard-title-text}}
{{{wizard-title-text--value}}}
{{/wizard-title-text}}
{{/if}}
Copy link
Member

Choose a reason for hiding this comment

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

It looks like if there was a partial block and wizard-title-text--value we'd get both - do we want that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch; I can't imagine we would. Just pushed an update to resolve that.

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

LGTM! Though these demos also need to be updated (the first 5) - https://patternfly-pr-5389.surge.sh/components/wizard/html-demos

{{#> wizard-title-text}}
{{{wizard-title-text--value}}}
{{/wizard-title-text}}
{{else if @partial-block}}
Copy link
Member

Choose a reason for hiding this comment

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

This could probably just be an else, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep! I can open a followup issue for some other components that could use a similar update (Badge being one)

Copy link
Member

Choose a reason for hiding this comment

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

@thatblindgeye I'm sorry - I've learned that it's actually better to use the {{else if @partial-block}} so that you can use the syntax {{> thing}} rather than having to use an open and close {{#> thing}}{{/thing}}

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

LGTM other than @srambach's comment about making this an else if again

@thatblindgeye
Copy link
Contributor Author

@mcoker @srambach added back in the else if!

@mcoker mcoker requested a review from srambach March 2, 2023 16:47
@mcoker mcoker merged commit 3e103f5 into patternfly:v5 Mar 3, 2023
@patternfly-build
Copy link

🎉 This PR is included in version 5.0.0-alpha.25 🎉

The release is available on:

Your semantic-release bot 📦🚀

mattnolting pushed a commit to mattnolting/patternfly that referenced this pull request May 18, 2023
mattnolting pushed a commit to mattnolting/patternfly that referenced this pull request Dec 12, 2023
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.

Wizard - clean up CSS
5 participants