[UX] Resume parse results should autofill identity fields — name, email, phone entered twice #17
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In the setup wizard the resume upload step comes before the identity step. The user uploads their resume (which contains their name, email, and phone), then the very next step asks them to type that information in manually.
scripts/resume_parser.pyalready extractsname,email, andphonefrom the resume header block (_parse_header()). That data is parsed and available inst.session_statebut is never used to prefill the identity form.Expected behaviour
When a resume is uploaded and successfully parsed:
name,email,phone) inuser.yamlare empty, autofill them from the parsed result — user just confirms/edits.Implementation notes
structure_resume()inscripts/resume_parser.pyreturns a dict withname,email,phoneat the top level (via_parse_header(), around line 364)app/pages/0_Setup.py, the resume parse result is stored around line 298-310 — write those three keys back tosaved_yaml/user.yamlimmediately after a successful parsesaved_yaml.get("name", "")etc. (line ~406) — once they are insaved_yaml, the form will pre-populate automaticallyAcceptance criteria