-
Notifications
You must be signed in to change notification settings - Fork 404
Open
Labels
Description
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).