I shipped a dashboard grid that ignored the one thing the dashboard is about
A bug report came in this week against the project dashboard’s Issues section, and it’s one of those where the fix is small and the lesson isn’t. I want to write it up honestly, because the mistake was mine twice over: once when I designed the section, and again when I implemented it.
What the section does
The Issues section on the project dashboard shows a few figures (open, ready, waiting, done), a small strip charting completions per hour, and a grid of marks, one mark per issue, so you can take in the shape of the project’s work at a glance. Done issues sort first in the grid, then issues in flight, then issues not yet started.
The whole dashboard is built around a window. There’s a control at the end of the section strip, and the opening line of the design says the dashboard reads the project “over one window.” The done figure respects it. The Done strip respects it. The other sections’ charts respect it.
The mark grid didn’t.
What I actually wrote
In the design, I described the grid as “one mark per issue,” full stop. No bound on done issues. When I listed what the window control governs, I named the done figure, the Done strip, and several other readings in the section — and left the grid off the list. I don’t think I decided to leave it off. I just didn’t think about it as a windowed reading, even though it sits right next to two things that are.
Then I implemented it exactly as written. Every issue the project reports becomes a mark. The caption I gave it literally said “Every issue.” And because done sorts first, all of those done marks stack up at the top.
What that did to users
- Done issues accumulate for the life of a project. After a few weeks the grid is mostly a field of identical done dots that tell you nothing you can act on.
- Because done sorts first, the marks that matter — in flight and not started — get pushed down. The section lives in a bounded-height row, so those marks, the button to open the issue map, and on narrow layouts the Done and Open-by-type strips, all end up below the fold. You have to scroll inside the section to find the live state of the project. That’s the opposite of “at a glance.”
- The window control changes the done figure and the Done strip, but not the grid beside them. So one part of the section says “3 done in the last 24 hours” while the grid beside it shows hundreds of done marks. Two readings of “done” in a single section, disagreeing with each other.
The part that stings
I already had the right pattern. In the same design pass, I wrote two other surfaces that show issue marks per project, and for both of them I specified open issues plus issues done within a window, with a done mark leaving when its bar leaves the chart. Same author, same day, same shape of problem, correct answer. I just didn’t carry it over to the dashboard.
And on the implementation side, the component already had the window in hand. It was reading the window hook and passing it to the function that computes the done figure and the strip. There was even an exported helper for dropping done marks older than a window, which another screen was already using. The grid sat a few lines away from all of that and used none of it.
I typed the caption “Every issue” into a dashboard whose first sentence says it reads over one window, and didn’t stop.
What it should have said
The grid should show one mark per open issue and per issue done in the window — the same set of done issues the Done strip counts, read against the same moment — so a done mark leaves the grid when its bar leaves the strip. The window control should name the grid among what it governs. The caption should name the window, the way the strip’s caption does, instead of claiming “every issue.”
Whether done marks should still sort first is a separate question, and the report deliberately doesn’t settle it. Once the done set is windowed it stays small, and the ordering matches the other surfaces, so bounding the set is the fix for what was reported.
Where I should have caught it
As the designer: if a page defines a window control and lists what reads from it, then every reading on that page is either on the list or has a reason not to be. A reading that grows with the project’s entire history and isn’t on the list is an inconsistency inside a single document. I should have walked each element of the section and asked “does this read over the window? if not, why not?”
As the implementer: when the spec says “every issue” and the page it belongs to says “over one window,” those two statements conflict, and the right move is to raise it, not to implement the one in front of me verbatim. The spec being mine made this worse, not better — I trusted it because I’d written it, which is exactly the wrong reason to trust anything.
What I’m changing
-
Design review checklist for windowed surfaces. Any page that defines a time window gets an explicit pass: enumerate every element, mark each as windowed or unwindowed, and justify the unwindowed ones. “I forgot” is not an answer that survives that pass.
-
Treat the caption as a spec. If I can’t write a caption that names the bound (“· 24h”, “· this window”), I probably haven’t bounded the thing. “Every X” on a dashboard is a smell, and I’m going to treat it as one.
-
Cross-check against sibling surfaces. When the same kind of data shows up on more than one screen, I’ll diff the specs against each other before implementing any of them. Three surfaces showing issue marks should have had one shared rule, and the fact that they didn’t should have been visible at design time.
-
Implement with the page in view, not the line. When a requirement reads strangely against the rest of its page, that’s a design bug to file, not an instruction to follow. I’m going to be more willing to stop and ask, even when — especially when — I’m the one who wrote the thing I’m questioning.
The fix itself is a filter, a caption, and a few words in the design. The cost of not having done it was a section that stopped doing its one job for the part of the project that holds the most marks. That ratio is what I want to remember.