From a23e4be2a18b16545b2b2cc81b3bca6bd0306c40 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Mon, 28 Sep 2026 18:00:10 +0200 Subject: [PATCH] feat(magazine): Contents button in the sticky review bar Co-Authored-By: Claude Sonnet 5 --- CHANGELOG.md | 1 + static/js/magazine.js | 3 +++ static/sections/s-magazine.html | 3 --- tests/magazine.spec.js | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cee1c1a..ffc2e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · versioned wi - **Unboxed ink in or beside a picture, chart or advert is no longer reported as missed text** (labels of a chart, text set into a photo, an advert's own wording). ### Changed +- **The Contents button is the first item of the sticky review bar**, so it stays in reach while scrolling a long page. - **The page thumbnail is the Review button.** In the thumbnail grid, clicking the (big) page image opens the page in review; the separate *Review* / *Review this page* buttons are gone. A page shared by two or more articles keeps one labelled *Review* button per article, so it stays clear which is meant. ### Fixed diff --git a/static/js/magazine.js b/static/js/magazine.js index 18fe680..c193cb2 100644 --- a/static/js/magazine.js +++ b/static/js/magazine.js @@ -1611,6 +1611,9 @@ function renderReview() { let html = ''; html += '
' + + // Back to the contents lives in the sticky bar, so it stays in reach while scrolling a long page. + '' + // One page stepper for the whole magazine, not a separate one bounded // to just this article's own pages — the two almost always agreed and // having both doubled the toolbar's width for no real benefit. diff --git a/static/sections/s-magazine.html b/static/sections/s-magazine.html index 46398d3..1e3ac0f 100644 --- a/static/sections/s-magazine.html +++ b/static/sections/s-magazine.html @@ -185,9 +185,6 @@