Back to blog
founders-diarypolishingbugfixUXstartup

Founder's Diary #9: Three Cuts

18 April 20266 min readKansei TeamCzechEnglish

April 18, 2026 — Saturday evening. Three quiet commits in a row. None of them sound like a feature. But a week spent in DevTools reminded me of one thing: in software there are two classes of bugs. The ones that crash with a message, and the ones that just quietly ruin the experience. The second kind hurts more.

A Button That Opened an Empty Dialog

The Gear section has a "Borrow Item" button. Click it, the dialog opens, pick a camera, type who's taking it and when they'll return it. Simple. But on a fresh account the button did something unintuitive: the dialog opened, the form filled in, and the "Save" button stayed greyed out.

Why? Because the dialog writes into a "Bookings" database — a special database paper that holds the list of borrowings. On a brand new account, that database simply doesn't exist. You had to go into Papers, create it manually, name it with the right keyword, and only then did everything click.

We'd had the equipment_bookings template ready for weeks. Seventeen columns defined — item name, SKU, borrower, return date, status, price, notes. We just never wired the "Borrow" button to that template. Two hours of work, three commits done: the first click now creates the database, applies the template, and opens the dialog. The user has no idea anything happened, and that's exactly the point.

That's the type of bug QA never finds. The first real user finds it — usually by closing the tab.

The Cell That Poisoned Whole Rows

Database views in kansei save cells incrementally — you type into one field and after 500 milliseconds it hits the server. Simple, fast, optimistic UI. The problem was that the client wasn't sending just the changed cell. It was sending the whole row.

Looks safe at first. The server finds the row, overwrites all values, done. But the server validates every value in the request body against a Zod schema. And that schema doesn't allow strings longer than fifty thousand characters.

Usually that's plenty. The problem shows up when a single cell holds an AI-generated image stored as a base64 data URL. A string like that is easily two or three hundred kilobytes. Valid on its own — validation doesn't save it. And because the client sends it back on every save, every further attempt to change anything in the row fails with a 400. Including the attempt to delete that image.

The cell that wouldn't delete had been holding itself hostage the whole time.

The fix fits in one line: don't send the whole row, send only the single cell that changed. The server already knows how to merge it with existing data. One line of code, three kilobytes of saved bandwidth per keystroke, and one fewer frustrated user trying to delete an image.

A Nonce Safari Reads Differently

The third cut is subtle but instructive. Content Security Policy is the rule you give the browser: "Only run scripts I trust." We grant that trust through a nonce — a random string generated on every request and attached to allowed scripts.

In the root layout it was correct. On one specific page — the landing page — there remained a little JSON-LD script that forgot to ask for its nonce. Most browsers tolerate this. Safari does not. Safari takes it dead seriously, logs an error to the console, and never looks back.

The fix: read the nonce from the headers, attach it to the script. One extended import, one attribute line. Five minutes of work. And yet that tiny script would otherwise have glowed red in the consoles of everyone opening our landing page on an iPhone for years.

What I Take From These Three Cuts

Not a sexy commit. Three small changes, nine lines of production code between them. No screenshot, no changelog, no "check out the new feature" tweet. But each one removes a specific kind of friction that would make a user close the tab.

And that's something I need to keep reminding myself as a founder: the product isn't in features. The product is in: when you click a button, something happens. When you delete an image, it deletes. When you open the landing page in Safari on an iPhone, there aren't five errors in the console.

A feature list gets attention. Three cuts get a customer.

Chat With My Mentor

Me: Three days on three bugs. I feel like I'm not moving.

Mentor: How many users would have hit those bugs?

Me: Every new account would have hit at least one. The image one, probably all of them.

Mentor: So in three days you fixed the product for everyone signing up next month. That's worse than a new feature?

Me: No.

Mentor: Then stop talking and pour yourself a whiskey.

What's Next

Next week is about writing. Stories about clients, a brief for agencies getting started with real-time review. But before that, one more cut — the return dialog loads half a second later than it could. I know why, and I know how to fix it. And I know nobody notices "half a second faster." They only notice that it never jitters. That's the whole point.

Related posts

Read enough? Try it on your next job.