Card Demos: Aggregate Status, Status Tabbed, Status#6206
Card Demos: Aggregate Status, Status Tabbed, Status#6206nicolethoen merged 11 commits intopatternfly:mainfrom
Conversation
|
PF4 preview: https://patternfly-react-pr-6206.surge.sh |
packages/react-core/src/demos/examples/CardDemos/Aggregated.tsx
Outdated
Show resolved
Hide resolved
mcarrano
left a comment
There was a problem hiding this comment.
This looks good @CooperRedhat but I just had some questions about the tabbed status card demo. I'm see some alignment that does not feel quite right when I compare with core version.
Note that the text "Ready" seems misaligned.
I also wonder about this example, @mattnolting do you remember where it came from? I know that this is only a demo, but using the (!) icon which a label that reads Ready seems contradictory. Maybe we should be using the green check (success) icon here?
@mcarrano: @nicolethoen noticed the same issue and we're addressing it, thanks! |
FWIW, it looks like |
FYI (and my own clarity) I think there are two issues here, @mcarrano was talking about Ready and Running being misaligned, which I pushed a fix for. @mcoker You are referring to something else, which is text/icon alignment, correct? |
@CooperRedhat oh yep, sorry. This for example - I applied |
mattnolting
left a comment
There was a problem hiding this comment.
Looks great! Just a few updates.
| status: 'Running', | ||
| resourceName: 'Resource name that is long and can wrap', | ||
| detail: '121 Systems', | ||
| icon: <Spinner size='md' aria-valuetext='Loading...'></Spinner> |
There was a problem hiding this comment.
Let's replace this with a check icon
There was a problem hiding this comment.
They core demo has spinners. Will that be updated as well?
There was a problem hiding this comment.
Changed the spinners to checks, leaving this conversation open for @tlabaj's comment.
| status: 'Running', | ||
| resourceName: 'Resource name that is long and can wrap', | ||
| detail: '122 Systems', | ||
| icon: <Spinner size='md' aria-valuetext='Loading...'></Spinner> |
There was a problem hiding this comment.
Replace this with a check icon
| <a href="#">Image Vulnerabilities</a> | ||
| </FlexItem> | ||
| <FlexItem> | ||
| <span style={{ color: '#8a8d90' }}>0 vulnerabilities</span> |
There was a problem hiding this comment.
Does this one also need to use a var?
mcarrano
left a comment
There was a problem hiding this comment.
Looks much better. Thanks @CooperRedhat !
|
Your changes have been released in:
Thanks for your contribution! 🎉 |


What: Closes #6189
Closes #6207
Closes #6217
Closes #6219
Closes #6220
NotificationDrawerGroupwas updated to handle more than a string title in order to follow examples in core