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

fix: Double visualize.admin.ch footnote in published chart image downloads #1956

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

bprusinowski
Copy link
Collaborator

@bprusinowski bprusinowski commented Jan 8, 2025

Closes #1928 (comment)

This PR makes sure we only have one "Created with visualize.admin.ch" footnote when making a screenshot of a published chart.

How to test

  1. Go to this link.
  2. Download an image of the chart.
  3. ✅ See that the "Created with visualize.admin.ch" footnote is only there once.

How to reproduce

  1. Go to this link.
  2. Download an image of the chart.
  3. ❌ See that the "Created with visualize.admin.ch" footnote is there twice.

cc @sosiology

Copy link

vercel bot commented Jan 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool 🛑 Canceled (Inspect) Jan 8, 2025 2:19pm

@bprusinowski bprusinowski marked this pull request as ready for review January 8, 2025 14:03
@sosiology
Copy link
Contributor

Thanks for the quick fix @bprusinowski working as expected now 🙇

Copy link
Contributor

@noahonyejese noahonyejese left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@bprusinowski bprusinowski force-pushed the fix/double-made-with-visualize-screenshot branch from 554679f to 97143d0 Compare January 8, 2025 14:18
@bprusinowski bprusinowski merged commit 7b13dbf into main Jan 8, 2025
3 of 4 checks passed
@bprusinowski bprusinowski deleted the fix/double-made-with-visualize-screenshot branch January 8, 2025 14:18
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.

✓ Development: Image Download Single Chart
3 participants