Skip to content

Commit b281bc0

Browse files
fix(writeData): fixes some text and icons to match product requirements (#5972)
1 parent f7a26f4 commit b281bc0

File tree

3 files changed

+92
-4
lines changed

3 files changed

+92
-4
lines changed

src/writeData/components/FileUploadSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const FileUploadSection = () => {
5050
weight={FontWeight.Regular}
5151
style={{marginBottom: '24px'}}
5252
>
53-
Upload line protocol or Annotated CSVs
53+
Upload CSV or a line protocol file
5454
</Heading>
5555
<SquareGrid cardSize="170px" gutter={ComponentSize.Small}>
5656
{items.map(item => {

src/writeData/constants/contentFileUploads.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import CSVMarkdown from 'src/writeData/components/fileUploads/CSV.md'
66
// Graphics
77
import CSVLogo from 'src/writeData/graphics/csv.svg'
88
import LPLogo from 'src/writeData/graphics/lp.svg'
9+
import CLIIcon from 'src/writeData/graphics/CLIIcon.svg'
910

1011
// Types
1112
export interface FileUpload {
@@ -18,7 +19,7 @@ export interface FileUpload {
1819
export const WRITE_DATA_FILE_UPLOADS: FileUpload[] = [
1920
{
2021
id: 'annotated_csv',
21-
name: 'Flux Annotated CSV',
22+
name: 'Upload a CSV',
2223
image: CSVLogo,
2324
markdown: AnnotatedCSVMarkdown,
2425
},
@@ -30,8 +31,8 @@ export const WRITE_DATA_FILE_UPLOADS: FileUpload[] = [
3031
},
3132
{
3233
id: 'csv',
33-
name: 'CSV Data (CLI)',
34-
image: CSVLogo,
34+
name: 'Influx CLI',
35+
image: CLIIcon,
3536
markdown: CSVMarkdown,
3637
},
3738
]

src/writeData/graphics/CLIIcon.svg

Lines changed: 87 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)