mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 06:31:13 -05:00
Improve how user avatars are displayed throughout the application
Update all avatar display locations to use a new UserAvatar component with enhanced retry logic, cache-busting, and support for size variants. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
This commit is contained in:
14
replit.md
14
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)
|
||||
|
||||
Reference in New Issue
Block a user