Skip to content

Simplify the Hub setup dialog and install docs - #18

Merged
DigitalPals merged 1 commit into
mainfrom
hub-setup-simplify
Nov 6, 2026
Merged

DigitalPals merged 1 commit into
mainfrom
hub-setup-simplify

Conversation

@DigitalPals

@DigitalPals DigitalPals commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

First of three stacked PRs that simplify Hub installation (this one, then #19, then #20).

Setup dialog

  • Set up on a server no longer shows the existing-Hub "1. Connect" and "2. Sign in" steps under the Deploy button. Before, an empty address field reading "Enter a Hub address to get started." sat right below Deploy Hub. The steps reappear once the deployment hands the new Hub over, so connection progress and retries ("Check setup", "Sign in") stay available.
  • The selected setup path is highlighted.

Maintenance

  • One update button, shown only when there is something to update to: an image chosen in Advanced options, otherwise "Update Hub to <this Portal's version>". The old always-visible "Update Hub" did nothing unless the image had been changed.

Docs

  • hub/README.md links to the two install paths instead of repeating them. It drops the stale "Portal Setup" section (Host / Web URL / Web port fields the dialog no longer has), the systemd/port-2222 "Recommended Setup", and "Build From Source", whose cargo build --release builds the desktop from the repo root.
  • hub/docs/deployment.md is now the one manual-install page. It no longer sends owners to /admin (which only says "finish setup in Portal"), describes the real Connect-an-existing-Hub flow, installs Tailscale from its own packages, and holds the legacy forced-command section that was duplicated.
  • The main README links the manual guide and gives a server size.

Tests

  • New headless view tests: the server path hides the existing-Hub steps until hand-off, and maintenance offers an update only when there is one.
  • cargo test --lib: 1229 passed. cargo clippy --all-targets -D warnings and cargo fmt --check are clean.
  • I also rendered the dialog states to PNG with iced_test and checked them by eye.

🤖 Generated with Claude Code

Set up on a server no longer shows the existing-Hub Connect and Sign in
steps under the Deploy button. They appear once the deployment hands the
new Hub over, to show connection progress and offer retries. The selected
setup path is highlighted.

Maintenance shows one update button, and only when there is something to
update to: an image chosen in Advanced options, otherwise the version of
this Portal. The always-visible Update Hub button did nothing unless the
image had been changed.

Docs: the Hub README links to the install paths instead of repeating
them. The manual deployment guide is the one place for running the Hub
by hand, including the legacy forced-command mode. It no longer sends
owners to /admin or asks for a web port, installs Tailscale from its own
packages and builds with -p portal-hub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DigitalPals
DigitalPals merged commit f21ebdb into main Nov 6, 2026
9 checks passed
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.

2 participants