Operator-facing failure text is written in Go beside the UI's copy layer #2052

Open
opened 2026-11-18 23:10:24 +00:00 by sam · 0 comments
Owner

ui/src/copy/errors is 351 lines of failure copy across 19 files for the board, the run page and its panels. The API answers with its own literals: 251 http.Error(w, "...") sites in internal/webui, the setup checklist titles and details (internal/webui/api_setup.go), and 25 config-key reasons (internal/infrastructure/configuration/denied_keys.go, where 20 are the same string).

Two catalogues for one class of text, so the same failure reads differently depending on which layer caught it, and nothing ties a Go message to the screen that shows it.

Done when: the copy an operator sees for a failure lives in one place, and the API returns a code or key the UI renders.

ui/src/copy/errors is 351 lines of failure copy across 19 files for the board, the run page and its panels. The API answers with its own literals: 251 `http.Error(w, "...")` sites in internal/webui, the setup checklist titles and details (internal/webui/api_setup.go), and 25 config-key reasons (internal/infrastructure/configuration/denied_keys.go, where 20 are the same string). Two catalogues for one class of text, so the same failure reads differently depending on which layer caught it, and nothing ties a Go message to the screen that shows it. Done when: the copy an operator sees for a failure lives in one place, and the API returns a code or key the UI renders.
sam added the choremedium labels 2026-11-18 23:10:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2052