Commit 35ada4a6 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Add missing transitions to in-page content swaps and new list rows

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
parent 1ee572e7
Pipeline #1177 failed with stages
in 8 minutes and 33 seconds