Rill Developer: "Source imported successfully" message shows before ingest completes
ericpgreen2 opened this issue · comments
To reproduce
- Start a new project from scratch
- From the root page
http://localhost:9009/
, add a new data source. Here's a GCS data source that can take ~50s to ingest: gs://pkg.rilldata.com/example-data/sf311.parquet - Immediately see the "Source imported successfully" message. This message appears before the source has completed ingest.
Expected behavior
- Submission of the Add Source modal should take me to the Source YAML page.
- During ingest, the Table Preview and the Source Inspector should both show an "Ingesting [source]" spinner.
- A non-blocking toast message notification should be displayed when the source completes ingest. During long-running ingest, a user should be able to proceed with other tasks and not be interrupted by a blocking CTA when the ingest completes asynchronously.