diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 8b52a7f..4ec7c35 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,10 @@
-
+
-
-
+
+
@@ -24,7 +24,7 @@
@@ -142,6 +142,20 @@
"number": 117
},
"lastSeen": 1747929835864
+ },
+ {
+ "id": {
+ "id": "PR_kwDOMJIfts6XY-mZ",
+ "number": 119
+ },
+ "lastSeen": 1748028108508
+ },
+ {
+ "id": {
+ "id": "PR_kwDOMJIfts6Xdz4n",
+ "number": 120
+ },
+ "lastSeen": 1748282672214
}
]
}]]>
@@ -197,7 +211,7 @@
"Vitest.replaceText function (regexp mode).should return the original text when passed an invalid regexp.executor": "Run",
"Vitest.replaceText function.executor": "Run",
"Vitest.timeBetweenDates.executor": "Run",
- "git-widget-placeholder": "#117 on fork/nevolodia/flip-video",
+ "git-widget-placeholder": "#120 on chesterkxng",
"ignore.virus.scanning.warn.message": "true",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "C:/Users/Ibrahima/IdeaProjects/omni-tools/src",
@@ -433,30 +447,8 @@
-
-
-
- 1741419527557
-
-
-
- 1741419527557
-
-
-
- 1741423117739
-
-
-
- 1741423117739
-
-
-
- 1741423587662
-
-
-
- 1741423587662
+
+
@@ -826,7 +818,31 @@
1747172914927
-
+
+
+ 1748027090253
+
+
+
+ 1748027090253
+
+
+
+ 1748027889103
+
+
+
+ 1748027889103
+
+
+
+ 1748028055669
+
+
+
+ 1748028055669
+
+
@@ -873,8 +889,6 @@
-
-
@@ -897,8 +911,10 @@
+
-
+
+
diff --git a/src/components/options/TextareaWithDesc.tsx b/src/components/options/TextareaWithDesc.tsx
deleted file mode 100644
index 9e48dca..0000000
--- a/src/components/options/TextareaWithDesc.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import { Box, TextField, TextFieldProps } from '@mui/material';
-import Typography from '@mui/material/Typography';
-import React from 'react';
-
-type OwnProps = {
- description?: string;
- value: string;
- onOwnChange: (value: string) => void;
- placeholder?: string;
- rows?: number;
-};
-
-const TextareaWithDesc = ({
- description,
- value,
- onOwnChange,
- placeholder,
- minRows = 3,
- ...props
-}: TextFieldProps & OwnProps) => {
- return (
-
- onOwnChange(event.target.value)}
- sx={{
- backgroundColor: 'background.paper',
- '& .MuiInputBase-root': {
- overflow: 'hidden' // ✨ Prevent scrollbars
- }
- }}
- {...props}
- />
- {description && (
-
- {description}
-
- )}
-
- );
-};
-
-export default TextareaWithDesc;
diff --git a/src/pages/tools/csv/insert-csv-columns/index.tsx b/src/pages/tools/csv/insert-csv-columns/index.tsx
index 0c6b76e..db45420 100644
--- a/src/pages/tools/csv/insert-csv-columns/index.tsx
+++ b/src/pages/tools/csv/insert-csv-columns/index.tsx
@@ -10,7 +10,6 @@ import { main } from './service';
import { getCsvHeaders } from '@utils/csv';
import { InitialValuesType } from './types';
import TextFieldWithDesc from '@components/options/TextFieldWithDesc';
-import TextareaWithDesc from '@components/options/TextareaWithDesc';
import SelectWithDesc from '@components/options/SelectWithDesc';
const initialValues: InitialValuesType = {
@@ -143,11 +142,13 @@ export default function InsertCsvColumns({
title: 'CSV to insert',
component: (
- updateField('csvToInsert', val)}
title="CSV separator"
- description={`Enter one or more columns you want to insert into the CSV.
+ description={`Enter one or more columns you want to insert into the CSV.
the character used to delimit columns has to be the same with the one in the CSV input file.
Ps: Blank lines will be ignored`}
/>