Open ikesau opened 3 days ago
Resolves https://github.com/owid/owid-grapher/issues/3661
Decided to go with an overload to support these 2 cases:
Seemed better than converting all the slugs to full URLs but I'm happy to change it if we don't like the overload pattern.
GrapherImage usage:
GrapherImage
gdocs/blocks/Charts.tsx
GrapherPage.tsx
GrapherWithFallback.tsx
RelatedChart.tsx
AllChartsListItem.tsx
DynamicCollection.tsx
StaticCollection.tsx
Login: ssh owid@staging-site-gdoc-grapher-previews
ssh owid@staging-site-gdoc-grapher-previews
Edited: 2024-06-25 22:51:39 UTC Execution time: 1.12 seconds
Resolves https://github.com/owid/owid-grapher/issues/3661
Decided to go with an overload to support these 2 cases:
Seemed better than converting all the slugs to full URLs but I'm happy to change it if we don't like the overload pattern.
GrapherImage
usage:gdocs/blocks/Charts.tsx
- worksGrapherPage.tsx
- worksGrapherWithFallback.tsx
- worksRelatedChart.tsx
- worksAllChartsListItem.tsx
- worksDynamicCollection.tsx
- n/a, needs JS to functionStaticCollection.tsx
- n/a, needs JS to function