mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-22 23:47:28 +00:00
Bug fix: - Fix vector clock cache staleness in multi-tab scenarios by clearing cache when acquiring operation write lock. Each browser tab has its own in-memory cache, so Tab B's cache could be stale if Tab A wrote while Tab B was waiting for the lock. Shared code extraction (client/server consistency): - Extract vector clock comparison to @sp/shared-schema - Client wraps shared impl with null handling - Server imports directly from shared - Extract entity types to @sp/shared-schema - Single source of truth for ENTITY_TYPES array - Removes duplicated "must match" comments Files: - packages/shared-schema/src/vector-clock.ts (new) - packages/shared-schema/src/entity-types.ts (new) - src/app/op-log/store/operation-log-store.service.ts (cache clear) - src/app/op-log/capture/operation-log.effects.ts (call cache clear) |
||
|---|---|---|
| .. | ||
| sync | ||
| api.ts | ||
| auth.ts | ||
| config.ts | ||
| db.ts | ||
| email.ts | ||
| index.ts | ||
| logger.ts | ||
| middleware.ts | ||
| pages.ts | ||
| passkey.ts | ||
| server.ts | ||
| test-routes.ts | ||