-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add evaluateRulesets action, subscribeRulesetItems event for "in browser messages" beta #351
Conversation
Approval pending the beta badges from #353 |
this PR will need to be modified to support moving |
…eta badges, move decisionContext to be inside personalization object.
Looks good, @jonsnyder, thank you for making the edits. |
const items = [...parent]; | ||
const currentIndex = items.indexOf(item); | ||
const previousItems = items.slice(0, currentIndex); | ||
console.log("unique key validator 2", currentIndex, previousItems); |
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.
TODO (eventually): remove this console log
@@ -29,6 +29,7 @@ const FormikComboBox = ({ name, width, validate, ...otherProps }) => { | |||
name, | |||
validate | |||
}); | |||
console.log("FormikComboBox", otherProps); |
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.
TODO (eventually): remove this console log
notice({ | ||
title: "Evaluate rulesets action", | ||
description: | ||
"This action manually triggers ruleset evaluation. Rulesets are returned from Adobe Journey Optimizer in-browser-messages.", |
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 would revise this just a tad:
This action manually triggers ruleset evaluation. Rulesets are returned by Adobe Journey Optimizer to support features like in-browser messages.
Description
This adds evaluateRulesets action, and subscribeRulesetItems event for the In browser messages beta work. It also adds a field in sendEvent for "decisionContext".
I still need to add functional tests, and add beta labels.
Related Issue
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: