Find LAN servers from browser and review discovered machine names

This commit is contained in:
2026-11-08 21:50:27 +00:00
parent 828227f549
commit ae8fe49e41
12 changed files with 371 additions and 12 deletions
+16
View File
@@ -0,0 +1,16 @@
# Browser discovery and machine names
Browser discovery uses the authenticated same-origin `/api/discovery` endpoint,
which browses the hosting server's LAN. Native discovery still uses Bonjour.
Malformed announcements cannot hide valid machines; failed/unsupported discovery
is reported instead of being shown as an empty successful scan. Finite browser
scans stop their progress indicator when the reply arrives.
Add server now includes discovery, prefills an editable machine name/address,
and saves only after explicit review. Onboarding likewise reviews and persists
the discovered name before probing/signing in. Root wires saveServerProfile.
Verification: 34 focused discovery/onboarding/saved-server tests passed, including
name editing, no premature connection, browser errors/duplicates/default ports,
and native discovery regressions. Browser captures follow after fixture build;
this note does not yet claim rendered or deployed evidence.