Skip to content

feat: first-run Wi-Fi and Gemini setup - #2

Merged
Ocean-lhy merged 3 commits into
geminifrom
feat/first-run-setup
Oct 23, 2026
Merged

Ocean-lhy merged 3 commits into
geminifrom
feat/first-run-setup

Conversation

@Ocean-lhy

Copy link
Copy Markdown
Collaborator

Summary

  • After splash, if Wi-Fi and/or Gemini API key are missing, run first-run setup (touch boards auto-open SoftAP + QR; Skip available).
  • SoftAP /setup step flow: Wi-Fi (scan/password/static IP) then Gemini API test; finish stops SoftAP and returns to the original Stack-chan face.
  • Existing settings pages also support static IP / gateway / DNS.
  • Gemini UI polish: StackChan naming, Google Cloud setup branding, larger prompt/QR text, scannable Wi-Fi QR.
  • SoftAP join reliability: pump prompt touch during boot waits, DHCP captive-portal URI (option 114), DNS NODATA for non-A queries, pause STA scans while AP is up, show setup URL next to the QR.

Test plan

  • Flash CoreS3 Gemini build; confirm first-run prompt / auto SoftAP QR appears when Wi-Fi or API key empty
  • Scan QR, join SoftAP, complete /setup Wi-Fi + Gemini test; device returns to avatar
  • Skip from prompt and from QR page returns to avatar
  • Existing settings: set static IP / gateway / DNS and reboot
  • Confirm face remains original Stack-chan (not Google logo face)

Pump touch during boot waits so Start/Skip respond immediately, auto-open
SoftAP setup on touch boards, show the setup URL beside the QR, advertise the
captive portal via DHCP option 114, and stabilize SoftAP join by pausing STA
scans and answering non-A DNS queries as NODATA.
@Ocean-lhy
Ocean-lhy merged commit 181eb9c into gemini Oct 23, 2026
1 check passed
@Ocean-lhy
Ocean-lhy deleted the feat/first-run-setup branch October 23, 2026 03:43
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