Main synchronization orchestration component for syncing manga entries to AniList.
Manages the complete sync lifecycle: initial state setup, progress tracking,
error handling with recovery options, pause/resume functionality, and result display.
Supports incremental progress updates, rate limiting awareness, and checkpointed resumption.
UI includes:
Real-time progress bar with percentage and entry count
// Recovery action handlers for error details consthandleErrorRetry = async (mediaId: number) => { console.info(`[SyncManager] π Retrying single entry: ${mediaId}`); // This would typically trigger a single-entry retry through syncActions // For now, we'll log it - the actual implementation depends on syncActions };
consthandleErrorRefreshToken = async () => { console.info("[SyncManager] π Refreshing authentication token"); // This would typically trigger token refresh through auth context // For now, we'll log it - the actual implementation depends on auth context };
consthandleErrorCheckConnection = async () => { console.info("[SyncManager] π‘ Checking connection status"); // This would typically trigger a connection check // For now, we'll log it - the actual implementation depends on network utilities };
Main synchronization orchestration component for syncing manga entries to AniList.
Manages the complete sync lifecycle: initial state setup, progress tracking, error handling with recovery options, pause/resume functionality, and result display. Supports incremental progress updates, rate limiting awareness, and checkpointed resumption.
UI includes:
Source