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

refactor: use server setting for message-to-merchant checkout field #1542

Merged
merged 2 commits into from Jan 30, 2024

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Nov 29, 2023

PR Type

[x] Feature

What Is the New Behavior?

In ICM 11 messageToMerchant is a flag supplied by the configurations call, so the according feature toggle is replaced.

For compatibility with ICM 7.10 an ICMCompatibilityInterceptor is provided that can be used to simulate the old behavior where the feature is controlled by a configured feature toggle (see the migration guide for further explanation https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51).

Does this PR Introduce a Breaking Change?

[x] Yes

Other Information

requires ICM 11.5 or higher

AB#93333

@dhhyi dhhyi added the enhancement Enhancement to an existing feature label Nov 29, 2023
@dhhyi dhhyi self-assigned this Nov 29, 2023
@dhhyi dhhyi force-pushed the refactor/use-server-setting-for-messagetomerchant branch from 67d94b4 to 8bc8ac4 Compare November 29, 2023 19:10
@SGrueber SGrueber self-requested a review November 30, 2023 12:32
@SGrueber SGrueber added the wait Waiting for something (e.g. new ICM release) label Nov 30, 2023
@dhhyi dhhyi marked this pull request as ready for review December 4, 2023 08:54
@dhhyi
Copy link
Collaborator Author

dhhyi commented Dec 4, 2023

@SGrueber @shauke For backwards compatibility I would recommend using an interceptor to projects on ICM 7.10 like this: 0bbc991

@shauke shauke added this to the 5.0 milestone Dec 5, 2023
@shauke shauke assigned shauke and unassigned dhhyi Dec 13, 2023
@SGrueber SGrueber modified the milestones: 5.0, 5.1 Dec 22, 2023
@SGrueber
Copy link
Collaborator

With this PR the feature is no longer working for ICM 7.10 customers. We can either deprecate the feature in the PWA 5.0 and merge it later or provide the suggested interceptor.

Base automatically changed from refactor/typed-environment-feature-toggles to develop January 26, 2024 16:09
@shauke shauke force-pushed the refactor/use-server-setting-for-messagetomerchant branch from 8bc8ac4 to a44f30b Compare January 26, 2024 16:23
shauke pushed a commit that referenced this pull request Jan 29, 2024
…1542)

BREAKING CHANGES: Removed `messageToMerchant` feature toggle since the feature is controlled via back office configuration in ICM 11 (see [Migrations / From 5.0 to 5.1](https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51) for more details and ICM 7.10 compatibility).
shauke added a commit that referenced this pull request Jan 29, 2024
* can be used for `messageToMerchant` feature toggle compatibility with ICM 7.10
* see https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51

Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
@shauke shauke force-pushed the refactor/use-server-setting-for-messagetomerchant branch from a44f30b to b282cfd Compare January 29, 2024 11:38
shauke added a commit that referenced this pull request Jan 29, 2024
* can be used for `messageToMerchant` feature toggle compatibility with ICM 7.10
* see https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51

Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
@shauke shauke force-pushed the refactor/use-server-setting-for-messagetomerchant branch from b282cfd to 47452a9 Compare January 29, 2024 12:49
shauke added a commit that referenced this pull request Jan 29, 2024
* can be used for `messageToMerchant` feature toggle compatibility with ICM 7.10
* see https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51

Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
@shauke shauke force-pushed the refactor/use-server-setting-for-messagetomerchant branch from 47452a9 to 8a5257d Compare January 29, 2024 15:55
dhhyi and others added 2 commits January 30, 2024 10:47
BREAKING CHANGES: Removed `messageToMerchant` feature toggle since the feature is controlled via back office configuration in ICM 11 (see [Migrations / From 5.0 to 5.1](https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51) for more details and ICM 7.10 compatibility).
* can be used for `messageToMerchant` feature toggle compatibility with ICM 7.10
* see https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51

Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
@shauke shauke force-pushed the refactor/use-server-setting-for-messagetomerchant branch from 8a5257d to dbb0ca4 Compare January 30, 2024 09:49
@shauke shauke merged commit 86317ee into develop Jan 30, 2024
15 checks passed
@shauke shauke deleted the refactor/use-server-setting-for-messagetomerchant branch January 30, 2024 09:54
shauke pushed a commit that referenced this pull request Jan 30, 2024
BREAKING CHANGES: Removed `messageToMerchant` feature toggle since the feature is controlled via back office configuration in ICM 11 (see [Migrations / From 5.0 to 5.1](https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51) for more details and ICM 7.10 compatibility).
shauke added a commit that referenced this pull request Jan 31, 2024
* can be used for `messageToMerchant` feature toggle compatibility with ICM 7.10
* see https://github.com/intershop/intershop-pwa/blob/develop/docs/guides/migrations.md#from-50-to-51

Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature wait Waiting for something (e.g. new ICM release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants