Repository navigation
Make web console alerts dismissable - #6473
Conversation
|
@jwforres PTAL |
There was a problem hiding this comment.
aria-hidden true on the pficon and an sr-only span that says "Close" ?
|
sweep the code and make sure $scope.alerts is always being set to a map, I know at one point some places snuck in where it was being set to an array instead |
|
otherwise LGTM |
|
@jwforres Good catch, TaskList uses an array. |
|
I was looking at switching to the angular-patternfly |
b2400a9 to
82aeb59
Compare
|
@jwforres updated the close button to work with objects or arrays and added the sr-only label |
|
[test] |
|
Evaluated for origin test up to 82aeb59 |
|
Looks like a nice/simple fix to address the main issue we have talked about with alerts. If sufficient, shall I close this PR? |
I still think it's a good refactor... Maybe for when we can bring in Patternfly toast notifications? |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8118/) |
|
[merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8118/) (Image: devenv-rhel7_3066) |
|
Evaluated for origin merge up to 82aeb59 |
Adds a close button for each alert.
See also #6187. (I think the changes here will work with that PR.)