Release 1.45.4
The test no sample makes
Sample designs are easy: three cards, a button, everything fits. What doesn't fit is a whole product, 61 screens and over four thousand elements, drawn in another tool and brought in here.
That happened, and the list of things that broke along the way became this release.
What agents can draw now
Frosted glass. Ask for a translucent card over a photo and what passes underneath it actually blurs, like the screens you know from iOS. The shadow stays with it, which wasn't possible before.
Photo as background. An image can be the background of a block that still arranges what sits on top. That header with a photo, buttons up top and a name at the bottom stopped being three loose pieces and became one thing, one that keeps adjusting when you change the content.
Floating elements. A fixed bottom bar, a button that follows the scroll, a badge in the corner of an avatar. Things every app has, and which used to force you to tear down the whole screen's alignment to fit.
Screens that grow. A screen can end where its content ends, instead of you guessing the height before writing the text.
And three things that were wrong
Asking for a colored icon made it vanish. No error, no warning: the drawing simply didn't show up, and nobody knew why. It paints now, gradients included.
Asking for a font that wasn't in the file yet dropped the text into a serif that clashed with everything. It was worse than asking for no font at all.
And when an agent went to check what it had just drawn, the photo of a screen came out washed out in large files, sometimes showing the neighboring screen. So it would go fix what wasn't broken.
Under the hood
The app also stopped hanging at startup when the system decided to ask for keychain access. It was a black screen with no explanation; now the question shows up with the app already running.