Lookbook v2.0 beta #310
Replies: 4 comments 4 replies
-
Congrats on the beta release! Lots of cool new stuff! Some feedback: In the preview embeds demo, the theme switch doesn't work for me (Firefox): But if I start changing the params it triggers the refresh and changes the theme as expected: |
Beta Was this translation helpful? Give feedback.
-
Thanks @Spone 😊 I'm glad to finally get people testing it. I've just tested this and it looks like it's broken in Chrome too so I don't think it's a browser issue. I'll open an issue and dig into it as soon as I can. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi @allmarkedup, as promised I looked into the Upgrading our development-mode Lookbook from the latest 1.x to I also upgraded our public Lookbook instance that sparked the whole idea of Preview Embeds and integrated the embeds in our design system docs. This is so awesome, literally an idea coming to life 🤩 The only issue I ran into might be totally on our end and might have nothing to do with the
Have a nice weekend and again, thanks and congrats to the great beta release 🚀 |
Beta Was this translation helpful? Give feedback.
-
🎉 The Lookbook v2.0.0 beta is available for testing now! 🎉
Docs: https://v2.lookbook.build (work-in-progress!)
Demo: http://v2-demo.lookbook.build
What's New?
🆕 Support for previewing a wider range of component types such as Phlex views and ActionView partials, in addition to ViewComponents.
🆕 Preview embeds for including Lookbook previews on external sites - see some examples here.
🆕 Improved file watching/live updates system with tighter Rails integration to improve reliability and interoperability, including support for forking servers in clustered mode.
🆕 Lots of other under the hood improvements!
You can find a more detailed overview of the changes here.
Upgrading
There are a few breaking changes but they are mostly centred around the Ruby API so are unlikely to affect too many people.
If your app doesn't already include the
listen
andactioncable
gems then you will need to add them to ensure that live updates continue working in development. These were previously bundled with Lookbook but are now optional dependencies.See the upgrade guide for full details.
Help wanted! 🛟
I'd love to get as many people trying these beta releases as possible.
The file watching system has been rebuilt from scratch and whilst I'm confident that it will solve many of the "Lookbook isn't showing my changes" bugs that people have been running into, it is a big change and there may be a lot of "different-setup edge cases" that need to be flushed out. The more 👀 the better!
If anyone is having any problems with getting the betas working please open an issue or @ me and I'll do my best to help out. And any other comments/suggestions/frustrations would be most welcome too :-)
Beta Was this translation helpful? Give feedback.
All reactions