Open okonet opened 8 years ago
I think this is a great direction for the future of carte blanche. I am unsure about the collapsed navigation, because those thin lines don't really provide much useful information and the un-collapsed version doesn't feel particularly intrusive either. I think I would rather have a complete collapse to hide it all rather than those lines, but that's just my personal preference.
I really like seeing the props beside the rendered component similar to the Stripe docs. I also agree that the React Dev Tools do this very well. I wonder how much of that we can incorporate.
Regardless, amazing work @okonet!
I've been thinking about the UI lately and here are my thoughts.
Problems we are trying to solve
Mockups
Extended navigation
Collapsed navigation
Props/State
Solutions
UI = f(props, state)
it's crucial to see the props and state set to it. I've made it toggleable so you still can preview components on the full canvas. But the more I think about it, the less I think we should hide that. For the interaction part, I'm really looking at the React Dev Tools extensions. I think it solves the case with nested structures nicely. I also like that you can change everything on the fly and see how the component updates.react-styleguidist
allows you to export the styleguide as a static web-site so you can just refer to it when working with a team of devs/designers. That's also what I'm trying to address with the global navigation (1).I'd like to hear your thoughts on it. Thanks!