mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-08 12:40:38 -06:00
- Fix infinite recursion error in showToast function by removing duplicate local definition - Implement dynamic calendar legend that updates with actual project names and colors - Add comprehensive button state management to prevent stuck "Processing..." states - Implement immediate loading state clearing for all calendar actions (create, update, delete, duplicate) - Add resetAllButtonStates() function to handle button state cleanup - Remove delays in loading state transitions for better responsiveness - Add error handling and logging for calendar events loading - Ensure loading states are cleared on both success and error scenarios - Add global reset function for manual button state recovery - Improve loadTasksForProject error handling and null checks Fixes: - Calendar legend showing static placeholders instead of dynamic project data - Buttons stuck in "Processing..." state after successful actions - Loading states persisting for 2-3 seconds after completion - Recursion errors in toast notification system - Inconsistent button state management across calendar operations