Skip to content
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

Closed
wants to merge 1 commit into from
Closed

WIP Priority Resolution #1193

wants to merge 1 commit into from

Conversation

jonsnyder
Copy link
Contributor

Description

Related Issue

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change which does not add functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully.

Copy link
Contributor Author

@jonsnyder jonsnyder left a 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),
Copy link
Contributor Author

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;
Copy link
Contributor Author

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;
Copy link
Contributor Author

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,
Copy link
Contributor Author

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.

@dompuiu
Copy link
Member

dompuiu commented Oct 8, 2024

Closed in favor of Jason's branch.

@dompuiu dompuiu closed this Oct 8, 2024
@dompuiu dompuiu deleted the PDCL-12483 branch October 17, 2024 21:19
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.

2 participants