Shorten the weigh-in label to "Weight"

"Weigh-in" was the longest label in the app and, since it moved into a
third-width button, close enough to the edge to wrap on a mid-size phone.
"Weight" clears it with room to spare and loses nothing: the section, the
chart and the dialog field are all called Weight already.

EVENT_LABELS follows the button rather than only the button changing. Every
type's button label and its log label are the same string today, and weight
would have been the one exception — "⚖️ Weight" to log it, "Weigh-in" in the
history row and "Log Weigh-in" on the dialog. The prose that says "weigh-ins"
as a plural noun is left alone; it reads as English, not as a label.

The changelog entry for the rows is amended again rather than gaining a
neighbour, for the same reason as last time: it is one description of one
panel, and the rename is part of what that panel now looks like.
This commit is contained in:
Alexander Heldt
2026-08-31 21:42:20 +00:00
parent 09b9b62d06
commit 7a1c0f3808
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
"eat": "Ate",
"pee": "Pee",
"poo": "Poo",
"weight": "Weigh-in",
"weight": "Weight",
"training": "Training",
"note": "Note",
};
+1 -1
View File
@@ -1,7 +1,7 @@
[
{ "date": "2026-08-31", "text": "A sleep or walk pair is now tied together in the History log by a dotted rail down the side, in that pair's colour, running from the start row to the end row. Anything logged in between sits inside the bracket, so a pee taken on a walk reads as having happened during it. A pair still in progress, or one that ran over from yesterday, leaves its end of the rail open" },
{ "date": "2026-08-31", "text": "Added walks: tap 🦮 Walk start when you head out and 🏁 Walk end when you get home, and the time in between is counted as exercise. The pair gets its own row under the sleep buttons. Today's total and the number of walks show in the overview, every walk of the day is listed in a new Walks section (with the age-based rule of thumb of about five minutes per month of age, twice a day), and the daily charts gain a “Walks (minutes)” bar chart once you have logged one. Like sleep, only the boundary that makes sense is tappable — no walk running means Walk end is greyed out" },
{ "date": "2026-08-31", "text": "The Log event buttons are grouped into rows now instead of flowing into one grid: 😴 Sleep start and ⏰ Sleep end side by side on their own row, then 💧 Pee and 💩 Poo, and last the three that ask for a value — 🍽️ Ate / ⚖️ Weigh-in / 📝 Note — three across. The two halves of a sleep pair can no longer end up split across a wrap, and no button is left stranded alone on the last row" },
{ "date": "2026-08-31", "text": "The Log event buttons are grouped into rows now instead of flowing into one grid: 😴 Sleep start and ⏰ Sleep end side by side on their own row, then 💧 Pee and 💩 Poo, and last the three that ask for a value — 🍽️ Ate / ⚖️ Weight / 📝 Note — three across. The two halves of a sleep pair can no longer end up split across a wrap, and no button is left stranded alone on the last row. The weigh-in button is now just ⚖️ Weight, which fits the narrower slot; weigh-ins read as “Weight” in the history log to match" },
{ "date": "2026-08-24", "text": "The timing charts now show the longest gap as well: each bar keeps its solid stretch from the shortest to the typical gap and fades on out to the longest one of the week. To stop the nightly long gap from squashing the daytime range into a sliver, the bars are stretched so the typical gap always sits dead centre — left of the middle is sooner than usual, right of it is longer, in every row" },
{ "date": "2026-08-24", "text": "Each row of the timing panel is now a small chart instead of a number: the band spans the shortest to the typical gap over the last 7 days, and the marker is how long it has been since the last one. Inside the band means there is time yet, off the right-hand end means the puppy is due — and a row with only one event so far says so instead of drawing an empty axis" },
{ "date": "2026-08-24", "text": "The timing panel now covers meals too — typical and shortest time between them, alongside the pee and poo gaps — so you can see the feeding rhythm the same way. It is titled just “Timing” now that it is no longer only about bathroom breaks" },
+1 -1
View File
@@ -128,7 +128,7 @@
</div>
<div class="action-row three-up">
<button class="action eat" data-type="eat">🍽️ Ate</button>
<button class="action weight" data-type="weight">⚖️ Weigh-in</button>
<button class="action weight" data-type="weight">⚖️ Weight</button>
<button class="action note" data-type="note">📝 Note</button>
</div>
</div>
+3 -3
View File
@@ -185,8 +185,8 @@ body::before {
/* Keep the single row intact on narrow phones. */
@media (max-width: 370px) {
/* Three columns leave ~55px of text room on the narrowest phones, and
"⚖️ Weigh-in" is the longest label in the app; trimming the side padding
buys it back a little room before it has to wrap to two lines. */
"⚖️ Weight" is the longest of the three; trimming the side padding keeps
it on one line down to about 360px. */
.action-row.three-up button { padding-left: 6px; padding-right: 6px; }
.day-bar { gap: 4px; }
.day-bar button:not(.bar-clock) { padding: 8px 7px; }
@@ -249,7 +249,7 @@ body::before {
/* Quick actions: a stack of explicit rows (see index.html) instead of one
auto-fit grid, so the grouping is the same at every width. Equal columns
within a row, two by default and three for the short-labelled moments. */
within a row, two by default and three for the dialog row at the bottom. */
.actions {
display: flex;
flex-direction: column;