Repository navigation
info: bring the info pages in line with what is served, add the tools page, fix two phone landings - #1088
Conversation
A link to one FAQ answer scrolls the question to its scroll margin. The margin was 130 px, but the sticky menu wraps onto more rows on a narrow phone and gets taller than that, so the question started under the menu (14 px hidden at 320 px wide). The margin is now 180 px on .faq-group and .faq-item. test-faq.cjs measures the menu and the landing position at 320, 375 and 390 px instead of at 375 px only; it failed at 320 px before the fix. The re-tap check compares the landing position with the element's own scroll margin instead of a fixed 40 px window below the menu, so it keeps holding when the menu height changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The info pages on meshview.dk were edited on the web server from 2026-11-29
to 2026-12-02 and the edits were never copied back. This brings the folder
in line with the files that are served today.
Pages and assets (byte for byte the served files, except faq.html, below):
- All six pages: one shared top menu (Live, Noder, Kom i gang, Guider, FAQ,
Værktøjer) with the logo left and a LIVE dot right; one footer (MeshCore,
Guider, Bliv observer, FAQ, Status, MeshGuide, Wiki, Kontakt) without the
two GitHub repository links; own pages linked with a trailing slash; app
views open in the same tab.
- index.html: "Opsæt med MeshGuide" in step 03; "Kom i gang" scrolls to the
guide and leaves no "#guide" in the address.
- faq.html: a copy-link under every answer, the address follows the open
answer, wiki and MeshGuide links in five answers.
- observer.html: product links for Station G2 and T-Beam; the wiki's
observer page replaces the flashing link.
- hardware.html: four device cards link to product pages; "Mere i wikien"
lines.
- radio.html: only the basic settings and path.hash.mode; the delay table
and the advert rows are gone, the rest points to MeshGuide.
- vaerktoejer.html (new): the tools overview at /vaerktoejer/. The signal
tester it links to is a third-party project and is not added.
- assets/site.css: styles for the menu brand, the status and the LIVE dot.
- assets/nav-status.js (new): the LIVE/OFFLINE dot. One /api/health request
at load and one a minute while the tab is visible, none while hidden.
faq.html differs from the served file in two CSS values only: the scroll
margin from the previous commit (180px here, 130px served).
Tests:
- site-server.cjs (new): the list of pages and the loopback server, shared
by the browser tests instead of one copy in each. It serves a page at
"<route>/" and redirects "<route>" there, like the site.
- test-nav.cjs (new): the same menu and footer on all seven pages, no GitHub
repository link in a footer, the link rules, the LIVE/OFFLINE dot, the
menu in the same place on every page, "Kom i gang" from another page, from
an old "#guide" link and on the welcome page.
- test-nav-status.js (new): unit test of nav-status.js.
- test-faq.cjs: the copy-links, the address following the open answer, the
accent border on a linked answer; app links ("/#/...") are not fetched as
info pages.
- test-guider.cjs, test-mobile.cjs: the new links and all seven pages.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…its back The README said the folder matched the site on 2026-11-28 and listed six pages. Edits made on the web server after that date existed only there, so a deploy from the repo would have removed them. - Seven pages, with the file each one becomes on the web server. - The way from a change here to the site, including a checksum comparison before files are copied, so an edit made on the server is noticed. - A rule and a recipe for copying a server edit back, and the date the folder was last compared with the served files. - The shared menu and footer, and that the two GitHub repository links stay out of the footer. - /vaerktoejer/: only the overview page is here; a deploy replaces that one file, never the folder. - All seven tests and the shared test server. - Two stale notes: the radio page no longer has the delay table, and the HTML escaping fix on the welcome page is published. The workflow comment lists /vaerktoejer too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…n phones "Kom i gang" scrolls the guide section of the welcome page to the top of the window. Up to 900 px wide the sticky menu wraps and is 69 to 170 px tall, while the section's heading starts 72 px into the section. At 600 px wide and narrower the heading ended behind the menu (98 px behind it at 375 px wide). The page now has scroll-padding-top: 110px on html up to 900 px wide. The section stops 110 px down and its heading 182 px down, below the menu at every width. Above 900 px nothing changes. A scroll margin on the section was tried first and is not enough. The live panels right above the guide get their data after the page has scrolled; the browser then keeps an element of those panels in place, and the section moved back up under the menu (25 px with the test data). With scroll padding the browser keeps the guide itself in place. test-nav.cjs holds the API answers back 300 ms, waits for the panels and compares the heading with the menu at 1280, 768, 600, 390, 375 and 320 px: an old "#guide" link at every width, the menu links and the hero button at 1280 and 375 px. It failed at 600 px before the fix. The README records this as the second place where the folder differs from the served files. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Review — CS-Minimax PR#1088 — head 66adeafDom: APPROVE med nits Evidence tags: [T] = I ran it, [A] = read from the diff/CI logs, [K] = known/flaky. Tests ran on the merged tree ( Findings
No blocking findings. The points you asked for
Tests and mutants
Not verified
|
Correction — CS-Minimax PR#1088My review above covers head The verdict applies to |
Review — CS-MacBook PR#1088 — head 4163cf5Dom: APPROVE Delta review of Findings
No blocking findings. The points I was asked to check
Tests
Mutants (my own, on a copy of the head,
|
| Mutant | Result |
|---|---|
1. Remove the scroll-padding-top rule |
red (600 px, heading 72 px under a 94 px menu) |
| 2. 110px → 40px | red (390 px, heading 112 px under a 126 px menu) |
| 3. Rule cancelled at ≤500 px | red (390 px, heading 72 px under a 126 px menu) |
4. scroll-padding-top → scroll-margin-top on the same selector |
red (600 px, heading 72 px) |
Each mutant was caught at a different width, so the width list 1280, 768, 600, 390, 375, 320 earns its place.
CI per job on the head (run CI/CD Pipeline, the Info site tests run is separate) [K]
- Success:
🌐 Info site tests, Go Server Tests 1/3 and 2/3, Go Ingestor Tests, Go Libraries & CLI, JavaScript Unit Tests & Lint, Script & Container Unit Checks, Validate Docker Image, Verify Go Test Assignments. - Cancelled (not failed): Go Server Tests 3/3, Playwright E2E 1/3, 2/3, 3/3 (fail-fast, in the "Run assigned … tests" step), and the aggregate/deploy jobs (Go Build & Test, Verify E2E Shards & Coverage, Build & Publish Docker Image, Release Artifacts, Deploy Staging, Publish Badges & Summary). I did not re-run them, since that would change the PR's check state.
Not verified
- Go suites,
sh test-all.sh,node test-frontend-helpers.jsand the Playwright E2E shards against a local Go server withe2e-fixture.db: not run. The PR has no Go orpublic/change, so I judged them unaffected, but I have no result of my own for them. scripts/check-xss-sinks.sh --diff: not run; the delta adds a CSS rule, a README text and a test, no HTML sinks.- Real iOS Safari with its toolbar: only Chromium with touch emulation at the sizes above.
- Whether the served site matches the repo (a deploy comparison): out of scope for this delta.
Summary
The info pages on meshview.dk (
/velkommen/,/guider/,/faq/,/observer/,/hardware/,/radio/,/vaerktoejer/) were edited on the web server from 2026-11-29 to 2026-12-02, and those edits were never copied back tosites/meshview-info/. A deploy from the repo would have removed them.This PR brings the folder in line with the files that are served today. It changes nothing on the site.
Four commits:
847bc9e4fix: FAQ deep links land below the menu on narrow phones (test first).984f8df4feat: pages and assets as served, the tools overview page, and tests that describe them.66adeafbdocs: how a page gets from the repo to the site, and the rule for copying a server edit back.4163cf54fix: "Kom i gang" lands with the guide heading below the menu on phones (test first).What the sync brings in, per file
masterindex.html/velkommen/#guidein the address.guider.html/guider/faq.html/faq/observer.html/observer/hardware.html/hardware/radio.html/radio/path.hash.mode. The TX delay section, the advert rows and "Bemærk #2" are removed; a callout and four links point to MeshGuide and the wiki.vaerktoejer.html/vaerktoejer/assets/site.cssassets/nav-status.jsShared changes on all six existing pages:
/vaerktoejer/.rel="noopener".Nine asset files were already identical and are untouched:
copy-commands.js,guider.js, two fonts with their licence texts, and three guide thumbnails.Where the repo differs from the served files
Every page and asset in this PR was compared with the served file by sha256 on 2026-12-02 and is byte for byte the same, with two exceptions. Both are fixes for phone widths, each with a test that failed before the fix, and both reach the site only when the file is deployed.
faq.html:scroll-margin-topis180pxon.faq-groupand.faq-item. The served file has130px.The shared menu wraps onto three rows on a narrow phone and is 170 px tall there, so a link to one answer scrolled the question under the menu. Measured on the served file in Chromium: 38 px of the question hidden at 320 px wide, 40 px at 375 px, nothing from 390 px up.
index.html:html { scroll-padding-top:110px; }up to 900 px wide. The served file has no such rule (two added lines)."Kom i gang" scrolls the guide section to the top of the window, and its heading starts 72 px into the section. Up to 900 px wide the menu wraps and is 69 to 170 px tall. Measured on the served file in Chromium: the heading starts behind the menu at 600 px wide and narrower, 98 px behind it at 320 to 376 px. With the rule the heading starts 182 px down, below the menu at every width measured from 320 to 900 px; above 900 px nothing changes.
A scroll margin on the section was tried first and did not hold. The live panels right above the guide get their data after the page has scrolled, and the section then moved back up under the menu. With scroll padding the browser keeps the guide in place.
test-nav.cjsholds the API answers back to cover exactly this.Not in this PR
/vaerktoejer/links to is a third-party project. It is not added; the README says a deploy of the overview page replaces that one file, never the folder.Tests
bash scripts/run-info-site-tests.sh: 7 test files, 0 failed (5 files before).site-server.cjs(new, not a test)<route>/and redirects<route>there, like the site.test-nav.cjs(new)#guidelink and on the welcome page, with the guide heading below the menu at six widths after the panels above have loaded late.test-nav-status.js(new)nav-status.js: one request at load, one a minute, none while hidden, OFFLINE on an error answer or a failed request, LIVE again on recovery.test-faq.cjs/#/…) are not fetched as info pages.test-guider.cjs,test-mobile.cjstest-xss.cjs,test-copy-commands.jsEach test can fail
23 deliberate breakages, each applied to a scratch copy of the folder and never to the repo tree. Every one makes its test fail, and all seven tests pass on the unbroken copy.
assets/copy-commands.jstest-copy-commands.js:63index.htmltest-xss.cjs:69hardware.htmltest-mobile.cjs:37radio.htmltest-mobile.cjs:30observer.htmltest-guider.cjs:38guider.htmltest-guider.cjs:56faq.htmltest-faq.cjs:102faq.htmltest-faq.cjs:45faq.htmltest-faq.cjs:47hardware.htmltest-faq.cjs:24radio.htmltest-nav.cjs:78guider.htmltest-nav.cjs:74faq.htmltest-nav.cjs:91observer.htmltest-nav.cjs:99hardware.htmltest-nav.cjs:74hardware.htmltest-nav.cjs:69assets/nav-status.jstest-nav.cjs:61index.htmltest-nav.cjs:155index.htmltest-nav.cjs:162index.htmltest-nav.cjs:162vaerktoejer.htmltest-nav.cjs:94assets/nav-status.jstest-nav-status.js:67assets/nav-status.jstest-nav-status.js:44Performance
assets/nav-status.jsmakes one/api/healthrequest per page load on six pages and one a minute while the tab is visible. It makes none while the tab is hidden;test-nav-status.jsasserts all three. The script is already live. Nothing incmd/orpublic/changes.Verification
faq.htmlvalues abovetest-mobile.cjs)npm run test:unitcmd/ingestorandcmd/server66adeafbConfig and customizer
None. The pages are static and add no configurable value.
🤖 Generated with Claude Code