Skip to content

Fix review findings in fill records - #39

Merged
firegiant9000 merged 7 commits into
feat/fill-recordsfrom
records/branch-fixes
Nov 22, 2026
Merged

firegiant9000 merged 7 commits into
feat/fill-recordsfrom
records/branch-fixes

Conversation

@firegiant9000

Copy link
Copy Markdown
Owner

Fixes from the whole-branch review of fill records before it goes to main.

What changes

  • New application from a form warns like Save job does (core/src/form-application.ts, shell/ui/Popup.tsx). "New application from this page" now shows the duplicate and repost facts that Save job shows, as the design requires. It still saves, as Save job does. Before, an archived application for the same posting was not offered as a link, so New quietly made a second job and application.
  • Apply pages match their saved job (core/src/duplicates.ts). A job made from a Lever /apply or Ashby /application page is stored under the posting URL. Save job on that same page now finds it as a duplicate. Two URLs match when they are equal or have the same form key. What Save job stores is unchanged.
  • The popup keeps a fill's answers while it asks you to act (shell/ui/Popup.tsx). There are two cases. In the first, the chosen application was deleted, so the popup says "Choose another". In the second, the write that records the answers fails. Before, the result was dropped on the next render. Now it is held until your next link records it once, including after a failed link and a retry. A match linking the form still drops a held result, as before.
  • Overlong page URLs are not stored as form links (core/src/form-link.ts). formUrlKey returns nothing for URLs over 8,000 characters, the same cap capture uses.

Checks

  • Gate passes: 1930 unit tests (1924 before), 18 build tests, ESLint 0, web-ext 0 errors / 2 warnings.
  • feat/fill-records merges into the current main with no conflicts.
  • The popup has no unit tests, so the two popup fixes get hand checks:
    • New on a form whose posting has an archived application shows the duplicate fact.
    • Fill after the linked application is deleted, then Choose another: the answers are recorded once and the notice clears.
  • Known and accepted: a fill that finishes during the few milliseconds a link takes to save, and that would have held its result, can still lose it. The tick panel lets you record those answers by hand.

@firegiant9000
firegiant9000 merged commit 4748f1b into feat/fill-records Nov 22, 2026
1 check passed
@firegiant9000
firegiant9000 deleted the records/branch-fixes branch November 22, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant