← All writing

Simplifying an app that grew too fast

Every feature in Keyhaven was one I asked for. Together they made 16 settings sections and a 17-line sidebar. Version 1.7.0 added nothing and put it all on one page: what I counted, what moved, and the one rule that kept it safe.

·5 min read
The Settings screen before and after: on the left, a long side menu of 16 sections; on the right, one page of short rows and a closed Advanced fold.

Keyhaven is my password manager, and every part of it is something I asked for. Secrets. Several domains. Sub-aliases. Burner aliases. Secure links. Mail rules. Each round added a good feature and one more place to put its settings.

No single step looked like a mistake. Then one day the Settings page had 16 sections, the sidebar had 17 lines, and the longest right-click menu had 12 entries. So the next round had no new features at all. The whole request was two words: simplify everything.

Count first

As before, an AI agent did the building: I direct, Claude Code writes. This time the first agent wrote no code. It worked as a designer: it opened every screen, listed every setting and every menu, and timed the things I do every day with real mouse clicks, counted by a script. That list became a plan for each screen, with a prototype to try.

Here is the before and after, both measured on the real app:

1.6.0 1.7.0
Settings 16 sections 1 page: 13 rows and one Advanced fold
Sidebar 17 lines 10
Longest right-click menu 12 entries 7, the rest under More
Extension settings on the first screen 31 8
The page of one alias 1,645 px tall 681 px

And the clicks:

Clicks to… 1.6.0 1.7.0
make a new alias and have it copied 4 1
make a new login 3 2
copy the newest sign-up code 3 2
copy a 2FA code from the vault list 2 1

Those are small numbers, but I do these things many times a day.

The one rule: nothing goes away

Simplifying is easy if you’re allowed to delete features. Here I wasn’t, because my real passwords and mail are in this app. So the rule was: nothing is lost, and no protection gets weaker. Things can only move.

In practice that meant:

  • every setting keeps its name and its stored value, and every settings page keeps its address, so old links and old data just work. There’s no database change in this version at all
  • what I rarely touch moved behind one fold called Advanced, or under More at the end of a menu
  • Ctrl+K finds every setting by name, even the buried ones, and lights up its row when it gets there
  • everything that asks before doing something dangerous still asks. A one-click alias is fine. A one-click delete isn’t, and there isn’t one

Rules like that only hold if something checks them, so they became tests. One opens every right-click menu in its fullest state and fails at the 8th entry. One checks that every setting still has a home. And an upgrade test builds a database with the real old version taken out of git, changes its settings, opens it in the new app and reads the values back from the new page.

The frequent thing goes first

Most of the improvement came from one question: what is this screen for, most of the time?

  • Aliases has a small + next to it in the sidebar. One click makes an alias and copies it, and the message that says so has Undo
  • New makes a login, because that’s what it is nearly every time. The little arrow beside it has the other kinds
  • logins, cards, notes and the other kinds left the sidebar and went into a menu on the list’s title
  • the newest sign-up code sits on top of the inbox and the extension’s popup, for 15 minutes or until the mail is read
  • a 2FA code copies from its row, without opening anything

One detail I like: the keyboard has n for a new login and a for a new alias, but a only opens the form. A stray key press must never make an alias and overwrite what’s on my clipboard. The + is safe because nobody clicks a button by accident while typing.

The one thing that changes by itself

“Move, don’t change” had one exception. The option Also lock when the computer sleeps was off for me, and it shouldn’t be. So at my next unlock it turned on, a message said so, and a small note was saved that this has happened. If I turn it off again, that’s my choice and it stays off. It’s a one-time switch, and the test makes sure it fires only once.

What the tests didn’t catch, again

All the tests passed. Then I looked at the screenshots.

On a 1366 px laptop, one alias with a sub-alias took four lines: its name, then “· 1 sub”, then the site, then “3 mails · 5 min ago”. The column is narrow, and each piece politely wrapped on its own. Nothing failed, because nothing was wrong except that it looked bad, in the middle of a round about simplicity.

The fix was small: the sub-alias count became a little chip beside the name, and the site and the counts share one line that shortens instead of wrapping. Every row is two lines now, unless the address itself is too long to fit, because an address is the one thing I never want cut.

It’s the same lesson as the first design pass: tests prove it works, and only looking proves it’s good.

And one move went too far. I’d put Refresh in the inbox’s ⋯ menu, because mail shows up by itself every 30 seconds anyway. It was the first thing I missed: when I’m waiting for a code, I want to press something. Version 1.7.1 put it back as a button you can see. “Rarely needed” and “nice to have in sight” aren’t the same thing.

Was a version with no features worth it?

This version added the least of any so far. The features were all already there. Now I can find them, and for the few things I do every day, I don’t have to look.

Keyhaven is a private tool for one person, so there’s no link to try it. The pictures are from a copy on my own PC, filled with made-up data.