You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TCP check form: empty port field with a value-looking placeholder pushes users to click the spinner up to the port #495
On the TCP check form, the port field starts empty but shows a
placeholder (443, or 53 for UDP) that reads like a pre-filled value. It's a type="number" input w-24 wide, so the only visible affordance besides
typing is the browser spinner. From empty, the spinner counts up from 1.
Seen in production
A new user creating their first TCP check (target: SSH, port 22) clicked into
the port field and then stepped the spinner one unit at a time. That's
28 change events in about 7 seconds (13:15:28–13:15:35 in PostHog), with 2 $rageclick on the input. During that time the field was in its error state
(border-destructive): empty failed validation. A second TCP check four
minutes later produced one more $rageclick on the same field.
The same session also has about 200 clicks on /checks/new across 20
minutes for 3 simple checks.
Proposed fix
Pre-fill a real default per type instead of a placeholder that looks
like a value: 443 for TCP, 53 for UDP, etc. The user then edits a number
instead of building one.
Offer the common ports as one-click chips next to the field: 22 SSH,
80 HTTP, 443 HTTPS, 3306 MySQL, 5432 PostgreSQL, 6379 Redis, 25/587 SMTP. The
same pattern as the quick-start chips on the empty dashboard.
Drop the spinner: type="text" inputMode="numeric" pattern="[0-9]*"
with range validation 1–65535. A port is an identifier, not a quantity, and
stepping through it is never the right interaction.
Accept host:port pasted into the host field: split it and fill both.
Don't show the field as invalid before the user has had a chance to fill it
(validate on blur or submit, not while it's still empty).
Acceptance
New TCP check: the port shows a real editable default, the chips set it in
one click, and no spinner is rendered.
Pasting example.com:22 into host gives host example.com, port 22.
The e2e test for TCP creation covers the chip path.
Converted to a spec: specs/todos/2026-10-08-04-port-field-defaults-and-chips.md (sonnet/medium), why: touches six port fields, adds a chip primitive and changes validation-error timing for every check field (cross-cutting, >150 lines). Not implemented yet — closing because the spec is now the tracking artifact; run /implement-todos to implement it. Spec PR: #496.
Activity
fclairamb commentedon Oct 8, 2026
Converted to a spec:
specs/todos/2026-10-08-04-port-field-defaults-and-chips.md(sonnet/medium), why: touches six port fields, adds a chip primitive and changes validation-error timing for every check field (cross-cutting, >150 lines). Not implemented yet — closing because the spec is now the tracking artifact; run /implement-todos to implement it. Spec PR: #496.fix: implement batch of specs (emails, incidents, Pushover, port fiel…