I built VisualCI, and would like to offer it for free to Bootstrap #43574
ndbroadbent
started this conversation in
Show & Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there! I've built VisualCI, which is a service that compares screenshots between commits, and I'd like to offer it to Bootstrap for free.
VisualCI is open source (Apache-2.0), so you can self-host it as well.
build/screenshot-examples.mjsalready captures every example in light and dark. VisualCI can run it in CI on every pull request and show which examples changed, side by side with a diff, for you to approve or reject. The approved screenshots are also published at a stable URL, so the Examples page thumbnails could load from there and stay current. Today they're regenerated by hand (last on 24 July), and all 66 of them now differ from what main renders.Here's a demo from a fork. The script runs in CI with a few lines added so that two runs of the same commit match: https://app.visualci.com/visualcihq/bootstrap. As a real example, I cherry-picked the open spacing and radius scales change onto it, and VisualCI shows that 32 of the 33 examples move, e.g. Sign-in gets a taller button and wider gaps: https://app.visualci.com/visualcihq/bootstrap/builds/14. (Maybe that's all intended, but it's hard to check 33 pages by eye.)
VisualCI can also build a gallery page from approved screenshots that always stays up to date: https://visualcihq.github.io/bootstrap/
It's free for open source projects, and I can help with the setup in a PR: a workflow file and the small changes to the screenshot script. Then you'd only need to install the VisualCI GitHub App.
Thanks for your time, and for all your work on Bootstrap!
All reactions