Directories: Reversals outcome bar, Publications area colours, Contributors by letter

Merged
LU
10d ago
+599-372

Three long directory pages become easier to skim. Cards stay only where a visitor picks between items or acts on them.

Reversals. The 436 effects are one column of rows in the reading measure, with a hairline between rows. The outcome colour appears only in each row's chip and in the outcome bar. The bar shows the real counts (141 replicated, 143 mixed, 123 not replicated, 14 reversed, 15 no status), and its parts and the buttons below it filter the list. Descriptions show in full unless they run past six lines (62 of 436), which then show four lines and "more".

Publications. Cards stay here because each one has links to act on (DOI, download, citation), and the area colour carries information. Each card takes its research area's colour, and the area filter buttons act as the key. The content-type tag is gone, because each section holds one type and its heading already names it. On phones the filters are two drop-downs, the citation total sits above them, and the full chart follows the publications. The chart is drawn in the site's type from data/scholar_citations.json, written by scripts/gs-cite/google_scholar.py; this branch commits the file's first output. Google Scholar's yearly figures cover 1,016 of the 1,044 citations, and the chart says so. The chart is placed once for wide screens and once for phones, with only one shown, so Tab order follows the screen.

Contributors. One row per person: the name on the left, then each project with its roles after it, with a hairline between people. A heavy contributor makes a taller row and leaves no gap beside it. On phones the name sits above the projects. Long lists show four lines, then "N more projects", counting distinct projects not already listed. Plain letter links stay at the top of the screen, at 44 px; on phones they are one line that scrolls sideways and fades at its edge.

The new Contributors markup reaches forrt.org only after this branch reaches main and a data-processing run regenerates content/contributors/tenzing.md. Until then, staging shows the old list with the new CSS. The Contributors screenshots below come from running the generator locally; that output is not committed.

Before and after

Reversals, 1440 and 390.

Publications, 1440 and 390.

Contributors, 1440 and 390.

Decisions to review

  • DESIGN §4: cards are for things a visitor picks between or acts on. Running content and long uniform lists stay as text unless the box carries information.
  • DESIGN §6 and tokens.css: replication outcomes have their own colour scale (--out-*), kept clear of the area colours.
  • DESIGN §9: on a phone one row may stay on screen, either a search row or a letter index.
  • Contributor order: surnames sort letter by letter, ignoring case, accents, spaces, hyphens and apostrophes, then by first name. Letters such as Ł and Ø file under L and O. A particle stays part of the surname as entered, so "de Bruijn" files under D.
  • Contributor names and duplicates: where a person's rows spell the name differently, the row shows the most common spelling. Identical project lines show once; two people had 26 repeated lines between them.
  • Flavio Azevedo stays last, inside Z. The generator has placed him last since #342, at his request. Letter headings make this look like a sorting error, so it is worth a decision.
  • check_design.py: the line-length audit now skips a grid row as a whole and measures its items, because a name beside its projects is not one line of text. The chart-size check also measures the HTML chart.
  • allowed_changes.txt: the Publications meta description no longer opens with "Details on Google Scholar".

Wording for the authors

  • Publications introduction, in content/publications/publications.md. Only its layout changed.
  • Reversals, "Elderly priming. that hearing about old age makes people walk slower.", in content/reversals/reversals.md.

Checks

  • hugo -d builds of origin/rebrand-doors and this branch.
  • python3 scripts/check_seo_html.py: all 23 checks pass.
  • python3 -m unittest discover -s scripts/tests: 172 tests pass.
  • python3 scripts/rebrand/compare_builds.py: OK.
  • python3 scripts/rebrand/check_source_rules.py: 0 hard-coded URLs, 0 generated paths changed.
  • check_design's AUDIT at 390, 1024 and 1440 px on Reversals, Publications and Contributors: clean on the committed build and on the regenerated Contributors page.
  • Browser checks: Reversals outcome filters and search; Contributors letter jumps and project filter.

🤖 Generated with Claude Code