evidence icon indicating copy to clipboard operation
evidence copied to clipboard

Custom breadcrumbs

Open csjh opened this issue 1 year ago • 5 comments

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}
image

Checklist

  • [x] I have added a changeset
  • [ ] I have added to the docs where applicable

csjh avatar May 02 '24 21:05 csjh

🦋 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

changeset-bot[bot] avatar May 02 '24 21:05 changeset-bot[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 02 '24 21:05 netlify[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 02 '24 21:05 netlify[bot]

I think the build error is coming from linking to parent directories that don't have an index page

hughess avatar May 03 '24 12:05 hughess

what does this need to get over the line? just QA?

archiewood avatar Jun 27 '24 13:06 archiewood

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jul 02 '24 18:07 netlify[bot]

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?

zachstence avatar Jul 03 '24 21:07 zachstence

Please make sure that HMR still works as expected

ItsMeBrianD avatar Jul 16 '24 21:07 ItsMeBrianD