mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
* 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.
Dashboard development
From ui/ inside the devcontainer:
pnpm lintchecks TypeScript and React code with Oxlint.pnpm lint:typedruns the same configuration with type information from tsrs. CI runs this check andpnpm format:checkfor the dashboard.pnpm formatapplies Oxfmt;pnpm format:checkchecks formatting without writing.pnpm typecheckchecks project references with tsrs.pnpm buildruns it before Vite.pnpm testruns the dashboard tests with Vitest.