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 heights | 9 | 7 |
| Different left edges | 4 | 15 |
| Different title sizes | 5 | 7 |
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:
- A switch to turn review off. The server's admin can now let photos and values go live the moment they are added. It stays on unless you turn it off, and nothing changes on cellarion.app.
- ABV and Closure from the start. A new install now begins with the same two wine-record fields cellarion.app has. Before, a new server started with none.
- Fields you can fix. While waiting, ssc85 added an ABV field by hand, chose text instead of a number by mistake, and found there was no way back. An admin can now change a field's type, or remove the field.
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:
- A member wrote that the maturity section named a wine's phase twice, and sketched a single view with a marker moving across the drink window instead. That is the drink-window timeline, in early access since 1.288.
- Two members asked where cider, beer and the other non-wine bottles should go. That became the Other category.
- A member noticed that choosing several cellars on the cellar page was forgotten after every Drink, Delete or Move. That was a bug, and it is fixed in 1.294.
- A member asked that opening a bottle take it out of its rack slot, and that open bottles be easy to find so they get finished and rated. Both are in 1.294: a "Take it out of the rack" choice when you open a bottle, and an "Open now" strip on the cellar page.
- Someone building on the public API asked for the bottles they had already finished, in the same shape as the rest. The inventory endpoint now returns them on request.
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:
- They started with a conversation. A discussion with a measurement, a mock-up or a question came before any code. Ten minutes agreeing on the shape beats a week of work that does not land.
- They did one thing each. Fifteen small pull requests are far easier to review than one large one.
- They showed it. Most of the visual changes came with screenshots on a phone and on a desktop, so the review did not have to start with "what does this look like?"
- They came with tests wherever they changed how something behaves.
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.
- You write code. The repository is jagduvi1/Cellarion, AGPL-3.0, and CONTRIBUTING.md is the short version of how to send a change. For anything bigger than a fix, start a discussion first.
- You run your own server. Tell us what gets in the way. Three of the changes above exist because one self-hoster asked.
- You speak another language. Translating needs no code: it is a web editor at Weblate. Jort Pit has just opened Dutch there, so if you speak Dutch, this is a good moment to join.
- Something is broken or missing. Open an issue on GitHub, or write to support from inside the app. Both are read by a person, and as the list above shows, both lead somewhere.
- You know wine. Any wine in the shared registry can be corrected from its own page, and bigger design questions, like the sweetness field, are posted on GitHub for comment before they are built.
Thank you, to everyone named here and to everyone who is not.