komposable / komponent

An opinionated way of organizing front-end code in Ruby on Rails, based on components
http://komponent.io
MIT License
427 stars 31 forks source link

Files from frontend/components/komponent listed in styleguide sidebar #164

Open SimonEggert opened 4 years ago

SimonEggert commented 4 years ago

After updating from v3.0.0.beta1 to https://github.com/komposable/komponent/commit/d1ae3df717caa3984939dfc829e688b00f715d44 to make komponent work after a Rails 6 update, the komponent components themselves are showing up in the styleguide sidebar:

I'm seeing something like this in my current styleguide: Bildschirmfoto 2020-03-10 um 13 45 07

I was able to reproduce this behavior with a clean installation of komponent using the generators.

Spone commented 4 years ago

Nice catch @SimonEggert thanks for reporting it! Feel free to contribute a fix if you have some time to spend on it :)

SimonEggert commented 4 years ago

@Spone Sadly I do not have the time to look into this issue much further. The only thing I can tell is that the bug got introduced with https://github.com/komposable/komponent/commit/d1ae3df717caa3984939dfc829e688b00f715d44. I fixed my setup by using the commit right before that.