Repository navigation
fix(companies): a refused company handle says why, beside the field - #553
Conversation
The handle input's HTML pattern let the browser block Create company with a generic bubble, so a capitalized handle looked like a broken button. Server refusals landed in a note above Company name, away from the field at fault. The form is now novalidate and Patchy names every refusal in a callout under the field at fault, with a fix where one exists. The handle shows the address it opens as a fixed prefix, and its hint turns red while the value breaks the rule, in CSS only. The shell gains field-group, field-prefix, field-rule and field-callout. Closes #552 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… host wrap A refused handle offered its lowercase form even when another company held it, so following the suggestion hit "taken". Companies gains isHandleTaken and the suggestion is checked first. A long instance host could squeeze the handle input to nothing; the prefix now wraps and the input keeps 8ch. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Codex review (GPT 6.1 Sol)Round 1 verdict: one merge blocker, one minor. Both are fixed in b4c7f26.
Sol also confirmed: refusal titles are true for every handle |
Codex review (GPT 6.1 Sol), round 2Verdict: safe to merge. Both round 1 findings are fixed in b4c7f26 and the fix introduces nothing new. |
…ease (#556) What's new for this deploy, plus the history since the first production deploy. The thin entries #555 seeded by hand are rewritten from what each deploy actually shipped. This is the first run of `AGENTS.md` › Deploying: a fresh subagent gathered and wrote these releases, and I checked them against the PRs. **Release 4 (this deploy, `4a928f7..8697463`)** - New: **See what's new in Patchy** (#555) **Release 3 (2026-10-06, `aed1454..4a928f7`)** - Fixed: **Creating a company explains a handle it can't use** (#553) **Release 2 (2026-10-05, `48153dc..aed1454`)** - Behind the scenes: key moments are recorded, identifying people by id, never by name or email address (#538, #539, #541) - Behind the scenes: the patchy command reports its version, command and coding agent (#540) **Release 1 (2026-10-05, first production deploy, `48153dc`)** - Behind the scenes: Patchy Cloud's first release went live Made by Claude Opus 5.5 via Claude Code in T3 Code. Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
A new user typed a capitalized company handle, clicked Create company, and nothing happened. The handle input's HTML
patternlet the browser block the submit with a generic "Match the requested format" bubble, which Safari hides after a moment, so the request never reached Patchy. Server refusals (taken, reserved) landed in a note above Company name, away from the field at fault.Now Patchy names every refusal beside the field, and the handle shows the address it becomes:
cloud.patchyhq.com/), so the lowercase rule explains itself. Only the handle is editable; the prefix is a second label, so clicking it focuses the input.:invalid), so the page stays a plain form with no script.novalidate. A refused create replaces the hint with a callout under the field at fault, naming the broken rule and, when that handle is free, the fix ("Handles are lowercase. Try acme."), witharia-invalid,aria-describedbyandautofocuson the field. Taken, reserved, case, characters, length and end hyphens each get their own message. The company name gets the same callout, since a blank name no longer stops at the browser.Handles stay lowercase-only; capitals are refused visibly rather than converted.
The shell gains
field-group/field-prefix,field-ruleandfield-callout, recorded in theui-consistencyspec. A long instance host wraps inside the field instead of squeezing the input.CompaniesgainsisHandleTaken, so a suggestion is never a handle another company holds;createstill settles a race through its unique insert. The join test now asserts each refusal's callout, its ARIA wiring and that the entered handle is kept (the old test's title claimed that without checking it).Hit every surface:
Out of scope: the connection-handle field on Connections has the same native-bubble problem.
Closes #552
Made by Claude Opus 5.5 via Claude Code in T3 Code.