feat(web): cross-device upload activity UI #925
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/049-upload-activity-web"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Frontend half of spec 049 (S4/S5): cross-device upload activity visibility.
lib/api/uploadActivity.ts): GET /api/upload-activity parsing the merged backend contract (bare array,derivedStatus, flat camelCase counts,receivingFileNames); 404/error/malformed payloads degrade to an empty list.lib/stores/uploadActivityServer.core.ts+.svelte.ts): fetch on initial load, debounced (~300ms) refetch on SSEupload_activity_changed, 60s polling fallback, refetch on EventSource reconnect; concurrent refreshes coalesce.stale(interrupted) andprocessingstates are surfaced.npm run test:unit,npm run check(0 errors),npm run build, Playwrightupload-status.spec.ts+accessibility.spec.ts(desktop) all green.