Open simonw opened 2 years ago
I think every enrichment run - at least at first - is kicked off from the table page. That way users can filter the table using existing tools to just the subset of data that they want to enrich.
This means it needs to be activated from the table cog menu.
Different enrichments will have different settings.
Maybe every available enrichment becomes an item in the cog menu?
These then take the user to a custom page with settings for that enrichment. They hit submit on that to kick off the process.
Maybe it then sends them back to the table with an added progress bar showing progress?
I think this is the way to go - an entire separate page for starting an enrichment.
Some enrichments will act against a single column, and can start with a select box to pick that column
Others might allow multiple columns to be selected, maybe as a list of column names with checkboxes
There will be questions about where the enriched data should be stored - in a new column called X, or multiple columns (for e.g. geocode to latitude/longitude), or some may use their own tables.
Originally posted by @simonw in https://github.com/simonw/datasette-enrichments/issues/1#issuecomment-1034384356