mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-08 12:10:13 +00:00
- #7 wake: every committed portable Draft mutation (updateDraftMessage, updateDraftFile, removeDraftFile, addFilesToDraft, updateDraftPriority, updateDraftBoRConfig, removeDraft) now calls DraftSyncManager.wake(serverUrl) on its success path so newly-enqueued outbox work drains promptly instead of waiting for a timer. Device-local markdown-metadata and error/no-op paths do not wake. - #11 lifecycle: login.ts initializes DraftSyncManager for a freshly added server (after EphemeralModeManager.addServer, before WebSocket startup). refresh.ts applyPersistenceModeChange invalidates before the persistence-mode DB wipe and re-initializes after the database is recreated (before WebSocket startup), so a late HTTP completion can never touch a destroyed/recreated database. Checks: npm run tsc clean; eslint --quiet clean; local-draft + refresh suites pass (incl. an invalidate<wipe<initialize<createClient ordering assertion). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ephemeral_mode | ||
| session | ||
| category.test.ts | ||
| category.ts | ||
| channel_bookmark.test.ts | ||
| channel_bookmark.ts | ||
| channel.test.ts | ||
| channel.ts | ||
| draft.test.ts | ||
| draft.ts | ||
| file.test.ts | ||
| file.ts | ||
| group.test.ts | ||
| group.ts | ||
| post.test.ts | ||
| post.ts | ||
| reactions.test.ts | ||
| reactions.ts | ||
| scheduled_post.test.ts | ||
| scheduled_post.ts | ||
| systems.test.ts | ||
| systems.ts | ||
| team.test.ts | ||
| team.ts | ||
| thread.test.ts | ||
| thread.ts | ||
| user.test.ts | ||
| user.ts | ||