Custom breadcrumbs
Description
Enables custom handling of breadcrumb naming via frontmatter
Example (from test-env):
---
breadcrumb: "SELECT first_name || ' ' || last_name || '''s ' || order_month || ' Order' as breadcrumb FROM orders WHERE id = '{params.order_id}'"
---
Order #{params.order_id}
Checklist
- [x] I have added a changeset
- [ ] I have added to the docs where applicable
🦋 Changeset detected
Latest commit: 804949397b32460447c8cace9a10028a344a2e19
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 5 packages
| Name | Type |
|---|---|
| @evidence-dev/evidence | Major |
| @evidence-dev/core-components | Minor |
| my-evidence-project | Patch |
| evidence-test-environment | Patch |
| @evidence-dev/components | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Deploy Preview for evidence-development-workspace ready!
| Name | Link |
|---|---|
| Latest commit | 804949397b32460447c8cace9a10028a344a2e19 |
| Latest deploy log | https://app.netlify.com/sites/evidence-development-workspace/deploys/6696e7ba0e9a0900086ccd0b |
| Deploy Preview | https://deploy-preview-1964--evidence-development-workspace.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for next-docs-evidence ready!
| Name | Link |
|---|---|
| Latest commit | 804949397b32460447c8cace9a10028a344a2e19 |
| Latest deploy log | https://app.netlify.com/sites/next-docs-evidence/deploys/6696e7bb710c080008d1a360 |
| Deploy Preview | https://deploy-preview-1964--next-docs-evidence.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
I think the build error is coming from linking to parent directories that don't have an index page
what does this need to get over the line? just QA?
Deploy Preview for evidence-test-env ready!
| Name | Link |
|---|---|
| Latest commit | 804949397b32460447c8cace9a10028a344a2e19 |
| Latest deploy log | https://app.netlify.com/sites/evidence-test-env/deploys/6696e7bbad28400008a4b42c |
| Deploy Preview | https://deploy-preview-1964--evidence-test-env.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
More discussion and changes are necessary here before this is ready to merge
Key issues:
- How do we enable users to specify a custom breadcrumb (string) rather than a dynamic breadcrumb (SQL query)?
- How do we enable users to customize all levels of the breadcrumbs, not just the deepest one?
Please make sure that HMR still works as expected