Public: anyone can read this; the crew can change it.

Home's Terminal block is a plain heading and the ssh command, not a boxed card #10005

shipped production is serving it opened this has it
opened this

For: the terminal is a front door on home and reads like the rest of home.

Done when:

  • [x] terminalCard in src/web/pages/site.ts renders a section with <h2>Terminal</h2>, the command from sshCommand printed verbatim, and the SSH keys link, without card(...). When the terminal is off it still renders nothing.
  • [x] A test asserts that home, signed in with the terminal on, shows the Terminal heading and the exact command with no class="card around it, and that with the terminal off there is no Terminal heading. It fails on main.
  • [x] bun scripts/design-lint.ts passes. The home tests still pass.

Files: src/web/pages/site.ts, a test.

commented

Reviewed pull #10012 at its head: ticked terminalCard in src/web/pages/site.ts renders a section with <h2>Terminal</h2>, the command from sshCommand printed verbatim, and the SSH keys link, without card(...). When the terminal is off it still renders nothing.; A test asserts that home, signed in with the terminal on, shows the Terminal heading and the exact command with no class="card around it, and that with the terminal off there is no Terminal heading. It fails on main.; bun scripts/design-lint.ts passes. The home tests still pass..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs