Skip to content

feat(detail): add a short intro under each detail page section heading - #1041

Merged
jacobvjk merged 1 commit into
epic/v2from
feat/detail-section-intros
Oct 28, 2026
Merged

jacobvjk merged 1 commit into
epic/v2from
feat/detail-section-intros

Conversation

@jacobvjk

Copy link
Copy Markdown
Collaborator

Closes #1029

What changes

Each section on the pathway detail page now has a one- or two-sentence intro under its heading, so readers know what it is for. Pathway Description explains itself and gets none.

The copy follows the revised wording in the issue comment. That renames three headings:

Tab Before After
At a glance Plots Overview Timeseries Preview
At a glance Assumptions & Trends Overview Assumptions & Trends Preview
Assumptions & Dependencies Assumptions & Trends Overview Assumptions & Trends

Benchmark Plots, Supplemental Information, Dependencies, Data Availability and Coverage keep their names.

How

  • New SectionIntro: one grey paragraph used for all eight intros, so they look the same. The heading above it drops to mb-1 so the intro reads as part of the heading.
  • KeyFeatures and PlotGrid draw their own headings, so each takes an optional description shown under it. PlotGrid keeps it in the empty and non-Power states too.

Tests

  • PathwayDetailPage.tabs.test.tsx: walks all four tabs and checks every section heading is followed by its intro, and Pathway Description is not.
  • KeyFeatures.test.tsx, PlotGrid.test.tsx: the description renders directly under the heading (for PlotGrid, with and without data).
  • Two existing tests updated for the "Assumptions & Trends" title.

Checked in the browser on NGFS NZ2050 REMIND across all four tabs.

Open points

  • Supplemental Information: the copy is used as written. The issue comment notes it may become a note about the standardized data only if the citation moves into the banner.
  • Dependencies and Data Availability: the intro sits directly above the existing grey "Showing N of M …" line, so two grey lines are stacked there.

🤖 Generated with Claude Code

Each section on the pathway detail page now explains what it is for,
directly under its heading (#1029). Pathway Description explains itself
and gets none.

Following the revised wording in the issue, the At a glance panels are
renamed "Timeseries Preview" and "Assumptions & Trends Preview", and
the full panel on the Assumptions & Dependencies tab becomes
"Assumptions & Trends", so the two are no longer both "Overview".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Expected version change and release notes

🚨 WARNING: This PR is not expected to trigger a new version

To trigger a version bump, use at least one conventional commit message in this branch. See: https://www.conventionalcommits.org/en/v1.0.0/

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-1041.westus2.2.azurestaticapps.net

@jacobvjk
jacobvjk merged commit b9303b3 into epic/v2 Oct 28, 2026
11 checks passed
@jacobvjk
jacobvjk deleted the feat/detail-section-intros branch October 28, 2026 15:13
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.

2 participants