Repository navigation
feat(review): stop a client review capture and show its progress - #1709
Merged
gregpriday merged 5 commits intoNov 28, 2026
Merged
gregpriday merged 5 commits into
gregpriday merged 5 commits into
Conversation
- Stop capture action, stopReviewCapture IPC and review:progress events - Status names the build, each page and width, and pictures done - A stopped capture keeps nothing and leaves earlier editions as they were
…asked with - Progress travels apart from the capture's answer, so a late event of an earlier capture is not shown
… on its answer - Stop carries the capture's id; main stops only that capture - A review stopped while image copies are made stops waiting for them - Stop pressed while edits save is said as stopped, with the save problem - The Stop action goes once the capture has answered
…-long-client-review-captures-offer-no-way
gregpriday
deleted the
feature/issue-1413-long-client-review-captures-offer-no-way
branch
November 28, 2026 10:32
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.
Client review captures can now be stopped, and the status says how far a capture has got, instead of one general message from start to finish.
Resolves #1413
Changes
Controller.stopReviewCapture, IPCproject:stopReviewCapture). No more pages are pictured, and nothing of the stopped capture is kept, because the edition is assembled in staging and only moved into the reviews folder at the end. Editions captured earlier stay as they were. The result is{ ok: false, stopped: true }and shows as a neutral status, not an error. An edition whose final move had already started when Stop arrived is kept whole, and the dialog reports it as captured.review:progressevents tagged with the capture's ID:build, thencapturebefore each picture (page, width label, pictures tried so far), thensaving. The status reads "Building the website…", then "Picturing About at Desktop · 2 of 6 done", then "Keeping the edition of 6 pictures…". Events travel separately from the capture's reply, so the dialog ignores any event whose ID isn't the running capture's.Editor.tsxdialog guard). That rule covers every dialog, so it is unchanged. Stop gives the way out the issue asks for.Testing
review-edition.test.ts(stop mid-capture keeps earlier editions byte-for-byte and nothing new, a stop for another ID does nothing, a stop before or during build preparation launches no build, the progress sequence including an unavailable picture,savingsent before the edition is in place),export-modal-actions-browser.test.ts(status per phase, Stop sends the capture's ID, neutral stopped outcome with focus on it, late and foreign events ignored),review-ipc.test.ts,live-capabilities.test.ts(Stop is host-only).npm run typecheckgreen.controller.ts/api.ts(11 files) green, except a flaky timing test,local-orchestrator.test.ts› "ends a reply that streams without end at the time limit…", which passes when rerun alone. That AI streaming timing path is outside this change.Open (low)