Files
skillshare/ui/src/components/sync
Willie 96b6acff28 refactor(ui): isolate resource operations and cancellable reads (#957)
* refactor(ui): isolate resource operations and cancellable reads

Keep resource toggle rollback and move reconciliation outside the view. Preserve the preview and revision protocols and distinguish cancelled resource reads from connection failures.

* refactor(ui): standardize JSON requests across dashboard APIs

Keep HTTP verbs, paths and payloads visible at each endpoint without repeating serialization. Preserve bodyless requests, raw JSON imports and streaming responses, and cover the extras request contracts.

* refactor(ui): share sync eligibility and upgrade recovery

Use scoped plans for sync counts and writes, share restart polling, and restore only the edited target field when a resource write fails.

* fix(ui): show pending MCP source migrations in sync preview

Render the migration counted by the global plan rather than an empty preview when no MCP target file changes. Cover the mismatch through the rendered sync page.
2026-11-19 00:48:18 +08:00
..