Repository navigation
Form filler 3: review in the popup and reworded claims - #29
Merged
Merged
Conversation
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.
Third of the form filler pull requests: the review the popup shows, and the reworded claims.
What changes
shell/ui/fill-view.ts: the pure wording of the fill review. It covers the button and "Nothing to fill.", the filled line, a line for each not-filled reason, copy rules, frame advice for Greenhouse and Ashby, the optional-fields line and the footer ("Countersign never submits. Check the form, then submit it yourself.").shell/ui/FillSection.tsxplusPopup.tsx: an "Application form" section under the save card. The popup creates one controller and starts the scan beside capture, without waiting for it. The section is hidden when the scan is refused or finds nothing.fill()is called only from the Fill button'sonClick, and a source test pins that.README.md,docs/ARCHITECTURE.md,ApplicationDetail.tsx: the claims now read "Nothing reads or touches a page until you click" and "It fills only when you click, and never submits". The enforcement table names the fill guards, ARCHITECTURE gains a fourth part (the fill guard), and the "Formhand log" card is now "Fill log". "What is next" is untouched.Wording change from the design
When an apply fails or times out, the popup says "Countersign could not confirm the fill. Check the form before you submit it." The design says "Could not fill this page." A timeout cannot prove nothing was written, so the design's message could be false.
Gate
web-ext lint: 0 errors and 2 warnings (unchanged).Screenshots
Popup, day and night: to be attached. The fill section stays hidden on
popup.html, so the popup should look as before.Notes for the final review
shell/fill/inject.tsmay usescriptingandtabsfor the fill script. The lint allow-list is per file, soshell/capture/inject.tscould technically injectfill.jstoo. The claim is true today; the wording could be more precise.