Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 28 2018 12:53
    sghoweri review_requested #114
  • Sep 28 2018 03:58
    illepic opened #114
  • Aug 24 2018 15:36
    bmuenzenmeyer closed #64
  • Jul 18 2018 11:07
    sghoweri commented #76
  • Jul 17 2018 22:31
    bmuenzenmeyer closed #113
  • Jul 17 2018 22:31
    bmuenzenmeyer commented #113
  • Jul 17 2018 21:06
    DanielRuf opened #113
  • Jun 14 2018 15:31
    bradfrost commented #92
  • Jun 14 2018 12:11
    sghoweri commented #92
  • Jun 11 2018 17:35
    bradfrost commented #92
  • Jun 04 2018 21:56
    sghoweri commented #92
  • Jun 04 2018 21:52
    sghoweri commented #92
  • May 31 2018 12:46
    bmuenzenmeyer commented #92
  • May 31 2018 12:45
    bmuenzenmeyer commented #92
  • May 30 2018 18:51
    bradfrost commented #92
  • May 30 2018 18:33
    evanmwillhite commented #92
  • May 29 2018 21:46
    sghoweri commented #92
  • May 29 2018 14:40
    evanmwillhite commented #92
  • May 25 2018 14:15
    bmuenzenmeyer commented #92
  • May 24 2018 20:20
    evanmwillhite commented #92
Brian Muenzenmeyer
@bmuenzenmeyer
i'd ask in the php room
sumit
@sumitsrijan3021_twitter
there?
Brian Muenzenmeyer
@bmuenzenmeyer
geoff and i work on node
sumit
@sumitsrijan3021_twitter
Hey @bmuenzenmeyer
have you work on pattern lab with drupal
Morgan Estes
@morganestes
Howdy. I have a build script that builds and deploys the public directory to a web server but the image paths are looking to the root instead of the subdirectory I've deployed to, so all my images in CSS are broken. Anyone run into this before?
Allison Carnwath
@acarnwath
@morganestes - we use relative paths and it seems to work ok ../images (the images folder being a sibling to the _patterns folder)
@bmuenzenmeyer - had a question - is there a way to NOT set a max size in the ishControls? Or should we just pick a really really big number? It looks like you need an actual number here, just wanted a sanity check pattern-lab/styleguidekit-assets-default@2e8299d
Brian Muenzenmeyer
@bmuenzenmeyer
since it uses the max value of the large range, you need a value
Allison Carnwath
@acarnwath
ok cool - will pop in a big one. Thanks!
Felix
@fxmountain_twitter
Fokes i need help: How to set up Patternlab with angular 1.5.11, grunt and typescipt? I tryed to go with http://martian.media/frontend/2016/08/03/atomic-design-with-patternlab-node-and-angular-2-part-1.html but that doesn't help me
Does it even works together? Would be nice to know ^^
Brian Muenzenmeyer
@bmuenzenmeyer
I cannot speak for that article, or typescript
Felix
@fxmountain_twitter
Thanks
mearleycf
@mearleycf
I'm having an issue where my molecules aren't displaying, and I think it's b/c I'm coding them wrong, but I'm not clear on what i'm doing wrong
Here's a molecule file called input-stacked
<div class="flex width50">
{{ label }}
{{ input }}
</div>
and label and input are atoms
Brian Muenzenmeyer
@bmuenzenmeyer
{{> atoms-label }}
mearleycf
@mearleycf
yeah i used that page--it is not working
[09:55:14] Starting 'patternlab:serve'... WARNING: missing or malformed ./source/_data/listitems.json file. Pattern Lab may not work without this file. [09:55:14] Finished 'patternlab:serve' after 28 ms Could not find pattern referenced with partial syntax label. This can occur when a pattern was renamed, moved, or no longer exists but it still referenced within a different template or within data as a link. Could not find pattern referenced with partial syntax input. This can occur when a pattern was renamed, moved, or no longer exists but it still referenced within a different template or within data as a link. Could not find pattern referenced with partial syntax label. This can occur when a pattern was renamed, moved, or no longer exists but it still referenced within a different template or within data as a link. TypeError: Cannot read property 'relPath' of undefined at foundPatternPartials.forEach.foundPartial (/Users/admin/code/prg_plab/edition-node-gulp/node_modules/@pattern-lab/patternlab-node/core/lib/expandPartials.js:38:50) at Array.forEach (<anonymous>) at parameter_hunter.find_parameters.then (/Users/admin/code/prg_plab/edition-node-gulp/node_modules/@pattern-lab/patternlab-node/core/lib/expandPartials.js:33:30) at <anonymous> at process._tickCallback (internal/process/next_tick.js:160:7) TypeError: Cannot read property 'relPath' of undefined
mearleycf
@mearleycf
00-input-stacked_mustache_—_edition-node-gulp.png
mearleycf
@mearleycf
OK--so it needed to be {{> Atoms-label }}
And now it renders in the 'molecules' view but not in the 'All' view
and i'm getting WARNING: missing or malformed ./source/_data/listitems.json file. Pattern Lab may not work without this file.
Nicolas D. S.
@Krands
I am using the PHP version and I don't understand how this one works because the structure seems to be so much more different to the Node edition
If I use my own gulpfile to transpile my own css, will it override the styleguide kit's ?
Morgan R. Nimmons
@mnimmz
Is there a way to remove the extra code block from the modal container on certain pattern pages?
Brian Muenzenmeyer
@bmuenzenmeyer
not simply. no
are you on PL PHP or PL Node?
Morgan R. Nimmons
@mnimmz
PHP with Twig
Brian Muenzenmeyer
@bmuenzenmeyer
the PHP flavor should use some version of the styleguidekit- repos - which you would have to customize to remove that panel. that would be for ever pattern however
Morgan R. Nimmons
@mnimmz
I wasn't sure if there was a way to include a flag in the markdown file similar to the pattern state.
Alright, I'll try to find another way. Thank you.
Brian Muenzenmeyer
@bmuenzenmeyer
not yet but that's a great idea!
Morgan R. Nimmons
@mnimmz
Me again lol. Is there way to hide one of the code tabs if the code is not present for that tab within the modal container? I have a tab for Twig and a tab for HTML. If only html is present, the html will still display in the Twig tab.
Brian Muenzenmeyer
@bmuenzenmeyer
my rough understanding is that they were templates which show / hide on truthy or falsely values
but i could be mistaken
Ilja Sillman
@softfocus

