Skip to content

BMU-2684: standalone-prices - support staged value via changeValue and removeStagedChanges#57

Merged
islam3zzat merged 1 commit into
mainfrom
BMU-2684-add-standalone-price-staged-value-changed-actions
May 28, 2026
Merged

BMU-2684: standalone-prices - support staged value via changeValue and removeStagedChanges#57
islam3zzat merged 1 commit into
mainfrom
BMU-2684-add-standalone-price-staged-value-changed-actions

Conversation

@islam3zzat
Copy link
Copy Markdown
Contributor

Previously, a staged-only diff on a StandalonePrice produced zero update actions and was silently dropped, because baseActionsList in prices-actions.ts had no entry for staged.

The platform exposes two relevant actions: StandalonePriceChangeValueAction (with staged: true) for set/update, and StandalonePriceRemoveStagedChangesAction for removal. Adds actionsMapStaged to emit them, wired into the base action group alongside actionsMapBase. baseActionsList and actionsMapBase are untouched. The change is additive and backward-compatible.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

🦋 Changeset detected

Latest commit: 151a822

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@commercetools/sync-actions Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@islam3zzat islam3zzat marked this pull request as ready for review May 26, 2026 08:20
@islam3zzat islam3zzat requested a review from a team as a code owner May 26, 2026 08:20
@islam3zzat islam3zzat requested a review from a team May 26, 2026 08:21
@islam3zzat islam3zzat merged commit 52449a0 into main May 28, 2026
10 checks passed
@ct-changesets ct-changesets Bot mentioned this pull request May 28, 2026
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