• 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
..
AdminPanel.test.tsx Loading commit data...
AdminPanel.tsx Loading commit data...
AlbumDetail.test.tsx Loading commit data...
AlbumDetail.tsx Loading commit data...
BusinessPanel.test.tsx Loading commit data...
BusinessPanel.tsx Loading commit data...
Channels.test.tsx Loading commit data...
Channels.tsx Loading commit data...
Discovery.test.tsx Loading commit data...
Discovery.tsx Loading commit data...
GeoDrops.test.tsx Loading commit data...
GeoDrops.tsx Loading commit data...
Library.test.tsx Loading commit data...
Library.tsx Loading commit data...
Login.test.tsx Loading commit data...
Login.tsx Loading commit data...
Nearby.test.tsx Loading commit data...
Nearby.tsx Loading commit data...
Playlists.test.tsx Loading commit data...
Playlists.tsx Loading commit data...
Posts.test.tsx Loading commit data...
Posts.tsx Loading commit data...
Remix.test.tsx Loading commit data...
Remix.tsx Loading commit data...
Roadmap.test.tsx Loading commit data...
Roadmap.tsx Loading commit data...
Rooms.test.tsx Loading commit data...
Rooms.tsx Loading commit data...
Social.test.tsx Loading commit data...
Social.tsx Loading commit data...
Soundmarks.test.tsx Loading commit data...
Soundmarks.tsx Loading commit data...
TelegramLink.test.tsx Loading commit data...
TelegramLink.tsx Loading commit data...
Upload.test.tsx Loading commit data...
Upload.tsx Loading commit data...