diff --git a/replit.md b/replit.md index 118a614e..c7b10b90 100644 --- a/replit.md +++ b/replit.md @@ -4,6 +4,14 @@ 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 - Comprehensive Bug Analysis & Fixes (Latest)** +- **Rate Limiting Optimization**: Fixed detect-location edge function to only perform cleanup when adding new IPs at capacity, improving performance by short-circuiting existing entries +- **Null Safety**: Fixed PhotoSubmissionDisplay null reference errors by switching from !inner join to regular join with filtering +- **User-Facing Error Messages**: Added error state handling to useSearch and LocationSearch hooks, displaying user-friendly error messages instead of silent failures +- **Image Upload Cleanup**: Enhanced error tracking in imageUploadHelper to report orphaned assets and detailed cleanup failures +- **Type Safety in Edge Functions**: Added explicit null checks and error handling for RPC calls and crypto.randomUUID availability in seed-test-data +- **Improved Error Messages**: Updated all Supabase edge functions with clearer, user-oriented error messages + **October 2025 - Bug Fixes & Stability Improvements** - Fixed Fast Refresh/HMR issues by separating hook exports from component files (useSidebar, uploadPendingImages) - Added comprehensive null/undefined safety checks across PhotoModal, EntityHistoryTimeline, useEntityVersions, and EntityEditPreview components