owid / owid-grapher

A platform for creating interactive data visualizations
https://ourworldindata.org
MIT License
1.4k stars 228 forks source link

More flexible search for published & unpublished DIs #4069

Open JoeHasell opened 1 month ago

JoeHasell commented 1 month ago

Core problem

As we accumulate more and more DIs, it's becoming tricky to check whether someone has already written a given DI.

Proposed solution

Expand the search on https://admin.owid.io/admin/gdocs to include the body of gdocs, not just the title. Possibly filtering by topic would be helpful too.

Alternatives

Context

The current search in admin applies only to titles, so you have to think of many synonyms if you want to check that no one has written about the thing you're thinking about.

JoeHasell commented 3 weeks ago

Here is a better datasette query: that allows you to filter by topic and search for a string within the body (markdown), now including both published, scheduled and draft DIs.