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

Bug/CXINT-2438: Update Sort Keys in Spartacus PDF Invoices Component #18488

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

anjana-bl
Copy link
Contributor

@anjana-bl anjana-bl requested a review from a team as a code owner February 13, 2024 10:44
@github-actions github-actions bot marked this pull request as draft February 13, 2024 10:45
@anjana-bl anjana-bl marked this pull request as ready for review February 13, 2024 13:23
Comment on lines 54 to 55
byCreatedAtAsc: 'createdAt:asc',
byCreatedAtDesc: 'createdAt:desc',
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you help me understand the backward compatibility consequences of this change?

I can understand that users of the newest backend API and newest Spartacus will get desired behavior.
And users of the old backend API and old Spartacus will also get desired correct behavior.

But does this change mean that some customers that use the old version of the backend API, but the newest Spartacus will encounter problems?

Analogical question: for users of new API but old Spartacus - will they encounter problems?

Should we wrap this change with an opt-in feature flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes it should be wrapped in opt-in feature flag, i have made the necessary changes

Copy link

cypress bot commented Feb 13, 2024

3 flaky tests on run #42637 ↗︎

0 119 2 0 Flakiness 3

Details:

Merge 3cbc4b4 into e7012a9...
Project: spartacus Commit: a90a47739c ℹ️
Status: Passed Duration: 04:05 💡
Started: Feb 13, 2024 1:32 PM Ended: Feb 13, 2024 1:36 PM
Flakiness  cypress/e2e/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 #18488 ↗︎

@github-actions github-actions bot marked this pull request as draft March 4, 2024 10:12
@@ -45,6 +45,9 @@ import { InvoicesListComponent } from './invoices-list/invoices-list.component';
guards: [AuthGuard],
},
},
features: {
useUpdatedSortMappingForInvoices: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

I recommend starting with the name of the library, e.g. pdfInvoices and if possible describe semantically the change: e.g. sortByInvoiceDate.
What do you think about: pdfInvoicesSortByInvoiceDate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, it is better. have changed the name

@anjana-bl anjana-bl marked this pull request as ready for review April 4, 2024 16:48
@anjana-bl anjana-bl merged commit c35c301 into develop Apr 4, 2024
25 of 26 checks passed
@anjana-bl anjana-bl deleted the bug/CXINT-2438 branch April 4, 2024 17:10
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