• Aryan Noshirvnai's avatar
    Add missing transitions to in-page content swaps and new list rows · 35ada4a6
    Aryan Noshirvnai authored
    Several jaggy/instant UI changes had zero animation: the tab switchers on
    Social, Soundmarks, AdminPanel, and BusinessPanel all swapped their body
    with a plain conditional; Library's search-results-vs-default-grid toggle
    and TelegramLink's phone/code/password steps and chat-list/chat-detail
    views did the same, the latter two via a full remount with nothing
    softening it. New CSS class animate-content-enter (fade + rise, 200ms)
    now covers all of these via a keyed wrapper, so React genuinely remounts
    on each real swap and replays it.
    
    Separately, newly-added list rows (Upload's queue, Discovery's history)
    just popped in with no transition. Both now reuse the existing
    animate-message-enter class, which only plays on a row's actual first
    mount - each row keeps a stable key across later re-renders, so this
    fires once per genuinely new row, not on every status update. Discovery's
    history rows get a capped per-row stagger; fixed a flash-then-fade bug
    this exposed in animate-message-enter's own definition (needed
    animation-fill-mode: backwards to hold the pre-animation state during the
    delay) and its total absence from the prefers-reduced-motion block.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    35ada4a6
Name
Last commit
Last update
..
api Loading commit data...
assets Loading commit data...
components Loading commit data...
config Loading commit data...
context Loading commit data...
hooks Loading commit data...
lib Loading commit data...
pages Loading commit data...
test Loading commit data...
App.tsx Loading commit data...
index.css Loading commit data...
main.tsx Loading commit data...