-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(personaliztion-utils): Add A/B Test Trimming Support to trimHtml…
… Function (#3575) This PR extends the `trimHtml` function to support trimming A/B test variants in addition to personalization containers. ### Changes: - Updated `trimHtml` function to process A/B test variants before personalization containers - Added `abTests` parameter to `trimHtml` options - Implemented logic to select winning A/B test variants based on provided `abTests` object - Updated README with information on A/B test trimming and usage examples
- Loading branch information
Showing
6 changed files
with
415 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
174 changes: 0 additions & 174 deletions
174
packages/personalization-utils/src/get-trimmed-html.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.