Contributors: a ranked chart of the largest projects, people in two columns, a filtered view that names its project

Merged
LU
1d ago
+200-26

Contributors now opens with a ranked chart of FORRT's 12 largest projects by contributor count; each row filters the list to that project. Choosing a project lands on a heading above the list ("112 contributors to Glossary", with Clear filter), the chosen row on the chart turns solid and the other bars fade, and each person's row then shows only their roles in that project. On wide screens a letter's people run in two columns, each name above its projects, so most of the width is no longer empty. Project links in the rows have a quieter underline, so names lead. On phones the chart shows six rows until "Show all 12 projects", and each project's roles sit on their own line. The first time the chart scrolls into view its bars grow to their lengths (0.4 s, 25 ms apart); with reduced motion they are simply there.

The new markup comes from scripts/forrt_contribs/tenzing.py and its template. The preview regenerates the page from this branch's generator; forrt.org gets it after this reaches main and a data-processing run.

First screen, 1440 px: before → after. The chart sits under the finder; each count is people, each person counted once per project, and the bars share one scale.

before, 1440
after, 1440

The list, 1440 px: before → after. People in two columns instead of one row each with the right half mostly empty.

before list, 1440
after list, 1440

Filtered to Glossary, 1440 px: before → after. The panel's "Filtered results" block gives way to a heading above the list; rows drop the repeated project name and run in three columns.

before filtered, 1440
after filtered, 1440

390 px: before → after, below the finder (the finder and intro are unchanged and stay in the first screen), then filtered to Glossary.

before, 390 after, 390

before filtered, 390 after filtered, 390

Decisions to review

  • People in two columns replaces #1234's projects in two columns. DESIGN.md §4 describes Contributors as rows that leave no gap beside a long entry; each person is still one hairline row, but a letter's rows now run down one column and on in the next, as in an index. Opening "N more projects" keeps that person in place (checked for all 44 such rows). Filtered to one project, the rows take three columns.
  • Orange (--hot) for the bars. §6 reserves it for highlights; here it marks the one quantity on the page. The chosen project's row is solid link blue.
  • The chart shows the 12 largest of 108 projects, each person counted once per project, including projects behind "more projects". The counts match what the filter then shows (checked for all 12). The Project menu still lists all 108.
  • The "Filtered results" block and its Reset filter button are gone from the panel; the heading above the list and "Clear filter" replace them. The line under the name field hides while a filter is on and no name is typed, so the count is not shown twice. The older generated page, which forrt.org serves until the next data run, keeps its block: the script handles both.
  • Filtered to a project, a row shows only that person's roles. A row whose sheet gives no roles for that project shows only the name.
  • Phones: the first six projects show until "Show all 12 projects"; if the chosen project is among the last six, all twelve show.
  • Suggestions from the judging rounds not taken: menus that filter as soon as they change (a context change on a select's change fails WCAG 3.2.2, so Apply stays); a two-row letter strip on phones and moving the "625 contributors" count (earlier decisions); greying unlinked project names (black text and blue underlined links is the site's convention).
  • For the Tenzing sheets, not templates: near-duplicate project names sit side by side ("German Teaching Network Grant" and "German teaching network grant"; "FReD (FORRT Replication Database)" and "FORRT Replication Databases (FReD and FLoRA)"), and CRediT roles use spaced hyphens ("Writing - review & editing") where the taxonomy has an en dash. Two project links on this page point to retired paths, /FReD/ and /self-assessment/ (also broken on main).

Checks

  • tenzing.py regenerated from the cache (the output is not committed); Hugo build; tiles at 390 and 1440 px.
  • Playwright: each of the 12 board counts equals the filtered heading's count; the chosen row is marked; #contributor-results lands on the heading at both widths; ?role=project-manager reads "36 contributors as Project manager"; collapse-filter hides the board; no script errors; bars grow once with motion allowed and stay still with reduced motion.
  • check_design.py on the build: no failures on /contributors/ or /contributor-analysis/; line-length audit of /contributors/ unfiltered and filtered at 390, 1024, 1280, 1440 and 1800 px: no line of 80 characters or more, no overflow. Its remaining failures are on /neurodiversity-lessonbank/implicit_bias/ (121 px overflow at 390, red text at 3.92:1), which the base build has too.
  • check_seo_html.py: passes. check_source_rules.py: 0 hard-coded URLs, 0 generated paths. check_internal_links.py against the base build: 0 new broken links.
  • python3 -m unittest discover -s scripts/tests: OK.
  • /contributor-analysis/ (which shares sections.css) builds to the same HTML as before.

🤖 Generated with Claude Code


Summary by cubic

The Contributors page now opens with a ranked bar chart of FORRT’s 12 largest projects by contributor count, runs people in two columns on wide screens, and names a project or role filter in a heading above the list instead of the "Filtered results" block.

  • Each chart row links to the filtered list for that project; the chosen row turns solid, the other bars fade, and each person’s row shows only their roles in that project.
  • The heading counts the people ("112 contributors to Glossary") and links to clear the filter.
  • On phones the chart shows six rows until "Show all 12 projects"; bars grow to their lengths the first time they scroll into view, or appear instantly with reduced motion.
  • The older generated page keeps its panel block, and the script handles both; the new page returns on forrt.org after this reaches main and a data-processing run.
  • Filtered to a project, each row hides the project’s name entirely, so it also leaves the keyboard tab order.