Skip to content

@W-18903896 do not trigger bonus modal for rule based promotions - MVP#2674

Merged
sf-madhuri-uppu merged 4 commits intofeature/bonus-productsfrom
t/cc-shark/W-18903896
Jun 27, 2025
Merged

@W-18903896 do not trigger bonus modal for rule based promotions - MVP#2674
sf-madhuri-uppu merged 4 commits intofeature/bonus-productsfrom
t/cc-shark/W-18903896

Conversation

@sf-madhuri-uppu
Copy link
Contributor

@sf-madhuri-uppu sf-madhuri-uppu commented Jun 27, 2025

Screen.Recording.2025-06-27.at.12.18.15.PM.mov

Description

Bonus modal should not pop up for rule based promotions for MVP till Product discovery team delivers the TD
TD on Product discovery team - https://gus.lightning.force.com/lightning/r/ADM_Team_Dependency__c/a0nEE000000rllZYAQ/view
PR for rule based promotions - #2641
Will be merged after the TD is delivered

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

@sf-madhuri-uppu sf-madhuri-uppu requested a review from a team as a code owner June 27, 2025 19:18
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Jun 27, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@sf-madhuri-uppu sf-madhuri-uppu requested a review from a team June 27, 2025 19:19
@sf-madhuri-uppu sf-madhuri-uppu added skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated ready for review PR is ready to be reviewed labels Jun 27, 2025
if (isValidResponse) {
// Show bonus product modal first if there are bonus items
if (newBonusItems?.length > 0) {
// TODO: rule based promotions will be handled after Product Discovery team delivers TD-0262468
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just say that we dont support rule base yet, this will go out to devlop and the release before that TD is delivered most likely

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also any test updates or anything we can do here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddiazccrz Sure updated the comment and added a test

@sf-madhuri-uppu sf-madhuri-uppu merged commit 1372791 into feature/bonus-products Jun 27, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review PR is ready to be reviewed skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants