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

Regenerate screenshot for preview (in Open Graph XML) programatically so the screenshot is relatively up to date #3755

Open
corneliusroemer opened this issue Feb 25, 2025 · 1 comment
Labels
feature Feature proposal Low priority For issues that are lower priority than average proposed_for_closure Someone has suggested closing this issue website Tasks related to the web application

Comments

@corneliusroemer
Copy link
Contributor

corneliusroemer commented Feb 25, 2025

@fhennig pointed out our link preview screenshot is out of date. We currently use a hardcoded screenshot that hasn't been updated since launch (for PPX at least).

It would be nice (but low priority/urgency) to generate such a preview programatically, then we could keep it up to date automatically.

This is what I mean by screenshot preview:
Image

It's sourced from this:

<meta property="og:image" content="fully_qualified_image_url_here" />

Slack discussion: https://loculus.slack.com/archives/C05FBAZEFPD/p1740409101911699

@corneliusroemer corneliusroemer added feature Feature proposal Low priority For issues that are lower priority than average website Tasks related to the web application labels Feb 25, 2025
@theosanderson
Copy link
Member

theosanderson commented Feb 25, 2025

We could also just not show stats here, it was a relatively arbitrary choice of what to have as the image. I'm not sure I would be in favour of trying to do this programmatically when for example, we already have 5 pathogens so it would be harder to fit them on here, and we may have more at some stage.

@theosanderson theosanderson added the proposed_for_closure Someone has suggested closing this issue label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature proposal Low priority For issues that are lower priority than average proposed_for_closure Someone has suggested closing this issue website Tasks related to the web application
Projects
None yet
Development

No branches or pull requests

2 participants