-
Notifications
You must be signed in to change notification settings - Fork 230
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
Update notification drawer to use trackByID #2046
Update notification drawer to use trackByID #2046
Conversation
@@ -7,7 +7,7 @@ | |||
heading-include="{{$ctrl.headingInclude}}" | |||
notification-body-include="{{$ctrl.notificationBodyInclude}}" | |||
notification-groups="$ctrl.notificationGroups" | |||
notification-track-field="uid" | |||
notification-track-field="trackByID" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you need to set trackByID
here for events?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! looking at that now, I'll have an update in a second.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think mapping event.metadata.uid
is fine. not sure if it really needs the same format of _.uniqueId('notification-') + Date.now()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah has to be this way with count
increments & things.
c1e7e0f
to
b5cbf48
Compare
updated |
[merge][severity: bug] |
Flake #1685 (not the one we just fixed!) [merge][severity: bug] |
Evaluated for origin web console merge up to b5cbf48 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin_web_console/191/) (Base Commit: 08814ee) (PR Branch Commit: b5cbf48) (Extended Tests: bug) |
Depends on release including PR 180 from origin-web-common.
@spadgett @jeff-phillips-18