evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.44k stars 167 forks source link

Custom breadcrumbs #1964

Open csjh opened 2 weeks ago

csjh commented 2 weeks ago

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

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: b003c04c27563f127045d86e06e88f034b24bc5c

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

netlify[bot] commented 2 weeks ago

Deploy Preview for evidence-development-workspace ready!

Name Link
Latest commit b003c04c27563f127045d86e06e88f034b24bc5c
Latest deploy log https://app.netlify.com/sites/evidence-development-workspace/deploys/66352f0de7d6f900082fc116
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] commented 2 weeks ago

Deploy Preview for next-docs-evidence ready!

Name Link
Latest commit b003c04c27563f127045d86e06e88f034b24bc5c
Latest deploy log https://app.netlify.com/sites/next-docs-evidence/deploys/66352f0dbdcfa60008623112
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.

hughess commented 2 weeks ago

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