mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
One question per screen, Q1 to Q6, each a chip set with a real radio or checkbox inside every chip so the browser owns grouping and keyboard movement, and a focus ring the five-step picker's hidden inputs never had. The selection is pre-filled from the stored answers, "Next" persists it through the answers route and navigates from the state the server hands back, and Q1 is the one question without a skip. The questions are data (which step, which answers, one or many, may it be passed) with two pure translations beside them — stored answers into a selection, a selection into the strict body — so the wire never sees a chip this file did not offer. Q6 asks only about the units the ticked areas need and sends nothing for a value the account already had. The step page guards every URL with the step machine and stays under /onboarding/, which is what the first-run redirect lets through.