Skip to content

fix: breadcrumb shows raw path for add-aws-services pages#8538

Open
harsh62 wants to merge 1 commit intomainfrom
fix/breadcrumb-add-aws-services
Open

fix: breadcrumb shows raw path for add-aws-services pages#8538
harsh62 wants to merge 1 commit intomainfrom
fix/breadcrumb-add-aws-services

Conversation

@harsh62
Copy link
Copy Markdown
Member

@harsh62 harsh62 commented Apr 1, 2026

Summary

The breadcrumb on pages under /build-a-backend/add-aws-services/ was showing the raw route path (/[platform]/build-a-backend/add-aws-services) instead of the page title ("Add any AWS service").

Root cause: During content restructuring (#8531), the add-aws-services services were flattened as direct children of build-a-backend in directory.mjs, removing the parent node. The index.mdx page still existed at that path, but without a directory entry the breadcrumb component couldn't resolve a title.

Fix: Re-added the add-aws-services parent node to the directory tree, wrapping its 12 child service pages. The breadcrumb now correctly shows: React / Build a Backend / Add any AWS service / Analytics / ...

Test plan

  • Visit /react/build-a-backend/add-aws-services/analytics/existing-resources/ — breadcrumb shows "Add any AWS service" instead of raw path
  • All tests pass (npx jest)
  • Sidebar navigation unaffected

@harsh62 harsh62 requested a review from a team as a code owner April 1, 2026 12:27
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