Repository navigation
feat(compare): add dependencies section scoped by sector - #1032
Merged
Merged
Conversation
Shows every dependency category once across the columns, with each pathway's evidence and description underneath, for the sector selected in the scope header. A pathway with nothing for that sector gets one note at the top of its column. A shared sector is now selectable when any column has plot data or recorded dependencies for it, the rule the detail page already uses. Closes #1030 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Expected version change and release notes🚨 WARNING: This PR is not expected to trigger a new versionTo trigger a version bump, use at least one conventional commit message in this branch. See: https://www.conventionalcommits.org/en/v1.0.0/ |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://proud-glacier-0f640931e-1032.westus2.2.azurestaticapps.net |
AlexAxthelm
approved these changes
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1030
What changes
The compare page gets a Dependencies section, between Key Features and Geographies.
Sector availability: a shared sector is now selectable when any column has plot data or recorded dependencies for it, via the existing
scopeAvailabilityhelper — the rule the detail page's ribbon already uses. The Geographies / Sectors / Benchmark Metrics coverage badges keep their timeseries-only meaning.EvidenceBadgeis now exported fromDependenciesTableso both pages share one evidence colour scale.Tests
ComparisonDependencies.test.tsx: rows match the schema's enum in order; sector filtering; "No information" cells; repeated categories stack; per-column note with blank cells; whole-section empty states.ComparisonPage.test.tsx: section order, sector switching, and a sector selectable for its dependencies alone.Checked in the browser with IEA NZE 2025 + VN EREA NZ + NGFS NZ2050 REMIND on Steel (column note case) and two NGFS pathways on Power.
Open point
The grey "No information" pill looks similar to the grey "No evidence" evidence badge. It matches what Key Features uses for missing values; happy to switch it to plain muted text if that reads better.
Overlap
#998 (key-feature resolver) also touches
ComparisonPage; any conflict should be small.🤖 Generated with Claude Code