From 0c042ac89fc0822fcbe09c48702857faa5494ae1 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Dec 2025 23:34:03 +0900 Subject: feat(client): add sync status indicator component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add SyncStatusIndicator component to display current sync state in the UI header. The component shows online/offline status, syncing progress, pending changes count, and sync errors. - Create SyncProvider context to wrap SyncManager for React components - Add SyncStatusIndicator component with visual status indicators - Integrate indicator into HomePage header - Add comprehensive tests for SyncStatusIndicator and SyncProvider - Update existing tests to include SyncProvider wrapper 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/client/stores/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/stores/index.ts') diff --git a/src/client/stores/index.ts b/src/client/stores/index.ts index 7117bd6..c7f6241 100644 --- a/src/client/stores/index.ts +++ b/src/client/stores/index.ts @@ -5,3 +5,11 @@ export type { AuthState, } from "./auth"; export { ApiClientError, AuthProvider, useAuth } from "./auth"; + +export type { + SyncActions, + SyncContextValue, + SyncProviderProps, + SyncState, +} from "./sync"; +export { SyncProvider, useSync } from "./sync"; -- cgit v1.2.3-70-g09d2