owid-grapher icon indicating copy to clipboard operation
owid-grapher copied to clipboard

🎉 Country profiles

Open ikesau opened this issue 6 months ago • 5 comments

Figma

Country profiles are a new archie gdoc type.

The idea is you write a gdoc with type: profile and scope: countries

This gdoc is a template featuring generic content and placeholder tokens (e.g.$entityName when we need to refer to the country by name.)

That template then gets instantiated with every country in its scope.

image

Staging example

(You can change the previewed entity in the top of the preview settings drawer)

image

In a follow-up PR, a component is added which allows us to show/hide sections based on which country is instantiated.

ikesau avatar Oct 28 '25 20:10 ikesau

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-country-profiles

  • Site-screenshots: https://github.com/owid/site-screenshots/compare/country-profiles
  • SVG tester: https://github.com/owid/owid-grapher-svgs/compare/country-profiles
Archive:
SVG tester:

Number of differences (default views): error ❓ Number of differences (all views): error ❓

Edited: 2025-12-19 14:25:33 UTC Execution time: 1.48 seconds

owidbot avatar Oct 28 '25 20:10 owidbot

@copilot review

ikesau avatar Nov 21 '25 22:11 ikesau

@ikesau I've opened a new pull request, #5705, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot avatar Nov 21 '25 22:11 Copilot

@codex review

ikesau avatar Nov 26 '25 15:11 ikesau

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

socket-security[bot] avatar Dec 02 '25 18:12 socket-security[bot]