mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +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) |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .gitignore | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||