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

Tracking issue: details on demand

Open larsyencken opened this issue 2 years ago • 0 comments

Overview

We have general concepts that we want to explain to users, but re-writing them often is both error prone and a maintenance nightmare. To attempt to solve this, we have two systems, Details on Demand (https://owid.cloud/admin/details) and the Glossary.

To properly make use of Details on Demand, we that it should be supported in Grapher charts, in Explorers, and that it should power the glossary function that we have experimented with in the past.

Screen Shot 2022-10-13 at 12 53 56

Stakeholder

@JoeHasell

Issues

  • [x] #1448
  • [ ] #1705
  • [ ] #1706

Technical notes

Finding examples

Here are a few examples:

  • https://ourworldindata.org/grapher/number-un-peacekeeping-missions
  • https://ourworldindata.org/grapher/supercomputer-power-flops

You can find charts that use details on demand by looking for the syntax:

select id, json_unquote(json_extract(config, '$.slug')) slug
from charts
where config like "%::%"

larsyencken avatar Oct 13 '22 10:10 larsyencken