7.8.0happo login and dev --wait --next-review, fix for theme-switch flakiness
This release adds a browser-based login flow for local runs and a way for happo dev to wait for a review, plus fixes a story rendering race after a theme switch.
Added
- Add happo login and happo logout, which sign in once through the browser and save a 30-day key so local runs no longer need an API key in an env file [by @lencioni in #1632]
- Add happo dev --wait --next-review, which waits for somebody to review the run's comparison on happo.io and then reprints its summary, so an agent can be woken when a review happens [by @lencioni in #1631]
Fixed
- Fix a race where a story could be screenshotted mid-render right after a theme switch, showing the previous example's theme [by @trotzig in #1687]