Skip to content

Charts: link each chart to the Physioshark paper behind it - #103

Merged
Luen merged 1 commit into
mainfrom
chart-papers
Nov 3, 2026
Merged

Luen merged 1 commit into
mainfrom
chart-papers

Conversation

@Luen

@Luen Luen commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

What

Charts now cite the published study that analysed the same question with this dataset, e.g. Paper: Debaere et al. (2024), Coral Reefs (PDF) under the lunar-cycle charts. Links go to the PDF on rummerlab.com where the lab hosts one (all 23 checked: HTTP 200), otherwise to the DOI.

  • src/lib/publications.ts: each paper gets an id and PDF file name. I added the 15 Mo'orea papers from the RummerLab site that weren't listed yet: lunar cycle, umbilicus age, home range, nursery criteria and thermal sensitivity, thermal and hypoxia tolerance, oxygen supply, heatwave stress, escape performance, aggregations, photo-ID, injuries, philopatry genetics, juvenile density, and the shark-parks chapter.
  • ChartCard papers={[...]}: 51 charts on 17 pages. I checked each mapping against the paper's abstract (and the PDF where the abstract was missing). For example, the 2024 MFR paper tested temperature, oxygen, pH, salinity, lunar phase and depth, so it is linked from those charts but not the tide charts. The tide charts cite Debaere et al. 2024, which uses Mo'orea's ~0.2 m tidal range to separate the moon from the tide.
  • Papers without a matching chart (escape kinematics, colouration) stay on the About page only. About now links PDFs too.
  • e2e: the mobile-menu test now matches "Biology" exactly, since journal names such as Journal of Fish Biology now appear on pages.

Checks

lint, check, unit tests, build, e2e (29 passed, axe light and dark). Checked the Moon page by hand.

🤖 Generated with Claude Code

- publications.ts: ids, rummerlab.com PDF file names and 15 more Mo'orea
  papers (lunar cycle, umbilicus age, home range, nursery criteria,
  thermal tolerance, escape performance, heatwave stress, aggregation,
  photo-ID, injuries, genetics, juvenile density, oxygen supply).
- ChartCard papers prop: "Paper: Authors (year), Journal (PDF)" under
  the chart, linking the PDF on rummerlab.com or the DOI. 51 charts on
  17 pages cite the study that analysed the same question; mappings were
  checked against each abstract.
- About lists PDF links; AGENTS.md documents the convention.
- e2e: exact match for the Biology menu entry (journal names contain it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Luen
Luen merged commit 3b7f77f into main Nov 3, 2026
5 checks passed
@Luen
Luen deleted the chart-papers branch November 3, 2026 03:17
@Luen Luen mentioned this pull request Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant