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

Downloading a mobile export in the admin reverts the selection #3938

Closed
larsyencken opened this issue Sep 9, 2024 · 0 comments · Fixed by #3964
Closed

Downloading a mobile export in the admin reverts the selection #3938

larsyencken opened this issue Sep 9, 2024 · 0 comments · Fixed by #3964
Assignees

Comments

@larsyencken
Copy link
Contributor

Problem

Suppose you want to customize then export a chart, say for a data insight. A selection change you make in the admin is not preserved when you export a mobile PNG or SVG, instead the selection reverts to the saved selection.

Steps to reproduce

  1. Take a chart like this one in the admin: https://admin.owid.io/admin/charts/7168/edit
  2. Modify the selection, from France to Sweden
  3. Click on the export tab
  4. Download a desktop PNG, observe the PNG is for Sweden ✅
  5. Download a mobile PNG, observe the PNG is for France (the default), and that the selection reverts ❌

Expected behaviour

Downloading a mobile PNG or SVG should not change the selection, and the download should be of the chart as you see it.

Workaround

You can save a new draft copy of the chart, update and save the selection you want, then export that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants