Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design UI #5

Closed
simonw opened this issue Feb 10, 2022 · 3 comments
Closed

Design UI #5

simonw opened this issue Feb 10, 2022 · 3 comments
Labels

Comments

@simonw
Copy link
Collaborator

simonw commented Feb 10, 2022

  • The user interface to allow Datasette users to kick off the enrichment process against tables and columns in their Datasette instance

Originally posted by @simonw in #1 (comment)

@simonw
Copy link
Collaborator Author

simonw commented Jan 4, 2023

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?

  • Enrich: Geocode OpenStreetMap
  • Enrich: GPT3 Prompt
  • Enrich: Embeddings

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?

@simonw
Copy link
Collaborator Author

simonw commented Feb 4, 2023

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.

simonw added a commit that referenced this issue Nov 2, 2023
@simonw
Copy link
Collaborator Author

simonw commented Nov 6, 2023

I decided to use WTForms for validation.

Here's the latest UI prototype:

CleanShot 2023-11-05 at 21 20 48@2x

simonw added a commit that referenced this issue Nov 6, 2023
@simonw simonw added this to the First alpha milestone Nov 13, 2023
@simonw simonw removed this from the First alpha milestone Nov 29, 2023
@simonw simonw closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant