mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
Architecture: - Add subscribeSelector to store.ts for selective state subscriptions - Create reconcileList utility for DOM list patching without rebuild - Create shared createContextMenu utility (dedup 3 files) - Convert all 20 subscribe() calls to subscribeSelector across 11 files - Split renderers.ts (1131L) into 7 focused files by concern - Split ConnectPage.ts (838L) into ServerPanel + LoginForm + shell - Fix ineffective (s) => s selector in ChannelSidebar GIF visibility: - Add media-visibility.ts with IntersectionObserver + canvas snapshots - GIFs auto-pause after 10s, play/pause button overlay on hover - Freeze GIFs on scroll-away, window blur, and minimize - Wire into media.ts, attachments.ts, embeds.ts renderers Tests: 46 new tests (1073 total), all passing Net: -1166 lines across client codebase