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 KeyIndicator not showing grapher with a redirect #4528

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

rakyi
Copy link
Contributor

@rakyi rakyi commented Feb 5, 2025

We need to pass the unresolved URL to Chart, where we resolve it with useLinkedChart again. If we pass the already resolved URL for a chart that was redirected, it won't be found in the attachments.

See Slack discussion.

We need to pass the unresolved URL to Chart, where we resolve it with
useLinkedChart again. If we pass the already resolved URL for a chart
that was redirected, it won't be found in the attachments.
@rakyi rakyi requested a review from ikesau February 5, 2025 11:15
@owidbot
Copy link
Contributor

owidbot commented Feb 5, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-fix-key-indicator-grapher-re

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-02-05 11:30:55 UTC
Execution time: 1.21 seconds

Copy link
Member

@ikesau ikesau left a comment

Choose a reason for hiding this comment

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

nice find 🙇

@rakyi rakyi merged commit 3735b37 into master Feb 5, 2025
34 checks passed
@rakyi rakyi deleted the fix-key-indicator-grapher-redirect branch February 5, 2025 15:25
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