Hi! Just tried Pattern Lab node edition CLI tool. Setup and build work well, but serve command does not seem to monitor changes within the source -folder (changing md-files etc.)? Is it supposed to, or am I missing something? =)

yarn add pattern-lab/patternlab-node-cli --dev
yarn patternlab init (same folder, edition node-gulp, starterkit-mustache-demo)
yarn patternlab serve -w

Brian Muenzenmeyer
@bmuenzenmeyer
paging @raphaelokon
Ilja Sillman
@softfocus
Update: Tested on a mac and serve works fine
willxharris
@willxharris
Hello. Does anyone know of any resources/guides to follow when you are ready to deploy your patternlab output to production?
Sean Hester
@Seanom
Am I missing something the frontend-viewer on github does not match the version I get from NPM but the versions appear to match am I doing something wrong? "@pattern-lab/uikit-workshop": "^1.0.0-beta.0"
Mario Hernandez
@mariohernandez
I just started using the node version of Pattern Lab within a Drupal theme and when I try to use my drupal path to load pattern lab (i.e. drupal-local-domain/themes/custom/my_theme/patternalb), I get the following error message in my console: Uncaught (in promise) Error: Loading chunk 2 failed.
(error: http://drupal-local-domainstyleguide/js/2-chunk-e309c72e0e8f5783df94.js)
at HTMLScriptElement.onScriptComplete (patternlab-viewer.js:115).
Pattern Lab loads properly on its own under localhost but need to be able to load it as part of my drupal site for server testing purposes. I'd appreciate your input or some guidance.
Maximilian Franzke
@mfranzke
After a clean installation of patternlab-node ("pattern-lab/edition-node") with starterkit "pattern-lab/starterkit-mustache-demo" I'm getting the following error on the console (MacOS X, Safari) when opening the patternlab UI after serving PL via "npm run pl:serve": "TypeError: null is not an object (evaluating 'navOpen.addEventListener')". The reason seems to be related to that this element really doesn't exist within the DOM of the PL UI. Is this a known bug ?
Maximilian Franzke
@mfranzke
Additionally I've recognized that the auto reloading (https://patternlab.io/docs/advanced-reload-browser.html) for CSS doesn't seem to work - when editing e.g. source/css/style.css directly, it gets copied to public/css/style.css correctly, but the browser doesn't reload, whereas this works correctly for any changes to the template files (HTML, mustache).
I haven't noticed any issues for those two topics. Both have been made with the newest version of PL node (3.0.1).
Vernon Fowler
@vfowler_twitter

I can't see any pattern state indicators (yellow dot, red dot) in the lineage lists of contains patterns / included in. I see a state indicator dot after the title of a currently viewed pattern with a state in the markdown. Example markdown:

---
title: Promo
state: inprogress
---

Having state indicators next to patterns in the lineage lists is critical to tracking which patterns are inreview or inprogress.
Anybody else having this issue?