Skip to content

Change pathogens to splat [#1133]#1136

Closed
genehack wants to merge 21 commits intoremediate-already-ported-bits-1133from
change-pathogens-to-splat-1133
Closed

Change pathogens to splat [#1133]#1136
genehack wants to merge 21 commits intoremediate-already-ported-bits-1133from
change-pathogens-to-splat-1133

Conversation

@genehack
Copy link
Contributor

Description of proposed changes

Converts /pathogens over to using a "splat path" and adds an error banner display when somebody asks for a non-existent /pathogens/ URL.

Related issue(s)

Closes #1133

Checklist

genehack added 21 commits March 21, 2025 12:14
@nextstrain-bot nextstrain-bot temporarily deployed to nextstrain-s-change-pat-af1d9j March 21, 2025 22:52 Inactive
@genehack genehack force-pushed the remediate-already-ported-bits-1133 branch from 495b694 to 1379814 Compare March 21, 2025 23:01
@genehack genehack closed this Mar 21, 2025
@genehack
Copy link
Contributor Author

Will re-open this after landing #1131 and #1134 next week and rebasing on that new master.

Comment on lines +18 to +20
if (params && params["pathogens"]) {
notFound();
}
Copy link
Member

Choose a reason for hiding this comment

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

See suggestion to use pathogens/[[...slug]]: #1131 (comment)

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