Repository navigation
Add document deletion dialog and incremental Home loading UX - #212
Merged
Merged
Conversation
Add Delete document... actions to Home manuscript/note row menus, the Continue card, and the open manuscript's More menu, Settings sheet, and Command Palette, backed by a name-confirmation dialog and SDK CAS delete (with records.delete and files.delete manifest capabilities). Add immediate skeleton placeholder rows and live incremental page rendering with loaded counts while multi-page manuscript lists load on Home. Refs #210 Refs #211
This was referenced Nov 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #210):DeleteDocumentDialogusing@mdbase-dev/ui/confirm-dialogrequiring exact document title confirmation before enabling deletion, with inline error handling and busy state.NativeWriterBackend.deleteDocument(path)using SDKclient.deletewith revision CAS (ifRevision), receipt recovery for lost replies, cache invalidation, and clean local state cleanup (recent history, word goals, and local drafts).records.deleteandfiles.required"delete"inwriter-manifest.mjs(matching Next/Private account capability-to-file pairing).Refs #211):Loading manuscripts…+ skeleton placeholder rows) on Home while the initial manuscript page loads so the screen never sits empty.onProgressstreaming inNativeWriterBackend.listManuscripts()as multi-pagequeryContractpages arrive, rendering loaded rows immediately with a live loaded count (Loading manuscripts… N loaded) until all pages finish.en,de,es,fr,it,ja,ko,pt,ru,zh).Testing
DeleteDocumentDialog.test.tsx,Home.test.tsx,native.test.ts,workspace.test.ts,recent.test.ts, and updatedmanifest.test.mjs.rpnpm run check,rpnpm run build:production,rpnpm --filter @mdbase-writer/app run build:staging,pnpm run check:release-downloads,pnpm run test:release-downloads, andnode --test scripts/performance-report.test.mjs.Refs #210
Refs #211