Open russorat opened 3 years ago
@taramk Can you work w/ me to come up with new text for the bottom of the new .csv upload page? I could also use your help coming up with a good error message in the event that the csv upload fails.
Figma: https://www.figma.com/file/U2zSUPmTAkOofGEpQkNe5T/Upload-a-CSV?node-id=6%3A28
Text replacements are shown in red. The other change we've made is to move the intro paragraph above bucket selection.
@Luckette
@hoorayimhelping and Amy to turn these into smaller tickets.
The CSV upload is super annoying! Even when trying examples from https://docs.influxdata.com/influxdb/cloud/reference/syntax/annotated-csv/#data-types it fails.
Case1 Failed to upload the selected CSV: runtime error @3:14-3:32: to: no column with label _measurement exists Of course it is missing, because by the documentation measurement should work.
Case2 Adding the column and the error still is Failed to upload the selected CSV: runtime error @3:14-3:32: to: no column with label _measurement exists
Case3 Example from homepage works
Case4 Setting one column as ignore the error is: Failed to upload the selected CSV: error in csv.from(): failed to read metadata: column "region" has invalid datatype: unsupported data type "ignore"
I did other examples and it seems to me that any change to the example breaks the import. Maybe some logic is expecting different name for the datatypes one "_" is used anywhere in the [file.]
Currently the error message is: https://docs.inf case1.csv case2.csv case3.csv case4.csv
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
#group | false | false | false | false | true | false | true -- | -- | -- | -- | -- | -- | -- | -- #datatype | string | long | dateTime:RFC3339 | double | string | string | string #default | _result | | | | | | | result | table | _time | _value | _field | _measurement | sensor_id
Problem & Opportunity
Users are having trouble loading data that's in a .csv file format through the UI. This is because the UI drag-and-drop section for loading .csv data requires the flux annotated .csv format. It's not obvious to new users what those annotations have to be, despite the documentation available to them. This is causing users to get stuck at the very beginning of their journey with what should be a very simple .csv file upload and data exploration. The most common reason that .csv files fail to upload is the missing annotations. Our opportunity is to design out this common user failure by offering a clean, user-friendly, step-by-step .csv annotation applier to users' raw .csv files that are missing annotations. Simultaneously, we will maintain the ability to upload properly annotated .csv files. This capability will help users with any ingestion preference because inspecting the shape of your data via .csv files is an efficient way to quickly make sure your ingestion method, preferred measurements, fields, and tags meet the needs of your data analytics or application development business needs.
Core Team
Figma Design
https://www.figma.com/file/U2zSUPmTAkOofGEpQkNe5T/Upload-a-CSV?node-id=211%3A1640
Design Principles
Basic Expectations
Test .csv Files
Here are some sample annotated CSVs:
User Stories and ACs
User Story: Manage by Feature Flag
User Story: Upload your File
User Story: Configure your File
User Story: End-to-End Testing
User Story: UI Eventing
User Story: Remove Feature Flag
Dev Notes (Implementation Details)