Naively prepopulated based on the current parentId structure in the tags table
Adds the @dnd-kit/core library to our admin
Adds a new admin route /tag-graph to quickly and conveniently structure the tag graph
Updates the /tags admin UI to be a flat list of all tags and a simple form to add a new tag
This PR doesn't introduce any breaking changes or migrations to existing interactions with our tags table. Only once we've merged this and the data and research team has created a tag graph they're happy with, we can migrate functionality over to use the graph.
SVG tester:
Number of differences (default views): 4530 ([e117a3](https://github.com/owid/owid-grapher-svgs/commit/e117a3f770b7ac6188d2c230ccc9d78fe59120c3)) ❌
Number of differences (all views): 2744 ([934a71](https://github.com/owid/owid-grapher-svgs/commit/934a71d5d11aee7fdf4e1ac4857bddb87da26a87)) ❌
Changes
tag_graph
table in the DBtags
table@dnd-kit/core
library to our admin/tag-graph
to quickly and conveniently structure the tag graph/tags
admin UI to be a flat list of all tags and a simple form to add a new tagThis PR doesn't introduce any breaking changes or migrations to existing interactions with our tags table. Only once we've merged this and the data and research team has created a tag graph they're happy with, we can migrate functionality over to use the graph.
Demo
https://github.com/owid/owid-grapher/assets/11844404/2d9ba907-95d9-4108-a14d-b42e92d687e3