From 81045399324276824de9433c1003f36a8a6dc302 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 25 Aug 2026 20:54:14 +0200 Subject: [PATCH] =?UTF-8?q?css:=20drop=20the=20minifier=20claim=20from=20t?= =?UTF-8?q?he=20tab-bar=20fix=20=E2=80=94=20it=20is=20not=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tab-bar commit gave two causes for the see-through bar. The first is real and is what users reported: 72% opacity. The second was invented — that the CSS minifier collapses a backdrop-filter / -webkit-backdrop-filter pair down to whichever is written last, so the standard property never shipped and Firefox got alpha without blur. It does not. This project builds CSS with esbuild's minifier, which treats the two as what they are, different property names, and keeps both in either order: main's stylesheet minifies to five unprefixed and five prefixed, and so does this branch's. Nothing was ever dropped, and there was no Firefox-only bug. So the claim comes out of the code comment, out of the CHANGELOG, and out of the release announcement, where it would have gone to the whole Discord as a confident technical explanation for something that never happened. What stays is the part that is true and is the actual fix: 94% opacity, less blur — which is a genuine win on Android, where a blur behind a fixed element is recomposited every scroll frame — and the @supports fallback to fully opaque where backdrop-filter really is unavailable. The prefixed-first ordering stays too, since that is the right order for a prefixed/standard pair regardless: the standard name should be the one that wins the cascade. Only the reason given for it changes. (The message on 46eaefd still carries the original claim; it is left alone rather than rewriting a branch mid-review.) --- CHANGELOG.md | 13 +++++++------ frontend/src/index.css | 9 +++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9df62..f6648ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,12 +59,13 @@ which turned out to be worse than they looked from the outside. weight, and every point without one was dropped, so a full history read as "No data yet". When nothing in an exercise's history was ever loaded, the reps are the progress — so that is what is plotted now. Add a weighted set later and it switches back to weight. (issue #5) -- 🫥 **The tab bar was see-through in Firefox** — and only there. The CSS minifier collapses a - `backdrop-filter` / `-webkit-backdrop-filter` pair down to whichever comes last, so the - standard property never reached the build and Firefox got the transparency without the blur. - Fixed for all five blurred surfaces. The bar is also more opaque now (94%, up from 72%) and - blurs less, which is faster on Android, where a blur behind a fixed element is recomposited on - every scroll frame. +- 🫥 **The tab bar was see-through.** At 72% opacity the page read straight through it and the + labels competed with whatever was scrolling behind them — nobody needs to read the content + under a navigation bar. It is 94% now in both themes, and blurs less, which is also faster on + Android, where a blur behind a fixed element is recomposited on every scroll frame. Where + `backdrop-filter` is unavailable at all — old Android WebViews, "reduce transparency" — the + blurred surfaces now go fully opaque instead of leaving just the alpha, which was the worst of + both. (reported by mflova, seconded by seals187) - 📥 **No Smith-machine exercise could ever match on import.** The `machine → lever` rule ran before `smith machine → smith`, so the generic one ate the word first. Hevy's vocabulary is now mapped as well, and exercises it cannot match take their body part from the name instead of diff --git a/frontend/src/index.css b/frontend/src/index.css index e674797..76cb5c7 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -323,12 +323,9 @@ h4.sec{ } @keyframes ping{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.45);opacity:0}} -/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes FIRST and the - standard property SECOND. The CSS minifier dedupes the pair down to whichever is written - last, so with the usual order (standard first) the build shipped -webkit-backdrop-filter - alone — and Firefox, which only understands the unprefixed property, got no blur at all, - just the alpha. That is what made the tab bar read as see-through there. Do not "tidy" - the order back. +/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes first and the + standard property last, which is the order a prefixed/standard pair wants — whichever is + written last wins in the cascade, and that should be the standard name. Where backdrop-filter is genuinely unsupported there is no glass either — only the alpha, and the page shows through unblurred, which is the worst of both. Older Android WebViews