Most of What We Shipped Lately Started With You

By jagduvi

Tags: community, open-source

Two weeks, mostly yours

Between 24 October and 4 November, Cellarion went from version 1.280 to 1.294. When we went back through those releases, something stood out: a large share of what changed did not start with us.

Counting only what is public on GitHub, that is seventeen pull requests from two people outside the project, a new translation, a handful of discussions that changed what we built, and a TrueNAS app. Then there are the support tickets. They are private and show up in no statistic, but they shaped as much as the rest.

We want to say thank you properly, so this post goes through it. The names below are the ones people use on GitHub, where their work is already public. Support tickets are private, so the people behind them are not named here. If you wrote one, you will probably recognise it.

Fifteen pull requests in eight days

vetlerb arrived as a translator. Norwegian Bokmål went live as a beta language in 1.280, translated phrase by phrase in Weblate. Translating a whole app means reading every sentence of it, and a few things turned up that no translator can fix from Weblate, because they live in the code: the vintage words NV and Unknown written in English whatever the language, a count with no plural form, bottle volumes always written with an English decimal point.

Instead of working around them, vetlerb wrote them up in a discussion (#1690), asked how we wanted each one solved, and then sent one pull request per point. Checking that list turned up something worse: the account-deletion box asked German speakers to type LÖSCHEN, and then refused to accept it. We fixed that one ourselves, but nobody would have found it without the question.

Then came the layout. Anyone who moves between Cellarion's main pages has seen the title jump: a little higher here, a little further in there, a slightly different size. We had noticed it too. vetlerb measured it (#1755), laying out every page's heading with the app's own CSS and recording where it landed:

Phone (390 px)Desktop (1440 px)
Different heights97
Different left edges415
Different title sizes57

Our reply was honest: "I've noticed this myself when I'm in the app, but never found the energy to tackle it, so this is very welcome." Two pull requests later, every top-level page puts its title at the same height and size, and the pages use three widths instead of nine. That is in 1.294.

The rest followed the same pattern. A discussion with a mock-up of four ways to separate producer and vintage (#1739) became a middle dot everywhere in 1.290. A careful reading of the rules for a wine's name, appellation and classification (#1696) found real gaps, which we fixed, and has since been written up as a documentation page that we are reading through now. And a string of smaller things: drink-window alerts that open the vintage page instead of a search, a ⋮ menu that lines up, no "Add a photo" button under a photo that is already there.

Fifteen pull requests between 28 October and 4 November. All fifteen merged.

An issue that arrived with its fix

neontapir opened an issue (#1708) about something anyone with more than one cellar knows: to find a wine, you open each cellar and search it on its own. The issue described the problem, the design and the cost. A page listing every bottle already existed and the API already took a search term, so about a hundred lines of frontend would do it. It ended with: "I have a small frontend-only change for this ready."

That became the Search link in the header, and in the bottom bar on phones: one search across every cellar, including the bottles you have already drunk. It shipped in 1.291.

We then wrote a follow-up issue ourselves (#1710). People rarely go looking for a global search. They search the cellar they are in, find nothing, and only then want to look wider. neontapir picked that up as well (#1770), so an empty search inside a cellar now offers to search all of them, and on a desktop the / key jumps to the search box. That shipped in 1.293.

One question, three changes

ssc85 runs Cellarion on a private server for a household of two, and asked a simple thing in a discussion (#1778). Every photo they took went into a review queue and waited for approval. On cellarion.app that queue matters, because the wine registry is shared by everyone and a curator looks at each photo first. On a private server it only gets in the way. And, while we were at it: where does the alcohol percentage go?

Both questions were fair, and both answers became code:

The question was asked on 1 November. All three are in 1.294.

Asking before building

Not every contribution is code. Before adding a field for the sweetness printed on a label (trocken, halbtrocken, Brut Nature, amabile), we posted the design for comment (#1754) without writing any of it, because it touches the wine record, duplicate matching and the public API. Those are the parts that are hard to change later.

d3rb3rt answered from a cellar with a lot of German Riesling and some Champagne and Sekt, and the design changed because of it. The clearest example is that the same word means different things on different wines. On a still wine, trocken means dry. On a German Sekt it means sec, 17 to 32 grams of sugar per litre, which is noticeably sweeter. So every term now records which kind of wine it belongs to, and the picker will only offer the terms that fit. On whether the word should leave the wine's name, d3rb3rt's rule is the one we are building: if the data has a place for it, split it.

The foundation of that field is in 1.294. The part you will see and use comes next.

Running it on your own hardware

linuxsquad asked whether Cellarion could be in the TrueNAS app catalog (#1563). Some of what stood in the way was ours to fix, and that went out in 1.275. Meanwhile linuxsquad got it running on their own TrueNAS server anyway, and sent us the configuration with notes on what had needed changing. That became the base for a catalog app, which is now waiting for review at TrueNAS (truenas/apps#6251).

And the ones we cannot name

Support tickets are private, so there are no names in this part. A lot of the last two weeks came from them anyway:

If one of those was yours: thank you. Writing a clear ticket is the part of contributing nobody sees, and it matters as much as the rest.

Why we love pull requests

A pull request is a particular kind of gift. Someone read code they had no reason to read, worked out why it was the way it was, and changed it, often in a way we would not have thought of. Then they handed the result to everyone.

The ones from the last two weeks had a few things in common, and they are worth naming because they made every review quick:

On our side: every pull request gets a real review. Your name stays on your commit in the project's history. And we do not assign issues: the first good pull request is the one that gets merged, so you never need anyone's permission to start.

If you want to join in

There is still no wrong door.

Thank you, to everyone named here and to everyone who is not.