[ux] complete rewrite because i'm batshit crazy