-
Notifications
You must be signed in to change notification settings - Fork 387
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
feat: As a customer, I want to view and update my preferred notification channels #17843
base: develop-6.7.x
Are you sure you want to change the base?
Conversation
As a customer, I want to view and update my preferred notification channels
projects/storefrontstyles/scss/components/myaccount/_new-notification-preference.scss
Outdated
Show resolved
Hide resolved
projects/storefrontstyles/scss/components/myaccount/_new-notification-preference.scss
Outdated
Show resolved
Hide resolved
projects/storefrontstyles/scss/components/myaccount/_new-notification-preference.scss
Outdated
Show resolved
Hide resolved
projects/storefrontstyles/scss/components/myaccount/_new-notification-preference.scss
Outdated
Show resolved
Hide resolved
projects/storefrontstyles/scss/components/myaccount/_new-notification-preference.scss
Outdated
Show resolved
Hide resolved
please use |
format the code and other changes from code review comments
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.
LGTM
please mark the PR as ready for review
to trigger more tests
4 flaky tests on run #42051 ↗︎
Details:
regression/asm/asm.deeplink.core-e2e.cy.ts • 1 flaky test • B2Cssr/pages.core-e2e.cy.ts • 3 flaky tests • SSR
Review all test suite changes for PR #17843 ↗︎ |
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.
Are we missing e2e tests?
protected preferences: NotificationPreference[] = []; | ||
|
||
constructor( | ||
private notificationPreferenceService: UserNotificationPreferenceService |
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.
Please use protected
instead of private
to make this easier for users to extend.
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.
modified as suggestion.Only after CDC/CDP changing cms config and introduce `newNotificationPreference' in the future, it will be displayed on SPA UI. That's why there is no e2e test. But we already have a ticket to track it.
https://jira.tools.sap/browse/CXSPA-4475
...b/cms-components/myaccount/new-notification-preference/new-notification-preference.module.ts
Outdated
Show resolved
Hide resolved
...-components/myaccount/new-notification-preference/new-notification-preference.component.html
Outdated
Show resolved
Hide resolved
Adapt codes as comments
adapt codes as some checks
add feature flags
add feature flag
fix sonar issue
fix check issue
add e2e test
fix sonar issue
fix e2e test issue
As a customer, I want to view and update my preferred notification channels.
JIRA task: https://jira.tools.sap/browse/CXSPA-4468
The e2e test JIRA task: https://jira.tools.sap/browse/CXSPA-4475