Lighthouse desktop flagged the one in-text link that relied on colour alone;
the hero and rail images gain a 480w candidate so a 2× phone no longer
downloads the 600w file.
- Screenshots retaken from the v1.3.7 demo build (the old set still showed the
pre-1.3.3 workout screen with its button rows). The five phone images are now
served through <picture> as WebP at 600/1170 px with the PNG as fallback; the
hero image is preloaded. website/build-images.sh produces img/ from assets/.
- og:image on every page is a 1200×630 card (assets/social.jpg) with width,
height and alt; robots meta with max-image-preview:large; preconnect to the
analytics host; SoftwareApplication JSON-LD carries version, dates,
screenshots and a feature list.
- Every page starts with a Skip-to-content link and the content sits in
<main id="main">; scroll reveals are also disabled for print.
- The GitHub and Discord counters wait for requestIdleCallback instead of
racing the hero image. Cache-bust ?v=18. llms.txt names GitHub as the home.
- robots.txt, sitemap.xml and llms.txt now live in website/ so the site is
fully regenerable from the repo.
Nav, footer, the Elsewhere pads and every deep link point at github.com; GitLab keeps a pad
and a footer link as the mirror whose CI signs the APK. Stars, forks, issues and the About
timeline come from api.github.com again (new cache keys so a warm GitLab-era entry is not
misread). The dead-pad rules from the suspension weeks are gone. Cache-bust 17.
Auf dem Handy war der Becher in der Leiste gelb -- das war zu laut. Jetzt
ist er ueberall dasselbe Grau wie die uebrigen Kopf-Links.
Dazu kommt die Zeile im Menue-Sheet zurueck, direkt unter Discord: der
Becher steht rechts am Rand, genau dort, wo GitLab seine Sterne und
Discord seine Mitgliederzahl hat. Beide Wege bleiben -- Becher in der
Leiste und Zeile im Menue.
Cache-Bust auf ?v=16.
Auf dem Desktop war die gelbe Pille zu laut neben dem Download. Jetzt ist
es derselbe graue Text wie GitLab und Discord, nur mit dem Becher davor --
kein Gelb, kein Rund.
Auf dem Handy bleibt der Becher in der Leiste statt ins Menue-Sheet zu
fallen: rechts neben dem Download, ohne Text und darum im BMC-Gelb, damit
das Logo allein noch etwas sagt. Der Sheet-Eintrag faellt dafuer weg.
Cache-Bust auf ?v=15.
Der Header hat bisher nur unten im Elsewhere-Block auf Buy Me a Coffee
gezeigt. Jetzt steht der Link mit dem BMC-Becher direkt neben Discord --
als hohle Pille, damit der volle Knopf der Download bleibt.
Auf allen vier Seiten identisch (inkl. der api.html-Vorlage im
Generator), unter 1000px faltet er wie die anderen ins Menue-Sheet.
Cache-Bust auf ?v=14.
The nav has advertised the repo's stars since the GitLab move but said nothing about
the community, which is by now the larger number of the two. Both links now carry
their count: GitLab ★ 185, Discord 1,084.
Discord hands an invite's guild counts to anyone who appends ?with_counts=1 — no bot
token, no server widget to switch on, and the API reflects the caller's Origin, so the
browser may read it. The count is fetched exactly like the repo counts: once per tab,
cached in sessionStorage, and failing soft — a blocked or revoked request leaves the
link reading "Discord", the way it read before.
The numbers panel on the home page gains a sixth cell for it and loses the "repo" in
its caption, since the counts are no longer all from the repo. Six cells divide evenly
where five left a hole, so the row that used to span the full width at the narrow
breakpoint goes away: six, then three, then two.
The docs page used to swap the site's links for its own three and unfold the
chapter rail on arrival, so half the navigation vanished the moment you opened
the documentation and a sidebar you never asked for was already there. Both are
gone. Every page — home, about, docs, API — now serves a byte-identical nav bar
and navigation sheet; which page you are on is marked with aria-current at
runtime, so nothing is ever added or dropped from the markup to say it.
The rail is now separate from the header and the same object everywhere: closed
in CSS at every width, opened by one Contents pill, closed by the ✕ in its own
sticky header, by Escape, or by a tap on the dimmed page. No preference is
remembered any more and the stale og_rail key is cleared on sight. One panel
controller in site.js drives both the sheet and the drawer, traps focus while
either is open and hands it back to the button that opened it. api.html no
longer carries a private copy of any of this.
Also: visibility is switched at one instant instead of being transitioned —
interpolating it left both panels hidden through their own opening animation,
so they popped in at the end and nothing inside could take focus until then.
Long inline code breaks instead of widening the page (docs ran 21px wide of a
320px screen), the header folds at one breakpoint rather than three, and every
control in the rail clears 44px.
246 headless assertions across four pages and five widths: nav and sheet
markup identical, drawer shut on first paint, no horizontal overflow, focus
returned, reduced motion honoured, no console errors.
The nav bar keeps only the brand, GitLab, Discord and the download button.
Everything else moves into a topic rail — a title/subtitle list of every
section, fixed beside the page on wide screens and behind the hamburger
below 1300px, with a scrollspy lighting the section under the reader.
The GitHub-suspension notice comes off all three pages.
The dialog is gone. It showed the same paragraph that was already on the card,
only unclamped — so a click bought you nothing, which is a bad trade for making
fourteen cards look like something you have to interact with. The cards are
plain <article>s now and the text is simply on them, no line clamp.
What is left of the click: four cards point into the docs — importing,
self-hosting, the MCP server, backups — where there genuinely is more to read.
Those are ordinary links at the foot of their card rather than a click target
covering the whole box.
Cards are a little wider (250-310px) to carry the full text without turning into
columns of two words, and the rail still snaps and scrolls the same way.
Verified in the browser at 1440 and 390: fourteen cards, no dialog left in the
DOM, no buttons inside the rail, all four docs links present, nothing clipped
(every .fcard-b has scrollHeight == clientHeight), every card the same height,
still flush with the text above, no horizontal overflow, no JS errors.
Tested in a real browser this time, at 1440, 1024, 390 and 360, with touch
emulation and with reduced motion — which is how the first three of these were
found, and none of them were visible from reading the markup.
**The dialog never opened where you could see it.** `* { margin: 0 }` at the top
of this file removes the margin:auto a browser uses to centre a modal <dialog>,
and without a position of its own it resolved to `position: absolute`, so
`inset: 0` centred it inside the document rather than the viewport — near the top
of the page. Opening a card scrolled the whole page up to meet it, showed a
clipped corner on desktop and nothing at all on a phone. It is pinned to the
viewport now, centred on both axes, capped at the screen height and scrollable
inside if the text is long. Measured: centred and fully in frame at all four
sizes, with no scroll jump.
**The rail sat 34px left of everything above it.** Its gutter was half the
leftover width, which lands on the wrap's outer edge, not on the text inside it —
the wrap's own padding was missing from the sum. Cards now line up exactly with
the paragraph above them (measured: 0px). Using 100% instead of 100vw also keeps
the scrollbar out of the arithmetic. The screenshot rail below inherits the same
fix.
**The intro.** The hero settles in on the first load of a visit: a short rise and
fade, staggered eyebrow to headline to lead to buttons to phone. Deliberately the
same movement as the scroll reveals further down, so it reads as one behaviour
rather than an effect. Armed in the inline head script, because site.js is
deferred and would have let the hero paint and then hide it again. Once per tab,
so a reload is not a splash screen. Off entirely for prefers-reduced-motion, and
the animation ends on opacity 1 regardless of whether the cleanup ever runs — the
hero cannot get stuck invisible.
No horizontal overflow at any of the four widths. Arrows confirmed present for a
mouse and absent for touch.
**"And the rest of it"** was fourteen items as a two-column definition list — the
part of the page nobody finishes reading. It is now a horizontal rail of cards,
one icon each, tapping one opens the full paragraph in a dialog. Four of them
carry a link into the docs, where there is genuinely more to say: importing,
self-hosting, the MCP server and backups. Twelve new icons in the existing
sprite style (24x24, stroke 1.7) to go with it.
The dialog only ever shows text that is already in the card, so nothing is
hidden from a reader without JS: the cards are unclamped and fully readable, the
arrows stay hidden, and there is nothing to open. Arrows are for pointers that
cannot swipe and are dropped on touch.
**The docs and about pages were squished on a phone**, and it was one character:
`.prose` set `padding: <top> 0 0`, and the trailing zeros overwrote the left and
right padding `.wrap` had already set. On a desktop nothing showed, because 720px
of text has room to spare either way; on a phone the text ran into both edges of
the screen. Both pages share that class, which is why both looked wrong.
Two traps in the CSS I added and then found: `.frail-nav` and `.fdlg-go` both set
`display`, which beats the UA's `[hidden] { display: none }`. The arrows would
have shown without JS, and a card with no link would have shown a "read more"
pointing at whatever the previous card linked to. Both now honour the attribute.
Cache busters go to v=6 — the markup needs the new CSS and JS, and a returning
visitor holding v=5 would have got the new page with the old stylesheet.
This has been serving on opengym.duarte-santos.ch for a while without ever being
committed, so the repository and the live site had drifted apart — a deploy from
a clean checkout would have rolled the site back to the old page. This commits
what is actually running.
The page is rebuilt around a bento layout with real device frames, a mobile nav
that opens a proper menu instead of hiding the links, and a scroll reveal that
checks prefers-reduced-motion before animating anything. New "Elsewhere" section
collecting where the project actually lives: GitLab for code, issues and
releases, Discord, and Buy Me a Coffee.
The download line still reads v1.2.9 and the APK next to it is still the 1.2.9
build; both are corrected in the release commit, where the new APK exists.
gitea.com hat keinen Actions-Runner, also gab es dort seit dem Umzug weder
Container-Images noch einen gebauten APK noch gruene Tests auf Merge Requests.
GitLab kann alles vier, also zieht das Projekt dorthin um.
.gitlab-ci.yml deckt die komplette Kette ab:
- test: Frontend-Suite (346 Tests), Locale-Checks, Fatigue-Probe, MCP-Suite
- build: api- und web-Image nach registry.gitlab.com/duartesantos8/opengym/*,
auf v*-Tags amd64+arm64 mit latest/X.Y/X.Y.Z, sonst amd64 als edge
- package: signierter APK (zipalign + apksigner) plus Upload in die Generic
Package Registry; der Key liegt in geschuetzten CI-Variablen und existiert
damit nur auf main und v*-Tags
- deploy: der Browser-Demo-Build auf GitLab Pages
- release: GitLab-Release mit dem passenden CHANGELOG-Abschnitt und Links auf
APK und Images
GitHub konnte "Tag gepusht" von "Release veroeffentlicht" unterscheiden und hat
Images nur aus letzterem gebaut (Issue #87). GitLab kann das nicht - dort ist die
Tag-Pipeline das, was das Release anlegt. Die Regel steht deshalb als Kommentar
im CI-File, und v*-Tags sind geschuetzt.
Ausserdem: Issue-/MR-Vorlagen unter .gitlab/, und saemtliche Repo-Links in
README, Docs, App, Dockerfile-Labels, docker-compose und Website zeigen auf
GitLab. site.js liest Sterne und Releases jetzt aus der GitLab-API (andere
Feldnamen, deshalb neue sessionStorage-Keys). SECURITY.md hat wieder einen
privaten Meldeweg: ein vertrauliches Issue.
.github/ und .gitea/ bleiben liegen - Spiegel bzw. fuer den Tag, an dem das
GitHub-Konto zurueckkommt.
Die Seite auf opengym.duarte-santos.ch wurde am Ausfalltag direkt im dist bearbeitet,
die Quelle hier blieb auf dem alten Stand: GitHub-Links, GitHub-API fuer die Zaehler,
Demo-iframe auf die tote Pages-Instanz.
Uebernommen: Hinweisblock zur Sperre auf allen drei Seiten, Links und Zaehler auf
gitea.com (site.js liest jetzt stars_count/open_issues_count und die Releases von
dort), Discord-Abschnitt, Demo-Sektion als "Temporarily offline" mit Verweis auf APK
und Selfhosting, dazu die neuen Styles und der Umami-Tag der Website.
Die Zeitleiste auf about.html fuellt sich, sobald hier Releases stehen - die
Release-API von gitea.com liefert aktuell noch nichts.
The screenshot img tags carry width/height attributes; with only a CSS
width the height attribute won (240x2532 — stretched). height:auto fixes
it. New #demo section runs the GitHub-Pages demo in a phone frame right
on the page; nav gets a Demo link and the hero a GitHub star button.
website/ holds the source of opengym.duarte-santos.ch — landing with live
GitHub stats, docs and the story behind the app; no build step. The
native app icons are now generated (capacitor-assets) from the same
blocky dumbbell as the PWA icon, traced into resources/icon.svg, so the
APK, home-screen PWA, and website favicon all match.