Repository navigation
feat(web): give This Machine its own page and remove Providers - #183
Merged
Merged
Conversation
This Machine opens /settings/machines/localhost, laid out like a paired machine's page, with the server settings Providers had: start, restart and stop, executable, home, launch arguments, environment and the start command. The Machines list shows it as one row with its link state. Health Check Interval moves under This Machine, Check Again into the Machines header, and the problem button now opens This Machine. Providers is gone, along with servers.setDefault and adding a local server: another server on the same computer is paired like any machine. Stop and restart now fail plainly when the CLI leaves the server running, as an older codework does with a newer server it can't reach. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The minus and plus buttons sat flush against the field with no shared edge, so "− 300 +" read as three loose pieces. They now share the field's border at its height, the field uses tabular numbers, keyboard focus rings the whole control, and the description fits on one line. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The id rode on the description line, the row's second line, while the status and chevron are centred in the row, so it sat low. It is now a column of its own, centred like the status, and still lines up down the list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Machine gets its own page, and the Providers page goes away. Everything Providers did for this computer's server now lives under Settings › Machines, so a second server on the same computer is paired like any other machine instead of being managed as an extra provider.
Web (
apps/web)/settings/machines/localhost, built like a paired machine's page:App server (
apps/server,apps/contract)servers.setDefaultand the local form ofservers.addare removed; pairing still usesservers.add. There's no migration, since we're still in development.servers.servicenow fails when a stop or restart leaves the old server running, naming the CLI and server versions. An oldercodeworkreports success against a newer server it can't reach, which made Stop look like it worked when it didn't.Testing
launch.test.ts: a CLI that can't reach the server makes Stop and Restart fail with a message while the server keeps running; the real CLI then stops it (launch.blind.json).health.test.ts: at a 1s interval, a changed CLI version shows up within 2s on its own; at 0 it stays stale; a manual check picks it up (health.interval.json).health.jsonno longer covers an extra local server.schema.jsondrops the removedservers.setDefaultrefusal.vp test --project server): 16 files, 53 tests pass, 1 skipped.vp run verify,vp checkonapps/, and the web and app-server typechecks pass.sites/still say "Settings → Providers"; they'll be updated separately.localhost:<port>wasn't exercised, and a loopback address still shows "Insecure".Done with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code