Repository navigation
chore(start-wrt,start-tunnel): realistic mock data, and the tunnel dialog help toggle - #4481
Conversation
…creenshots Named devices across every profile, four profiles with a Mullvad-over-Proton chain, a password per profile, blackout schedules that read as one, and inbound VPNs with peers in the .200 range. StartTunnel gets Server One, a Friends subnet, SNI routes, injected DNS records, TEST-NET-3 addresses, a real client config shape and current versions. The edge cases the mocks existed to exercise (nameless device, derived label, a disabled VPN no profile uses, a disabled port to a device without a reservation) are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
modal-help came from StartWRT, whose header ends in a logo, so it sat 3rem from the edge; StartTunnel's header toggle sits at 1rem, so both showed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
Changes requested: merge origin/master and resolve projects/start-tunnel/web/src/app/services/api/mock-api.service.ts. Both git merge-tree and GitHub report a conflict with the endpoint-selection change from #4157.
Keep the new Phone client config, but preserve master's device.show-config endpoint substitution and IPv6 bracketing. The substitution must match the new 203.0.113.42:51820 sample endpoint; retaining the old vpn.example.com:51820 search string would silently ignore the endpoint selected in the dialog.
The proposal is a merge of master into the reviewed head with that resolution. I found no other correctness regressions in the mock data or Help-toggle positioning change. Reviewed code and existing check results only; no builds or tests run. The reported checks are skipped except for the successful Conflict Markers check, which does not establish mergeability.
Proposed changes: ad196b6...proposal/4481
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
|
Rechecked after the merge-conflict notification: the PR remains open at ad196b6, and merging current master (7c73325) still conflicts in projects/start-tunnel/web/src/app/services/api/mock-api.service.ts. This session is the reviewer, not the implementer, so I have left the PR branch unchanged. The merge resolution preserving the new sample data and endpoint overrides is already published at ad196b6...proposal/4481 for the author to adopt and verify. |
Resolves the conflict with #4157 in the StartTunnel mock: keeps the Phone client config and master's endpoint substitution, matched to the new 203.0.113.42 sample endpoint (helix-a's proposal). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
left a comment
There was a problem hiding this comment.
Approved at f5cce2f. The base merge resolves the earlier conflict exactly as proposed, preserving endpoint overrides and IPv6 bracketing alongside the new Phone config. git merge-tree confirms a clean merge with current master. No remaining correctness findings.
The existing mock APIs and PatchDB seed now depict a home network: named devices across four StartWRT profiles, chained outbound VPNs, inbound peers, schedules and Wi-Fi passwords; StartTunnel gains a Friends subnet, service hostname routes and DNS records using a reserved documentation IP. Production backend configuration is unchanged. Existing locally saved mock VPNs still take precedence over the new defaults.
Separately, StartTunnel's dialog Help toggle moves from 3rem to 1rem from the edge to cover the header toggle rather than appear beside it. The existing help-overlay mechanism is retained.
Implementation diff: +293 / −118 lines in 5 files (excludes lockfiles, tests, docs, release notes, and changelog).
The author records successful StartWRT/StartTunnel typechecks, Prettier and headless-browser use. For the required screenshots, I served both apps from this reviewed head with their mock APIs in headless Chromium and captured devices, profiles, VPNs, Wi-Fi, published ports, subnets, DNS and the open Add server dialog. These captures exercise no real router or tunnel server; no reviewer tests were run. Screenshots follow in an attachment-only comment. At CI inspection, Prettier, Conflict Markers, changelog/version validation and dependency licensing passed; the three StartTunnel package builds, StartWRT binary build, automated tests, formatting/lockfiles and generated-artifact checks were still running.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol











Mock data for the StartWRT and StartTunnel UIs that reads like a real home network, so screenshots taken from
npm run start:wrt/npm run start:tunnel(and the public demo at router-demo.start9.com, which is built from these mocks) look like the product. Companion to the start9-store software-page pass, whose StartWRT/StartTunnel screenshots come from this data.StartWRT
humble-weedsand the real first names (Mariusz's Phone, aMattVPN atagf5d.start9.me).Homeinstead ofStartOS.Home(enabled, peers in the documented.200–.253range) andFriends; automatic port uses all owned by Server One, including two SNI routes; Server One may publish DNS records.StartTunnel
203.0.113.42(TEST-NET-3) instead of69.1.1.42; versions 1.5.0 → 1.5.1.MOCK_CONFIGnow has the shape ofclient.conf.templateinstead of a server config.Kept on purpose: the nameless device (
device-<mac>placeholder), the derived-label device, a disabled VPN no profile uses (nowIVPN, since Mullvad carries the chain), and a disabled port to a device with no reservation.Fix: StartTunnel's in-dialog Help toggle (
help/modal-help.ts, copied from StartWRT) sat 3rem from the edge, where StartWRT's header logo pushes its toggle; StartTunnel's header toggle is at 1rem, so a dialog showed two "Help" pills side by side. Fragmentpatch-fixed-dialog-help-toggle.md(user-facing: false).Overlap: #4466 and #4157 touch the same mock files in other hunks.
Verified:
npm run check:wrt,npm run check:tunnel, prettier; both UIs driven in headless Chromium against these mocks.🤖 Generated with Claude Code