view_component-storybook icon indicating copy to clipboard operation
view_component-storybook copied to clipboard

ViewComponent previews and testing in Storybook

Results 33 view_component-storybook issues
Sort by recently updated
recently updated
newest added

I've followed this document: https://jonspalmer.github.io/view_component_storybook/guide/getting-started.html and run ``` rake view_component_storybook:write_stories_json ``` but rake is not found ``` rake aborted! Don't know how to build task 'view_component_storybook:write_stories_json' (See the list of...

Polymorphic slots are an experimental feature, but I've found them to be quite useful so I'm pulling for their stability. https://viewcomponent.org/guide/slots.html#polymorphic-slots-experimental I've started a patch that allows their use in...

This alters how slots are rendered on the view story page. The main change has the slots render themselves rather then evaluating the contents of the slots' block outside of...

I'm building a component that delegates to [`select_tag`](https://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-select_tag) to render a slot. The slot directly passes the `option_tags` parameter straight through. It would be nice if I could call `options_for_select`...

Hello there. We're using this storybook setup for developing our own components. Currently I upgraded my storybook to the latest (6.5.5) and received an error-like warning: ```sh npx sb@latest automigrate...

Hello, I'm newish to ruby so sorry that I'm unable to provide written tests, trust me I tried lol. Anyways, the issue lies with the `rake view_component_storybook:write_stories_json` command. For context,...

Test app here, details in the readme: https://github.com/seand7565/view_component_storybook_autoload_bug We have `app/components` set as our stories path, so a components stories can live with the component that it renders. However, this...

Controls are now able to be given a custom description to provide better context when viewing Storybook.js documentation. Adding a description works in the same way as adding a custom...