Skip to content

Conversation

@dominik-petrik
Copy link
Contributor

What: Closes #7836

@patternfly-build
Copy link
Collaborator

patternfly-build commented Aug 16, 2022

Copy link
Contributor

@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.

Looks good! Had a couple quick suggested edits and a nitpick below, let me know what you think!

```ts file="./ProgressFiniteStep.tsx"
```

### Progress (step instruction)
Copy link
Contributor

Choose a reason for hiding this comment

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

More of a nitpick, so not a blocker if the example title is kept as-is:

Suggested change
### Progress (step instruction)
### Progress with step instruction

export const ProgressTitleOutsideOfProgressBar: React.FunctionComponent = () => (
<DescriptionList>
<DescriptionListGroup>
<DescriptionListTerm id="progress-label">Title outside of progress bar</DescriptionListTerm>
Copy link
Contributor

Choose a reason for hiding this comment

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

More of an "in case" thing, but just to prevent any issues in the future with duplicate IDs:

Suggested change
<DescriptionListTerm id="progress-label">Title outside of progress bar</DescriptionListTerm>
<DescriptionListTerm id="title-outside-progress-example-label">Title outside of progress bar</DescriptionListTerm>

<DescriptionListGroup>
<DescriptionListTerm id="progress-label">Title outside of progress bar</DescriptionListTerm>
<DescriptionListDescription>
<Progress value={33} measureLocation={ProgressMeasureLocation.outside} aria-labelledby="progress-label" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<Progress value={33} measureLocation={ProgressMeasureLocation.outside} aria-labelledby="progress-label" />
<Progress value={33} measureLocation={ProgressMeasureLocation.outside} aria-labelledby="title-outside-progress-example-label" />

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback! All the required changes have been made. Let me know if there is anything more that needs to be done!

Copy link
Contributor

@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.

Thanks for making the updates! 🎉

@tlabaj tlabaj merged commit 44bdae8 into patternfly:main Aug 18, 2022
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.

Progress: convert examples to TypeScript

5 participants