smriti/frontend
Himanshu Dongre c65e913666 Pass force=true from the web UI space-delete confirmation
The backend now refuses DELETE /api/v2/repos/{id} with 409 for a space
that still holds checkpoints unless force=true is passed. The web UI's
delete-space request did not send it, so deleting a non-empty space from
the browser failed (it failed safe — nothing was deleted).

deleteRepo() gains an optional { force } argument, mirroring the sibling
deleteCommit()'s { cascade }. WorkspaceOverviewPage passes force=true from
the ConfirmDeleteModal's onConfirm — the point where the user has already
acknowledged the irreversible "this cannot be undone" confirmation. No
modal or UX change; only the request now carries the flag the backend
requires.
2026-05-19 20:41:33 +05:30
..
public Initial public release 2026-03-22 13:48:50 +05:30
src Pass force=true from the web UI space-delete confirmation 2026-05-19 20:41:33 +05:30
.gitignore Initial public release 2026-03-22 13:48:50 +05:30
Dockerfile Initial public release 2026-03-22 13:48:50 +05:30
eslint.config.js Initial public release 2026-03-22 13:48:50 +05:30
index.html Initial public release 2026-03-22 13:48:50 +05:30
package-lock.json Polish external validation output and docs 2026-05-17 12:15:14 +05:30
package.json Polish external validation output and docs 2026-05-17 12:15:14 +05:30
tsconfig.app.json Initial public release 2026-03-22 13:48:50 +05:30
tsconfig.json Initial public release 2026-03-22 13:48:50 +05:30
tsconfig.node.json Initial public release 2026-03-22 13:48:50 +05:30
vite.config.ts Initial public release 2026-03-22 13:48:50 +05:30