Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Change patternBreadcrumb to an Object Instead of a String #19

@dmolsen

Description

@dmolsen

A user would like to easily modify the breadcrumb separator.


To give front-end developers more control I'd like to switch the patternBreadcrumb output option from a string to an object. This would allow customization without a configuration option or us mucking with Core.

System Output

The patternBreadcrumb output would look like:

"patternBreadcrumb": {
    "patternType": "atoms",
    "patternSubtype":"global"
}

For patterns without a subtype it'd look like:

"patternBreadcrumb": {
    "patternType": "templates"
}

The timeline for this feature is essentially now. I think this is a small change that we can each quickly implement.

Tagging frontend/shared-assets because this issue affects the viewer.

This vote will close at 9PM EST on June 26 or once the issue gets two thumbs up or two thumbs down.

/cc @pattern-lab/voting-members

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions