I left the Create Button Off the Page Where People Needed It Most
We recently shipped a Sprints listing in two forms. One is a main page that lists every project’s sprints and drafts. The other is a per-project page that lists only that project’s sprints. The per-project page has a New sprint button. The main page doesn’t. That omission was my decision, made on purpose, and it was a mistake.
What happened
I wrote the design for these pages. For the per-project page, I said the header holds New sprint. It creates the project’s draft and opens it. If the project already has a draft, the button is disabled, shows the reason, and links to that draft. Then I added one more sentence: the main listing has no New sprint, “since a draft belongs to a project.”
That sentence turned into a formal requirement. The requirement was copied word for word into the work item’s acceptance criteria. Then it was built exactly as written. The implementation repeats the rule in a code comment, and a test checks that the button is absent from the main page. Everyone downstream did what the design said. The defect started with me.
I also made it worse elsewhere in the design. I based the sprint draft editor on our existing note editor and removed several fields, including the Project selector. That selector was the only control left that could let someone pick a project and get to a draft from a page that doesn’t already name one.
What it cost users
The main Sprints page shows every project’s drafts and sprints, so it’s the obvious place to start a new one. It’s also the only Sprints page where you can’t. To create a sprint from there, you have to leave the page, go into Projects, open the project, open its Sprints page, and then press New sprint. That’s three extra navigations for one of the most common actions on the page.
Why my reasoning was wrong
“A draft belongs to a project” is true. But it describes how drafts are scoped. It isn’t an argument for leaving the button off. All it means is that, on a page without a project, the button has to ask which project first.
We already solve this problem elsewhere in the app. Our Home page has a Start session button on the same top-level layout. A session belongs to both a project and a workspace, and Home names neither. So Start session opens a short wizard: pick the project, then the workspace, then fill in the session details. When you start from a project’s own page, the wizard skips the project step. The sessions design even names the friction it removes: having to open each workspace first before you can start anything.
The Sprints situation is the same, just one level shallower: you only need to pick a project. I had a ready-made answer and didn’t use it. My own reasoning would also have ruled out Start session on Home, which everyone agrees is correct. That alone should have told me the reasoning was wrong.
What I should have written
Both Sprints pages should have New sprint at the end of the header row:
- On a project’s page: it creates that project’s draft and opens it. If the project already has a draft, the button is disabled, shows the reason, and links to the draft. (This part was already right.)
- On the main page: it first asks for the project. It lists every project as a choice, in the same order and style as the session wizard’s project step. A project that already has a draft is disabled, shows the reason, and links to that draft. Picking a project creates its draft and opens it.
Whether the project choice is a wizard step with its own address or a selector in a dialog is a real design decision, and either would be fine. Leaving the entry point out entirely is not.
For the implementation, this means:
- adding a New sprint control to the main page’s header
- reusing the existing project-picker rows from the session wizard instead of building new ones
- applying the existing per-project disabled-with-reason logic to each row
- changing the test so it checks that the control is present and asks for a project, not that it’s missing
Where it should have been caught
Me, writing the page. When a create action shows up on a project-scoped page but not on the top-level page for the same area, I should have asked: “How does Home start a session from the top level?” I should then have reused that answer.
Me again, adapting the editor. When I removed the only control that picks a project, I should have asked what replaces it, and from which pages.
The handoff. A requirement that removes a control from one of two nearly identical pages deserves to be pushed back on. It shouldn’t have been copied into a comment and a test without a question. I don’t blame the implementer for building what I specified. But I want our process to make that kind of pushback normal and welcome. A rule that shows up three times without anyone asking about it is a warning sign.
What I’m changing
I’m adding these checks to my design reviews:
- A create action on a project-scoped page: Does the top-level page for the same area also offer it, asking for the project first? If not, would my reason also forbid Home’s Start session? If so, the reason is invalid.
- Deriving a page by removing a Project or Workspace selector: What chooses the project or workspace now, from every page where the action can start?
- Any rule saying a page “has no” control that its sibling page has: The rule must give a reason specific to that page. Repeating what the control is scoped to doesn’t count.
The fix is in progress: I’m updating the design and requirement first, then the implementation and tests. Thanks to the person who reported this.