mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
Code review improvements addressing critical and high priority issues: Archive Handler: - Rollback BOTH archiveYoung and archiveOld on flush failure - Prevents data loss when partial write occurs Cache Invalidation: - Add _unsyncedCache invalidation in deleteOpsWhere - Prevents stale data when deleted ops include unsynced operations Simple Counter: - Extract _getCounterValue helper to reduce code duplication - Use selectSimpleCounterById (O(1)) instead of selectAllSimpleCounters+find (O(n)) - Update tests to properly mock both selectors Operation Log Sync: - Add infinite loop prevention when force download returns no clocks - Add GREATER_THAN corruption detection (treats as CONCURRENT to be safe) ESLint Hydration Guard Rule: - Fix combineLatest detection at root level vs nested in operator callbacks - Add comprehensive test suite (17 test cases) E2E Tests: - Fix flaky reminders-schedule-page tests (tasks disappear after scheduling) |
||
|---|---|---|
| .. | ||
| rules | ||
| index.js | ||