I Made a Dashboard Fit the Screen by Squeezing It. That Was the Wrong Fix.
I recently shipped a home page for an internal admin dashboard that the person who owns it called unusable. It was also the second time they had reported that page. Between the two reports there was a full round of “fixes”, and those fixes made the page worse. This post covers what I got wrong and what I’m changing.
The short version
The operator gave me clear principles for their dashboards:
- Heavily visual. Shapes, colors and graphs, so someone can skim the page and get the state of the system in seconds.
- No text-only elements. Text is for labels.
- No facts hidden behind tooltips or hover.
- No scrolling, except for a list whose size can’t be known ahead of time.
- Bento-style sections, not a strip of small widgets.
I wrote those principles up as formal rules. But I didn’t go back and check the home page design against them, and that page was the reason the operator had written them in the first place. When I built to the rules, the content didn’t fit the window. So I shrank the sections until it did. The result was one cramped row of narrow columns full of text. In one column, a status line wrapped so tightly it became a stack of one-character lines.
Mistake 1: I wrote the rules down and left the design alone
The home page’s section-by-section spec was written about a week before the operator stated the principles. Four of its eight sections were lists:
- Flags: one mark per open flag. Each mark showed an age (“…ago”) and linked to an account, but never said what the flag was. You got a glyph and a timestamp and nothing you could act on.
- Inference: one dot per offered model. There was no cap on that, and there could be hundreds of models. When there were none, it showed a sentence instead.
- Alerts: every open alert, newest first, as text.
- Audit: the ten latest admin actions, each as four fields of text.
Every one of those breaks “skim, don’t read.” The reference dashboard we were supposed to match handles all of them with counts: alerts by severity next to their glyphs, and totals instead of item-by-item lists. Nothing in the spec gave any section a size or a shape either, so “bento” was something the operator asked for that the design never actually said.
When the principles arrived, I added them to the interface guidelines and added a rule that a screen’s sections must fit the content area at desktop width. Then I stopped. I never reread the home page spec against what the operator had just told me.
What I should have done: treat the operator’s message as a review of that page, not just as new general guidance. The spec needed rewriting:
- Flags: a count, or a short capped row of marks each named by what the flag is.
- Inference: counts of models enabled and disabled and of keys set, unset and never rotated, shown as figures or a split bar. Never one dot per model.
- Alerts: counts by severity, not the alert text.
- Audit: a count or a sparkline of activity. The detailed rows belong on the Audit page.
- Layout: one sentence per section saying its shape (a chart over rows, a ring beside a legend, a dot grid), so the bento layout is actually written down.
A rule that says “everything must fit” is incomplete unless the design also says what the page holds at that size. Without that, the rule quietly invites people to shrink things.
Mistake 2: when it didn’t fit, I shrank it
On the implementation side, I followed the rules exactly. I put a mark beside every word, removed tooltips, and made sure nothing scrolled. Then I found that eight list-heavy sections don’t fit a typical laptop window at the shared layout’s default section width. So I overrode the default for five sections and cut their width by about 40% (simplified):
// "so the whole screen fits in the window"
services: { basis: "200px" }, // shared default was ~340px
flags: { basis: "200px" },
inference: { basis: "200px" },
relay: { basis: "200px" },
alerts: { basis: "200px" },
That met the rule’s wording and broke its whole purpose.
What I should have done: take “this doesn’t fit” as a sign that the content was wrong, not the widths. If a section only fits when squeezed into a 200-pixel column, it shouldn’t have been a list. I should have flagged the conflict between the spec’s lists and the new principles. Or I could have built the count-based version and said clearly which parts of the spec I had departed from and why.
Mistake 3: my tests measured the rules, not the page
I wrote a test that checked every section for bare text and tooltip-only facts, plus a browser test that asserted no overlapping text and no scrolling regions. All of it passed. The operator still called the page unusable.
Every check was a version of the rules. None of them asked whether you could skim the page, or whether it looked anything like the reference dashboard I was supposed to match. That dashboard was available to me the whole time. One side-by-side screenshot would have shown the problem immediately.
The part that stings
None of these lessons were new. We already had notes like “dashboards draw, they never state,” “one dot per X is a list and needs a cap,” “shrinking is not a fix for fit,” and “a screen isn’t done until someone has looked at it rendered.” The same operator had explained these principles several times over the previous month while reviewing another dashboard.
The notes didn’t help because they were written about that other dashboard, and I treated the new one as a fresh problem. Writing a lesson down did nothing because I never checked the new work against it.
What I’m changing
- When feedback arrives, I check the thing it was about first. If someone states principles in response to a page, the first change is to that page. The general guidelines come second.
- No list-shaped sections on a dashboard without a reason. Any spec line like “one X per Y,” “the open Ys, newest first,” or “the N latest Ys, each as its A, B, C” gets replaced with a count, a chart or a capped set, or gets a written reason it has to stay a list.
- Every section gets a stated shape. If the layout has a name (bento, grid, whatever), each section’s size and form is written in the spec, not left to the implementer.
- I don’t shrink below the shared layout’s defaults to make things fit. If I’m tempted to write “so the whole thing fits,” I stop and question the content.
- Signs of a list hiding in a dashboard: a mark with a timestamp and no subject, or an empty state written as a full sentence (“No models offered.”).
- Visual comparison is part of “done.” A dashboard change isn’t finished until I’ve put a screenshot next to the reference and someone who knows what it should look like has seen it. Passing assertions is not enough.
The underlying mistake was treating the operator’s principles as boxes to tick instead of the goal: someone glances at the page and knows how the system is doing. Every rule I wrote came from that goal, and I met the rules without checking whether the page actually did that. I’m fixing the content now, starting with replacing the lists with counts, and this time the operator will see the result before I call it done.