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: fetching eligible basket addresses #1567

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

SGrueber
Copy link
Collaborator

@SGrueber SGrueber commented Jan 5, 2024

PR Type

[x] Refactoring (no functional changes, no API changes)

What Is the Current Behavior?

If the user enters the checkout shipping page customer addresses were requested by the ICM. The result list contains a link list, so for each address a detail call has to be triggered. In case of many customer addresses this behavior causes a performance issue.

Relates to issue number: #1528

What Is the New Behavior?

Now the REST call get /baskets//eligible-addresses is used to show addresses on checkout address page.
All address information is returned by this call so there are no further requests necessary.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#92525

@SGrueber SGrueber requested a review from shauke January 5, 2024 12:20
@SGrueber SGrueber self-assigned this Jan 5, 2024
@SGrueber SGrueber added refactoring Refactoring of current code performance Performance improvements labels Jan 5, 2024
@SGrueber SGrueber added this to the 5.1 milestone Jan 5, 2024
@SGrueber SGrueber force-pushed the refactor/basket_eligible_addresses branch from d3bc119 to 56bf108 Compare January 5, 2024 12:37
@SGrueber SGrueber force-pushed the refactor/basket_eligible_addresses branch from 56bf108 to 73aca11 Compare January 5, 2024 15:50
@SGrueber SGrueber changed the title refactor: fetching of the eligible basket addresses refactor: fetching eligible basket addresses Jan 8, 2024
@shauke shauke merged commit 71a93ad into develop Jan 12, 2024
23 checks passed
@shauke shauke deleted the refactor/basket_eligible_addresses branch January 12, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance improvements refactoring Refactoring of current code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants