mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
Adds pending trigger counter to handle operations that occur before ImmediateUploadService initialization. When triggers are called before the service is ready, they are queued and replayed when initialization completes. This prevents race conditions during app startup. Changes: - Add _pendingTriggerCount to track triggers before initialization - Update trigger() to increment counter when not initialized - Update initialize() to replay queued triggers after setup - Add unit test for queue replay behavior - Fix docker-compose.yaml to use NODE_ENV=development for tests Fixes E2E test: 'handles server storage quota exceeded gracefully' Also addresses production edge case where fast users might create tasks during app load before sync service is ready. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| static | ||
| styles | ||
| test-helpers | ||
| typings | ||
| _common.scss | ||
| favicon.ico | ||
| hammer-config.class.ts | ||
| index.html | ||
| karma.conf.js | ||
| main.ts | ||
| manifest.json | ||
| polyfills.ts | ||
| styles.scss | ||
| test.ts | ||
| tsconfig.app.json | ||
| tsconfig.spec.json | ||
| tsconfig.worker.json | ||