Skip to content

UIKit lineage still links to excluded patterns #845

@bmuenzenmeyer

Description

@bmuenzenmeyer

As part of #811 and #840 we delivered the ability to exclude patterns in a UIKit. This works for both the writing of the files and for them showing up in the navigation, but a pattern's lineage may still include an excluded pattern, causing a link to it appear. Clicking the link causes Pattern Lab to break.

The fix for this would involve combing through each pattern's lineage at the right time - likely right before build (?) within the context of individual uikits, so as to remove lineage nodes (both lineage and lineageR) from the pattern where the nodes are in the exclusion lists (state and tags).

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