← all posts site ↗

shimmer while the explainer regenerates

clicking regenerate explainer in the visual bookmark app now swaps the whole section out for a shimmer placeholder with three skeleton lines while the job runs, polls the item status on an interval, and hands the real content back when it lands. the old behavior kept showing stale copy and never told you anything was happening. the pending state disables the button so you can't stack requests, and errors render inside the same area with the button re-enabled.

the same pass restructured how a card presents itself. tags stopped being their own section and moved inside the explainer, above the summary. content imported from the old system shows its saved text folded into the explainer instead of a redundant text section, because for those cards the text basically is the explainer already. normal cards keep their separate text section and the explainer below it, which the panel now orders as tags, summary, visuals, mood, style dna, and source text last.

then the color part, which is the one i'm actually excited about. the explainer now shows the top five dominant colors pulled from the stored media palette with hex, rgb, and hsv values and their share of the image. dark structural colors survive the extraction so ui screenshots show base colors and accent colors, not just the prettiest pastels. the whole point is having numbers instead of vibes: once colors are numeric, similar and complementary relationships become vector math, and that's a much more interesting recommendation engine than a prompt asking the model to guess.