diff --git a/replit.md b/replit.md index 963eec01..f8930560 100644 --- a/replit.md +++ b/replit.md @@ -4,7 +4,19 @@ ThrillWiki is a community-driven web application for discovering, reviewing, and tracking theme parks, rides, and related entities globally. Its core purpose is to provide a centralized platform for enthusiasts to research attractions and contribute to a collaborative knowledge base through user contributions and reviews, offering a comprehensive encyclopedia for the theme park world. ## Recent Changes -**October 2025 - Critical Bug Fixes & Stability Improvements (Latest)** +**October 2025 - Avatar Display System Improvements (Latest)** +- **Unified Avatar Component**: Created centralized UserAvatar component with robust retry logic and cache-busting to fix inconsistent avatar display across the application + - Implemented bounded retry mechanism with two attempts and query parameter-based cache-busting + - Added loading and error states with smooth transitions + - Supports size variants (sm, md, lg) for different UI contexts + - Automatically resets state when avatar URL changes to prevent stale displays +- **Comprehensive Avatar Integration**: Updated all avatar display locations to use UserAvatar component + - Replaced Avatar usage in AuthButtons header with UserAvatar using key prop for forced re-renders + - Updated ReviewsList to use UserAvatar for consistent review author avatars + - Migrated QueueItem moderator and reviewer avatars to UserAvatar component + - Ensured fallback text generation handles null/undefined cases gracefully across all usages + +**October 2025 - Critical Bug Fixes & Stability Improvements** - **Moderation Queue Sorting Enhancement**: Enhanced sorting controls with visual loading indicators and diagnostic logging: - Added animated spinners to sort controls (label and direction button) during data fetch operations - Added comprehensive logging to track multi-level sort queries (escalated DESC → user-selected sort → created_at tertiary)