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

Nextclade linkout #1776

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Nextclade linkout #1776

merged 3 commits into from
Jun 5, 2024

Conversation

jameshadfield
Copy link
Member

@jameshadfield jameshadfield commented Jun 5, 2024

Most discussion about this functionality has been happening within the nextclade repo, see nextstrain/nextclade#1455 and nextstrain/nextclade#1460 for a good summary.

Testing

via nextstrain.org review app, e.g. https://nextstrain-s-nextstrain-ytpxv6.herokuapp.com/avian-flu/h5n1-cattle-outbreak/genome then click the button in the footer "view in other platforms"

The new design co-locates the data with the rendering, which is an
anti-pattern but in this case it allows for each link-out to have much
more flexibility in how it constructs the data. The co-location is
necessary for the function (component) to access `useSelector`, with the
inherent flexibility that provides. The trade-off is worth it in my
opinion.
Most discussion about this functionality has been happening within the
nextclade repo, see <nextstrain/nextclade#1455>
and <nextstrain/nextclade#1460> for a good
summary.
@jameshadfield jameshadfield force-pushed the james/nextclade-linkout branch from ca00d23 to e526494 Compare June 5, 2024 21:30
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-james-nextclade-q1myzc June 5, 2024 21:30 Inactive
@jameshadfield
Copy link
Member Author

Merging after testing in the nextstrain.org review app

@jameshadfield jameshadfield merged commit 7389328 into master Jun 5, 2024
22 checks passed
@jameshadfield jameshadfield deleted the james/nextclade-linkout branch June 5, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants