-
Notifications
You must be signed in to change notification settings - Fork 16
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
Setting type "radios" does not work in Storybook #210
Comments
Hi Maxim, I know learning Wingsuit/UI Patterns is not that easy. Can you describe what are your (biggest) pain points in the documentation? (To your bug. I will check that.) |
Hi Christian, Thanks for the quick answer. I looked for the slack account, but I'm not able to join. Do I need an invite or something? Before talking about my issues with the documentation, I have to tell you, my specialty in web dev is HTML, CSS and JavaScript (not NodeJS, Webpack, etc.). I can find my way around a NodeJs and a Webpack server, but I'm not the one that set it up, because it's way outside my knowledge capabilities (when the programming logic is getting really deep, my brain shortcuts) and interests. So, if I don't have a documentation that easily explain to me what does what and what goes where, I will have difficulty to to what I have to do. Also, I hope that I don't like I'm angry. I assure you that I'm not. As for the documentation, it's a collegue of mine that installed Wingsuit, so for what I need to do the only part of the documentation that I use is related to pattern definition and twig file, but I also needed to add assets so the two major sections of the documentation that I used are : With that said, I'll start with the Assets one. I needed to add Font-Awesome webfonts and Alpine.js. When I read the Assets doc, it didn't really tell me how to add the webfonts. So I searched into the Github repository and the project issues to find clues on how that works. I found one of your answers in one issue about webfonts, so I used that and it worked, but it was not anywhere in the documentation. For Alpine.js, I followed the doc for JavaScript Assets and it didn't work. So I searched the Github repository and found this file. It was exactly what I needed, but even if it was a lot alike the documentation, what was inside As for the Components documentation :
In conclusion, what I suggest you is to add screenshots to your documentation. It will help to visualize what the documentation says. So, that's about it. |
Did you see my last post? Does that makes senses what I wrote? I just wanted a follow up. Thanks |
Hi @malalancette, Yes it makes sense and thanks for your explanation!
Would be great if you can come to slack than we can chat/talk directly. |
thanks to both of you for a detailed issue here, but I believe we got a bit off-topic here, which is a whole other issue. I still believe the |
Hi,
I've been working with Wingsuit in the past two weeks, trying to make sense of it and also of UI Patterns and UI Patterns Settings. I don't have a lot of experience with Drupal and its modules, so I read the documentation of these two modules as listed on https://wingsuit-designsystem.github.io/components/wingsuit/ and also of the Wingsuit documentation and I became really frustrated with the lack of explanations for the patterns definitions (*.wingsuit.yml files).
I had to analyse how Wingsuit work under the hood to make sense of it all. Two weeks later, I think I understand it better now. Well... I hope.
What makes me write this issue is I think there is an issue in the code for the setting type "radios".
wingsuit/packages/storybook/src/index.tsx
Lines 147 to 160 in 68dfedb
At line 159 in the code above, I think that the first instance of the word
radio
, should be plural as seen at line 149. Because it is not, setting type "radios" use a<select>
in Storybook instead of radio buttons.I tested it and when I fix the word, the select box become radio buttons as you can see in the image below.
The text was updated successfully, but these errors were encountered: