-
Notifications
You must be signed in to change notification settings - Fork 63
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
fix(api): PDP and PLP breadcrumb list item's URL paths #1148
Conversation
✔️ Deploy Preview for faststoreui ready! 🔨 Explore the source changes: 6926eb9 🔍 Inspect the deploy log: https://app.netlify.com/sites/faststoreui/deploys/6205aabdf9532400078860bd 😎 Browse the preview: https://deploy-preview-1148--faststoreui.netlify.app |
✔️ Deploy Preview for faststore-docs ready! 🔨 Explore the source changes: 6926eb9 🔍 Inspect the deploy log: https://app.netlify.com/sites/faststore-docs/deploys/6205aabd28f2f800070f184f 😎 Browse the preview: https://deploy-preview-1148--faststore-docs.netlify.app |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6926eb9:
|
Together with vtex/faststore#1148, there's no need of this `buildUrl` function. This function was actually building the wrong path for sub-categories (e.g. `/desk` instead of `/office/desk`).
@tlgimenes the API is the right place to handle e normalize those kind of things, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job! 👏
Fix broken breadcrumb paths returned by `@faststore/api` that has been fixed in version [v1.5.8](https://github.com/vtex/faststore/releases/tag/v1.5.8). See vtex/faststore#1148 for more information.
What's the purpose of this pull request?
/Kitchen-and-Home-Appliances
(not working)/kitchen-and-home-appliances
(working)/kitchen and home appliances
(not working)/kitchen-and-home-appliances
(working)base.store
Deploy Preview8d954a56253469514b1ffe7d2d8de29399db9db0
/kitchen-and-home-appliances
(no/Kitchen-and-Home-Appliances
)./kitchen-and-home-appliances
(no/kitchen and home appliances
) andkitchen-and-home-appliances/fridges
(no/fridges
).