Repository navigation
feat(info): /guider page with click-to-play video guides - #1012
Merged
Merged
Conversation
A new info page lists the video guides (Danish maps and layers, terrain profile, oblique photo) with local thumbnails, the length and a link to the matching user-guide page. A card plays only after a tap: assets/guider.js swaps the thumbnail for a youtube-nocookie.com player, so nothing is fetched from YouTube before that. A card without a valid video id shows "Video på vej" and cannot be played. Every info page links to /guider in the nav; the phone nav keeps five links on one row at 375 px. Tests: test-guider.cjs (no external request before play, the nocookie player after a tap, disabled cards, one nav link per page; 6 mutants killed) and /guider in test-mobile.cjs (320-1280 px). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guides are now on the MeshView YouTube channel. Each card carries its video id, so it plays on a tap; the test checks the published ids and keeps the disabled-card cases on a rewritten copy of the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
Review — CS-MacBook PR#1012 — head cb99a34Dom: APPROVE med nits Evidence labels: [T] test or command I ran, [A] analysis / reading, [K] known limitation or not verified. Head was Findings
Answers to the checklistPrivacy
Safety
UX
Tests
Content
Always
Mutants (own, against
|
| # | Mutation | Result |
|---|---|---|
| 1 | Drop ^ from the id regex |
SURVIVED |
| 2 | Drop $ from the id regex |
SURVIVED |
| 3 | {11} → {1,} |
SURVIVED |
| 4 | Class → .{11} |
killed |
| 5 | youtube-nocookie.com → youtube.com |
killed |
| 6 | Remove autoplay=1 |
killed |
| 7 | Rename referrerpolicy |
SURVIVED |
| 8 | site.css nav gap 14 → 40 px |
SURVIVED (not tested by either suite) |
| 9 | Load the player on setup (no click) | killed |
| 10 | Do not set disabled |
killed |
| 11 | Remove the "Video på vej" text | killed |
| 12 | Remove the play aria-label |
killed |
| 13 | Remove the iframe title |
killed |
| 14 | Drop the Guider nav link from radio.html |
killed |
| 15 | .guide-links a min-height 44 → 30 px |
killed |
| 16 | /embed/ → /watch?v= |
killed |
| 17 | Thumbnail from i.ytimg.com |
killed |
13 of 17 killed. "Red before, green after" holds for privacy, nocookie, autoplay, disabled state and nav links. It does not hold for the id-format check beyond the one malformed sample (finding 2).
Not verified
- Real iPhone/Safari and the Safari bottom bar. I used Chromium touch emulation at 375×560, 360×640 and 375×740. [K]
- That the YouTube player actually plays. In my runs the player request was stubbed, because I did not want to load YouTube. [K]
- Danish subtitles on the videos. [K]
- Production headers or deployment of the pages. [K]
- The Playwright E2E suites against a local Go server with
e2e-fixture.db. This PR changes nothing undercmd/orpublic/, so I judged them unaffected and did not run them. [K] test-all.shin a real git checkout (see Tests).
Decisions I made without asking: judged findings 1 and 2 as non-blocking because the links resolve and ids are author-controlled static markup, but both are worth fixing in this PR.
This was referenced Nov 28, 2026
dborup
added a commit
that referenced
this pull request
Nov 28, 2026
#1021) seedTxWithObs inserted the transmission and each observation as separate autocommit statements. If the tx_last_seen_backfill_v1 goroutine that OpenStore schedules ran between them, it stamped last_seen from a partial set of observations (100 instead of 300), and the test's own backfill call then skipped the row because it only selects last_seen = 0. newTestStore and WaitForAsyncMigrations already drain that goroutine before seeding, so current master is not exposed. The failures on #1012 came from a merge commit (5072050, base 4af4177) whose test code predates those waits. Seeding in one transaction closes the window regardless: a backfill running at any point sees the row with none or all of its observations. seedTxNoObs now reuses the same helper. Relates to #1012 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new information page,
/guider, collects the MeshView video guides (owner decision 2026-11-28: YouTube for hosting,/guideras the overview).docs/user-guide/page.assets/guider.jsswaps the thumbnail for ayoutube-nocookie.complayer only when the visitor taps play. Nothing is fetched from YouTube before that.data-youtube(see the README)./guideris also in its footer. On a phone the nav keeps all five links on one row at 375 px, and wraps to two rows at 320 px.createElement, the page's own CSS variables, and touch targets of at least 44 px.Stacked on #1011 (the info pages in the repo). Merge that first.
Tests
test-guider.cjs(new, Playwright, local server):/guider;youtube-nocookie.com/embed/<id>?autoplay=1iframe replaces the button;youtube.cominstead of nocookie, no "Video på vej" badge, a page without the nav link, no autoplay.test-mobile.cjsnow includes/guider. It passes for 5 pages × 5 widths (320–1280 px): no overflow, local fonts, no external requests, nav visible.test-copy-commands.jsandtest-xss.cjsare unchanged and pass.Not done
🤖 Generated with Claude Code