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: CXINT-1850: Requested Delivery Date feature library #17598

Merged
merged 32 commits into from
Aug 10, 2023

Conversation

SherwinVarghese
Copy link
Contributor

@SherwinVarghese SherwinVarghese commented Jun 30, 2023

Requested Delivery Date

Requested Delivery Date allows customers to provide a delivery date for which the item would be needed. The minimum date would be fetched from the S/4 HANA system and used along with the Order.

Screenshots of features

Checkout

Delivery Mode Selection

Delivery Mode

Checkout Review

screencapture-localhost-4200-powertools-spa-en-USD-checkout-review-order-2023-06-30-23_34_25

Order Confirmation

Order Confirmation

Order History

screencapture-localhost-4200-powertools-spa-en-USD-my-account-order-1452-2023-06-30-23_35_23

E2E Cypress Tests

Screenshot 2023-07-08 at 8 14 35 PM

Epic Release Checklist

General

  • Epic has been tested on a production-like server using Spartacus installation script
  • Epic has been tested in all supported browsers and devices (Check list on DoD page)
  • Epic has sufficient end to end (cypress) test coverage
  • Schematics code deprecations have been provided and tested
  • Epic complies with Security best practices
  • Epic complies with Accessibility best practices
  • Epic CSS supports directionality (if required)
  • Epic code scans have been conducted Compliance scans for branches
  • Epic renders successfully in SSR

Audits/reviews

  • Architecture review of the epic
  • Security and threat modeling audit/review from the Security team
  • Accessibility audit/review from the UX team

New Library

If your epic will be introduced or introduces a new library:

  • Library provides schematics to install the library
  • Library modules can be lazy loaded appropriately
  • Library has been tested for a customer using Spartacus installation script

Sample data (Not Applicable)

If the new feature requires new or updated sample data for a specific Commerce backend version: [N/A]

  • Sample data has been added to the sampledata repo and merged to the next version to be released
  • New sample data has been loaded and tested on a dev server
  • New sample data has been loaded and tested in our CI server

Documentation

  • Documentation input is provided for it to be published on the doc site.

@SherwinVarghese SherwinVarghese requested a review from a team as a code owner June 30, 2023 18:01
@SherwinVarghese SherwinVarghese requested a review from a team June 30, 2023 18:01
@SherwinVarghese SherwinVarghese requested review from a team as code owners June 30, 2023 18:01
@github-actions github-actions bot marked this pull request as draft June 30, 2023 18:01
@cla-assistant
Copy link

cla-assistant bot commented Jun 30, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ SherwinVarghese
✅ Matejk00
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@ChristophHi
Copy link
Contributor

@SherwinVarghese Why is that a feature lib on its own? Isn't that just a new attribute that is provided in the S/4 integration scenario?

@SherwinVarghese
Copy link
Contributor Author

@SherwinVarghese Why is that a feature lib on its own? Isn't that just a new attribute that is provided in the S/4 integration scenario?

Hi @ChristophHi,

This feature is designed to be independent of S/4 HANA integration scenario, and the OCC APIs are a part of the commercewebservices extension for SAP Commerce Cloud.

Accordingly, this library is added as a feature library.

@ChristophHi
Copy link
Contributor

ChristophHi commented Jul 4, 2023

@SherwinVarghese Thanks for that explanation...but then why can't we put it into the checkout or order library? We don't have feature libs for the different checkout facets either. I just think creating libs for single fields is a bit overhead (unless I miss a specific point here). @Platonn What is your opinion?

@SherwinVarghese
Copy link
Contributor Author

SherwinVarghese commented Jul 4, 2023

@ChristophHi,

I would agree with you, this will greatly reduce the number of files being added for this feature.
But as per the initial design discussion with @Xymmer, it was decided not to touch the core files directly, and to introduce a new feature library.

We can further discuss on what best is suited for this feature.

@SherwinVarghese SherwinVarghese marked this pull request as ready for review August 4, 2023 17:52
@cypress
Copy link

cypress bot commented Aug 4, 2023

4 flaky tests on run #41228 ↗︎

0 119 2 0 Flakiness 4

Details:

Merge 83577f5 into 9df9704...
Project: spartacus Commit: 3949dbfd37 ℹ️
Status: Passed Duration: 07:37 💡
Started: Aug 10, 2023 7:40 AM Ended: Aug 10, 2023 7:47 AM
Flakiness  regression/checkout/checkout-flow.core-e2e.cy.ts • 1 flaky test • B2C

View Output Video

Test Artifacts
Checkout flow > Mobile > should checkout with a registered user Output Screenshots
Flakiness  ssr/pages.core-e2e.cy.ts • 3 flaky tests • SSR

View Output Video

Test Artifacts
SSR > should render homepage Output Screenshots
SSR > should render PLP Output Screenshots
SSR > should render PDP Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@SherwinVarghese
Copy link
Contributor Author

@Matejk00 I believe the review comments are addressed, awaiting approval and merge

Thanks

@github-actions github-actions bot marked this pull request as draft August 7, 2023 08:44
@Matejk00 Matejk00 marked this pull request as ready for review August 7, 2023 08:59
Copy link

@vigneshkrish8691 vigneshkrish8691 left a comment

Choose a reason for hiding this comment

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

Feature lib changes i am ok with it.

@github-actions github-actions bot marked this pull request as draft August 8, 2023 08:41
@Matejk00 Matejk00 marked this pull request as ready for review August 8, 2023 08:41
@Matejk00 Matejk00 marked this pull request as ready for review August 9, 2023 08:38
@github-actions github-actions bot marked this pull request as draft August 10, 2023 06:41
@Matejk00 Matejk00 marked this pull request as ready for review August 10, 2023 07:25
@SherwinVarghese SherwinVarghese merged commit 06068a0 into develop-6.4.x Aug 10, 2023
22 checks passed
@SherwinVarghese SherwinVarghese deleted the feature/CXINT-1850 branch August 10, 2023 09:14
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.

4 participants