-
Notifications
You must be signed in to change notification settings - Fork 48
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
WIP Priority Resolution #1193
WIP Priority Resolution #1193
Conversation
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.
Great progress!
render().then( | ||
handleNotifications.bind( | ||
null, | ||
returnedPropositions.filter((p) => p.isSuppressedDisplay), |
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 these params are in the wrong order. See createNotificationHandler.js#L28
@@ -30,13 +30,19 @@ export default ({ | |||
const { render, returnedPropositions } = processPropositions( | |||
propositionsToExecute, | |||
); | |||
debugger; |
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.
Remember to remove this
); | ||
} | ||
|
||
debugger; |
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.
Remember to remove
: null, | ||
setRenderAttempted: firstItemInBatch, | ||
setSuppressedDisplay: !firstItemInBatch, | ||
includeInNotification: firstItemInBatch, |
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 was under the impression that we should only be rendering the last item.
Closed in favor of Jason's branch. |
Description
Related Issue
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: