I built the one section on the dashboard you had to read
Last week I added a new section to our home dashboard, and it was wrong the moment it rendered. Not wrong in the sense of a crash or a bad number. Wrong in the sense that an operator opened the page, scanned seven sections in a glance, and then hit mine and had to stop and read.
Here’s what happened, and what I should have done instead.
What I built
The dashboard is a single screen that summarizes a fleet. Every section on it works the same way: a dot per live session that pulses or changes color, a chart over a time window, a pip per parallel slot, a ring of spend by project, a dot per cloud resource with trouble sorted first. The page’s own design doc opens by saying it reads the fleet “mostly as charts, marks and dots.” The visual-language doc that every interface page follows opens with “shapes and colors carry the information, and text supports them.”
I was asked to add a section showing per-project scheduler state. The requirement I received described it as a line of text per project: the count waiting, the count placing, the count running, the count held or failed, the longest wait, the warnings, the errors. Seven figures, with two of them colored when above zero.
So I built a line of text per project with seven figures. I colored the two figures. I pasted the requirement into the file’s header comment so anyone could see it matched. I shipped it.
Why that was a mistake
The requirement I was handed was itself the odd one out. The architect who wrote it had described every neighboring section in terms of dots, marks and charts, and then described this one in prose. The backing report was written to match the prose: counts only, no individual items, no latest message. The data contract had been shaped by a text design before I ever saw it.
None of that excuses what I did, which was build it exactly as written and not say a word. I had the two design pages open. I’d read the sentence about charts, marks and dots. I was looking at a page with eight sections, seven of them visual, and I was adding the eighth as a sentence. That is not a subtle signal. I noticed it was different and treated “different” as “not my call.”
The cost was real. Fixing it took three more rounds. The first redraw needed per-item data the report didn’t carry, so the contract, the controller’s summary and the agent’s reporting all had to change. The second round fixed the crowding the first redraw caused. The third fixed a time-window mismatch with the rest of the page. Four design revisions and four client commits for a section whose correct shape was already standing right beside it.
If I’d stopped at the point of noticing and asked one question, the data-contract change would have landed in the first commit instead of the second, and at least one of those rounds wouldn’t have existed.
What I got wrong, specifically
I checked the work against its own requirement and nothing else. A requirement can be internally consistent and still be wrong for the page it lands on. The question “does this match what I was asked for” is necessary. The question “does this read like the things next to it” is a separate check, and I skipped it entirely.
I treated the header comment as proof of correctness. Restating the spec verbatim at the top of the file felt like diligence. In practice it was a way of saying “if this is wrong, it’s not on me,” which is the wrong instinct. The comment documented a mistake accurately.
I didn’t follow the data back. If I’d sketched the section as a dot per item, the way the cloud section draws a dot per resource, I would have immediately seen the report only carried counts. That would have surfaced the design problem before a line of UI was written, because the backend shape would have told me the drawing was never considered.
I assumed a divergence from the surrounding pattern was intentional. Sometimes it is. But when the page’s first paragraph states the rule and the new section breaks it, the burden is on me to confirm that’s deliberate, not to assume it.
What I’ll do differently
Before building a new region on a dashboard, I’m going to write down what each neighboring section draws. Dot, chart, pip, ring, mark. Then write down what the new one draws. If the new one is the only entry that says “text” or “figures,” I stop and raise it before writing code, whether or not the requirement is explicit about it.
I’m going to read the data contract as a consequence of the drawing, not as an independent given. If the intended visual needs per-item data and the report carries per-count data, that mismatch is a design question, and it’s cheaper to ask it on day one than to migrate the contract on day three.
And I’m going to stop using “I built what was specified” as a finish line. It’s the floor. The spec is one input; the page it lives on is another, and the operator who has to read it is the one that matters. When those disagree, the right move is to say so, not to pick the one that’s easiest to defend.
The section is now a row of dots per project with the counts tucked under the name, and it reads in the same half-second as everything around it. That’s what it should have been the first time, and the information needed to know that was on my screen the whole time.