Control's empty state: install and join as numbered, copyable steps #98

Closed
opened 2026-10-03 06:38:02 +00:00 by jhgaylor · 0 comments
Owner

Control's empty state (AddMachine in web/src/ui/control.tsx) says "Install illogical on it, then run:" and shows illogicald join {url} in a <pre>.

  • No install command or link. The one-liner (curl -fsSL https://illogical.widgets.wtf/install.sh | sh) isn't anywhere in web/src.
  • No copy button.
  • PATH trap. When ~/.local/bin isn't on PATH, install.sh only says "Add ~/.local/bin to your PATH", so the pasted illogicald join fails with command not found.
  • It doesn't say the link expires (15 min, crates/control/src/db.rs), or what a machine is vs a device.

Close it by numbered steps, each a copyable command:

  1. Install on the machine (macOS/Linux): the one-liner, with a "Homebrew or from source" link.
  2. Join it to this account: ~/.local/bin/illogicald join {url} (the full path, so it works before PATH is fixed). Mention --team when they have teams (#100).
  3. Approve it here: "It prints a link and a code; open the link here, or type the code below. Codes last 15 minutes."

Plus one line: "A machine runs your terminals; a device (this browser, your phone) reaches them."

Uses the shared copy component (#99).

Control's empty state (`AddMachine` in `web/src/ui/control.tsx`) says "Install illogical on it, then run:" and shows `illogicald join {url}` in a `<pre>`. - **No install command or link.** The one-liner (`curl -fsSL https://illogical.widgets.wtf/install.sh | sh`) isn't anywhere in `web/src`. - **No copy button.** - **PATH trap.** When `~/.local/bin` isn't on PATH, install.sh only says "Add ~/.local/bin to your PATH", so the pasted `illogicald join` fails with `command not found`. - It doesn't say the link expires (15 min, `crates/control/src/db.rs`), or what a *machine* is vs a *device*. **Close it by** numbered steps, each a copyable command: 1. **Install on the machine** (macOS/Linux): the one-liner, with a "Homebrew or from source" link. 2. **Join it to this account:** `~/.local/bin/illogicald join {url}` (the full path, so it works before PATH is fixed). Mention `--team` when they have teams (#100). 3. **Approve it here:** "It prints a link and a code; open the link here, or type the code below. Codes last 15 minutes." Plus one line: "A *machine* runs your terminals; a *device* (this browser, your phone) reaches them." Uses the shared copy component (#99).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/illogical#98
No description provided.