FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(AlertGroup): Add alert group component by jessiehuff · Pull Request #3531 · patternfly/patternfly-react · GitHub

feat(AlertGroup): Add alert group component - #3531

Merged
tlabaj merged 16 commits into
patternfly:masterfrom
jessiehuff:alert-group
Jan 27, 2020
Merged

feat(AlertGroup): Add alert group component#3531
tlabaj merged 16 commits into
patternfly:masterfrom
jessiehuff:alert-group

Conversation

jessiehuff commented Jan 20, 2020
edited
Loading

Copy link
Copy Markdown
Contributor

What: Closes #3528

Additional issues: #3519 should go in first to allow for accessible toast alerts

Copy link
Copy Markdown
Collaborator

PatternFly-React preview: https://patternfly-react-pr-3531.surge.sh

codecov-io commented Jan 20, 2020
edited
Loading

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@4dadd69). Click here to learn what that means.
The diff coverage is 88.63%.

@@            Coverage Diff            @@
##             master    #3531   +/-   ##
=========================================
  Coverage          ?   67.15%           
=========================================
  Files             ?      907           
  Lines             ?    25559           
  Branches          ?     2267           
=========================================
  Hits              ?    17165           
  Misses            ?     7353           
  Partials          ?     1041
Flag Coverage Δ
#misc 95.45% <ø> (?)
#patternfly3 69.29% <ø> (?)
#patternfly4 64.31% <88.63%> (?)
Impacted Files Coverage Δ
...ore/src/components/AlertGroup/AlertGroupInline.tsx 100% <100%> (ø)
...ernfly-4/react-core/src/components/Alert/Alert.tsx 84.21% <100%> (ø)
...ly-4/react-core/src/components/AlertGroup/index.ts 100% <100%> (ø)
...eact-core/src/components/AlertGroup/AlertGroup.tsx 83.33% <83.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4dadd69...7358826. Read the comment docs.

dlabrecq previously approved these changes Jan 21, 2020

dlabrecq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

tlabaj requested a review from mcoker January 22, 2020 15:09
redallen previously approved these changes Jan 22, 2020

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I wonder if we should follow what we did in Chips/Chip Group and have Alert and Alert Groups be in the same package. @mcarrano Thoughts. I thin you had suggested the Chips be in the same package before.

Can you also had the Alert Group to the demo-app and add integration test.

tlabaj requested a review from mcarrano January 22, 2020 16:12
jessiehuff dismissed stale reviews from redallen and dlabrecq via 0059e3f January 22, 2020 20:40

mcarrano left a comment
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@tlabaj I met with @jessiehuff and @mcoker to review this and we agreed that the following changes should be made:

  • Use the Inline Alert styling for examples that are other than toast alerts.
  • For the Additive Alert Group examples, make the alerts dismissable so you can see how alerts and both added and removed from a group.
  • Show the Aync Additive example with a Toast group rather than an Inline group since that's more representative of how asynchronous alerts are added to the page.

We decided to keep the packaging as is, i.e. separate Alert and Alert Group components.

Copy link
Copy Markdown
Member

@jessiehuff This is definitely looking better. Just a couple of remaining issues:

  • For the "Singular dynamic alert group", can we change the styling of those to inline alerts?
  • In the Async alert group, doesn't seem like the Stop button is working. Could not stop the alerts.

mcoker previously approved these changes Jan 24, 2020

mcoker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nice work @jessiehuff!! 🥇

mcarrano previously approved these changes Jan 24, 2020

mcarrano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks great @jessiehuff

mcoker previously approved these changes Jan 24, 2020
dlabrecq previously approved these changes Jan 24, 2020
tlabaj previously approved these changes Jan 24, 2020

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Update look great Jessie.

const wrapper = mount(
<Alert
isToast={true}
isLiveRegion={true}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I like this prop name change!

kmcfaul previously approved these changes Jan 24, 2020
jessiehuff dismissed stale reviews from kmcfaul, tlabaj, dlabrecq, mcoker, and mcarrano via c0b03f5 January 27, 2020 17:30

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Update look great Jessie.LGTM

tlabaj merged commit 0a6806e into patternfly:master Jan 27, 2020

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • @patternfly/react-catalog-view-extension@1.2.3
  • @patternfly/react-core@3.134.0
  • @patternfly/react-docs@4.17.4
  • @patternfly/react-inline-edit-extension@2.15.4
  • demo-app-ts@3.19.0
  • @patternfly/react-integration@3.19.0
  • @patternfly/react-table@2.25.4
  • @patternfly/react-topology@2.12.3
  • @patternfly/react-virtualized-extension@1.3.91

Thanks for your contribution! 🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

PF4: Alert Group

10 participants


Back | FazBrowse Home | New Git URL