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

feat: As a customer, I want to view and update my preferred notification channels #17843

Open
wants to merge 23 commits into
base: develop-6.7.x
Choose a base branch
from

Conversation

Melody-zhou-512
Copy link
Contributor

@Melody-zhou-512 Melody-zhou-512 commented Sep 19, 2023

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

As a customer, I want to view and update my preferred notification channels
@Melody-zhou-512 Melody-zhou-512 requested a review from a team as a code owner September 19, 2023 06:39
@github-actions github-actions bot marked this pull request as draft September 19, 2023 06:39
@Melody-zhou-512 Melody-zhou-512 changed the title New Notification Preference Component feature/CXSPA-4468:As a customer, I want to view and update my preferred notification channels Sep 19, 2023
@i53577
Copy link
Contributor

i53577 commented Sep 19, 2023

please use yarn prettier:fix to format the code

format the code and other changes from code review comments
@i53577 i53577 changed the title feature/CXSPA-4468:As a customer, I want to view and update my preferred notification channels feat: As a customer, I want to view and update my preferred notification channels Sep 19, 2023
i53577
i53577 previously approved these changes Sep 20, 2023
Copy link
Contributor

@i53577 i53577 left a 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

@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review September 20, 2023 08:23
@cypress
Copy link

cypress bot commented Sep 20, 2023

4 flaky tests on run #42051 ↗︎

0 119 2 0 Flakiness 4

Details:

Merge 5260493 into e4739e8...
Project: spartacus Commit: 269c1738c9 ℹ️
Status: Passed Duration: 04:42 💡
Started: Nov 30, 2023 9:28 AM Ended: Nov 30, 2023 9:33 AM
Flakiness  regression/asm/asm.deeplink.core-e2e.cy.ts • 1 flaky test • B2C

View Output Video

Test Artifacts
Assisted Service Module > Customer Support Agent - Emulation&deeplink > should emulate customer and navigate to saved cart with deeplink after agent login (CXSPA-3263) Test Replay Screenshots Video
Flakiness  ssr/pages.core-e2e.cy.ts • 3 flaky tests • SSR

View Output Video

Test Artifacts
SSR > should render homepage Test Replay Screenshots Video
SSR > should render PLP Test Replay Screenshots Video
SSR > should render PDP Test Replay Screenshots Video

Review all test suite changes for PR #17843 ↗︎

Copy link
Contributor

@Zeyber Zeyber left a 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
Copy link
Contributor

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.

Copy link
Contributor Author

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

Adapt codes as comments
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review September 22, 2023 04:17
@Melody-zhou-512 Melody-zhou-512 requested a review from a team November 22, 2023 08:38
@Melody-zhou-512 Melody-zhou-512 requested review from a team as code owners November 22, 2023 08:38
@github-actions github-actions bot marked this pull request as draft November 24, 2023 08:07
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 24, 2023 10:17
@github-actions github-actions bot marked this pull request as draft November 24, 2023 10:20
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 27, 2023 05:25
@github-actions github-actions bot marked this pull request as draft November 27, 2023 05:28
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 27, 2023 05:29
@github-actions github-actions bot marked this pull request as draft November 27, 2023 05:31
fix check issue
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 27, 2023 08:43
@github-actions github-actions bot marked this pull request as draft November 27, 2023 08:57
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 28, 2023 05:29
fix sonar issue
@github-actions github-actions bot marked this pull request as draft November 28, 2023 05:46
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 28, 2023 05:47
fix e2e test issue
@github-actions github-actions bot marked this pull request as draft November 28, 2023 06:30
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 28, 2023 06:41
@github-actions github-actions bot marked this pull request as draft November 30, 2023 09:16
@Melody-zhou-512 Melody-zhou-512 marked this pull request as ready for review November 30, 2023 09:18
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.

3 participants