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 getStoreChannels function #1187

Conversation

AndrewBarber
Copy link

What?

Within getStoreChannels we fetch store channels, then filter them to access only storefront type channels.
This can be made within the request, reducing the complexity of the codebase, as well as putting the processing on the server side.

Tickets / Documentation

N/A

Screenshots (if appropriate)

N/A

cc @bigcommerce/storefront-team

@jairo-bc jairo-bc requested a review from bc-jz April 9, 2024 16:22
@jairo-bc
Copy link
Contributor

jairo-bc commented Apr 9, 2024

Hi @AndrewBarber! Thanks for contributing to the project!
Do you mind adding the type of the Pull Request into the title so it follows semantic commit convention?
Also, would appreciate much some screenshots, how the changes were tested, if possible.

@bc-jz
Copy link
Contributor

bc-jz commented Apr 10, 2024

Hey @AndrewBarber ,

Thank you for this PR and the suggestions! I am including your changes into a PR I just made with updates to this same area:
#1191

Just letting you know to save you time to updating your PR as it should no longer be needed.

@bc-jz
Copy link
Contributor

bc-jz commented Apr 12, 2024

Closing as we incorporated these changes into:
#1191

@bc-jz bc-jz closed this Apr 12, 2024
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