Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include new funding programme and a total length in the browse page #429

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

dabreegster
Copy link
Contributor

Coloring by funding was a bit broken and not reactive to new cases like "ATF2 or ATF3" and "LCWIP". Also add a total length count to the Showing 639 schemes (5,811 routes, 184 areas, 0 crossings, 147 other, with total LineString length of 6606.7 miles) checkbox, since it's maybe of interest. (But if it's just confusing, will remove)

atf3: "#FF62DC",
atf4: "#FFD833",
// A qualitative set from colorbrewer2.org
funding_programmes: ["#66c2a5", "#fc8d62", "#8da0cb", "#e78ac3"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we may want 5 (When we've resolved data issues):
ATF2, ATF3, ATF4, ATF4e, LCWIP.

No?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the final category broader, we could also say "Planned pipeline" so it's not tied to any particular process or timescale.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pete: Fixed, changed to 6 colors for more future-proofness.
Robin: Good point, https://github.com/acteng/atip-scheme-data/pull/11

@dabreegster
Copy link
Contributor Author

Rebased and fixed comments, thanks for reviews

@dabreegster dabreegster merged commit 5351bd6 into main Jan 4, 2024
2 checks passed
@dabreegster dabreegster deleted the browse_fixes branch January 4, 2024 13:52
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.

3 participants