Watch Me AI the UI
In this workshop, come along as I upgrade the visual design of our Laracasts team dashboard. As you'll see, design work can sometimes be a bit tricky to orchestrate. Can AI properly evaluate a screenshot and convert it to CSS? Well, yes...and no! But luckily, we have a variety of techniques we can use to increase our odds of success. Let's go!
Progress
Series Info
- Episodes
- 5
- Run Time
- 47m
- Difficulty
- Intermediate
- Last Updated
- Mar 11, 2026
- Version
- Latest
Series Episodes
- Episodes (5)
The First Try
Let's begin by reviewing the current outdated team dashboard. Then we'll pass our redesign screenshots off to AI. Together we’ll plan the work, ask the right questions, and complete the first pass of this project.Tests Are Your Safety Net
With the first draft in place, we’ll get our safety net set up withPestbrowser tests that open dialogs and click through the invite, manage, and assignment screens. Don't be so cavalier with your redesigns that you break your app in the process!The Screenshot Approach
Our dashboard still feels too panel-heavy compared to the design we’re aiming for, so it’s time to iterate. We’ll seed a realistic demo team, add an admin-only/team/demoendpoint, and use Chrome checks plus zoomed-in screenshots to push the UI closer to pixel-perfect.The Figma Link Approach
After pushing the screenshot-based workflow as far as we can, we’ll switch to fetching exact pixel values from Figma using theirMCPserver and theimplement designskill. We’ll treat a node link as the source of truth and tighten up the assignment dialog, while keeping an eye out for the subtle mistakes.How to Organize Upgrades
With the dashboard in a solid place, we’ll upgrade toInertia.js v3and put the new APIs to work without turning it into a slog. We’ll lean on AI to read the docs, propose a migration plan, and help wire up features likeonce(), thereloadingprop,useHttp, and optimistic UI updates for a snappier feel.
