-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiding patterns is not working #165
Comments
Hi @ivancamilov I can investigate on my end too. Can you tell me which version you are running? |
Hi @bmuenzenmeyer, I'm using the latest stable release, v0.13.0. I downloaded it here. |
@ivancamilov thanks for checking. This logic was changed recently and I could swear I tested it, but might have missed the view all use case. will take a look as time allows. |
@ivancamilov confirmed this is a regression on my part, introduced during a reshuffling. apologies, but thanks for the catch. if you'd like to submit a PR, please do so. if you can get a unit test on this too that would be wonderful |
ok cool, I'll send you a PR this weekend with a test for it. |
@ivancamilov any progress on this? otherwise i plan to look into it soon |
According to the docs, if you append an underscore (_) to the pattern name it should "no longer show up in the drop-down navigation, the media pattern sub-type "view all" page, nor the style guide".
However, if you do this in patternlab-node the pattern still shows up in the "view all" page. I fixed this in my local copy by editing
/builder/patternlab_assembler.js
and adding this check around line 107:Should I do a PR with this change?
The text was updated successfully, but these errors were encountered: