aboutsummaryrefslogtreecommitdiffstats
path: root/dev.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 23:04:16 -0700
committerAdam Soltys <[email protected]>2026-08-02 23:04:16 -0700
commitbae797fb402e0d9b86c43c5c1dd356cb056e2838 (patch)
treec4ad46b037c60132636ee278e6201fd779ed493e /dev.js
parent24fbf5e2b75efff43a22b129dbe30510b1b34dd0 (diff)
downloadcoinosv3-bae797fb402e0d9b86c43c5c1dd356cb056e2838.tar.gz
coinosv3-bae797fb402e0d9b86c43c5c1dd356cb056e2838.zip
Motion and polish: navigation choreography, counting balance, gold ribbon
The renderer rebuilds the DOM on every render, so naive CSS mount animations would replay on every background repaint. Two primitives fix that: uiChanged() gates one-shot animations to the render where the thing actually happened, and animWindow() lets a rebuild that lands mid-animation RESUME it via a negative animation-delay instead of killing or restarting it. On top of those: every real navigation rises in (screen/tab/subpage/ chat/profile — one keyed check in render()); the balance counts to its new value and breathes green when money arrives; the avatar menu pops from its corner; the move panel unfolds; the success check springs and rings once when its page lands. Micro-transitions on buttons, tabs, segs, inputs, list rows, avatars, and the settings chevrons. One chromatic signature on the monochrome brand: a slow-drifting bitcoin-gold ribbon across the top of the balance card, echoed by a faint warm wash pooling at the top of the page, plus a film-grain overlay for texture. All of it honors prefers-reduced-motion. The nostr sign-in mark also gets a proper inset ostrich and a size bump. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'dev.js')
0 files changed, 0 insertions, 0 deletions