81a05bc145d6f847bc555b381dfe9670225665dc
Three bugs fixed: 1. lastEdited mismatch: saveProjectToStorage stamped Date.now() in localStorage but saveRemoteProject sent the React state's stale lastEdited — server and localStorage had different timestamps, so the "Pull latest" stale detection on a second device never fired. Fix: stamp lastEdited once before both calls so they're identical. 2. saveProjectToStorage now returns the stamped object so callers don't have to re-compute the timestamp. 3. Sync errors were auto-clearing after 2.5s making failures invisible. Now the "⚠ Sync failed" badge stays visible until the next successful sync, and a Retry button lets you force a re-push without making an edit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
JavaScript
97%
Shell
2.4%
Dockerfile
0.2%
HTML
0.2%
CSS
0.2%