Skip to content

Support view all pages in pattern linking #714

Closed
@bmuenzenmeyer

Description

@bmuenzenmeyer

Implement pattern-lab/the-spec#35

Pattern Lab exports patternPaths and viewAllPaths separately to the UI within ui_builder, since they've never had to co-mingle prior to this spec enhancement.

Then, when patterns are linked, I believe they are checked only against patternPaths to resolve the location.

The first thing I'd try would be to concatenate viewAllPaths into the patternPaths export and then see if a link like <a href="{{ link.viewall-atoms-all }}">Go to all Atoms</a> works (assuming you have a Pattern Type called atoms).

If that doesn't work, more tech design needs to occur.

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