1- // component to be rendered in the electron app
2-
31import React , { useContext } from 'react' ;
42import styles from '../Thunk/Thunk.module.scss' ;
53import { GlobalContext } from '../../../context/globalReducer' ;
97 updateActionsFilePath ,
108 updateTypesFilePath ,
119} from '../../../context/reduxTestCaseActions' ;
12- import ToolTip from '../ToolTip/ToolTip' ;
1310import ToolTipAsync from '../ToolTip/ToolTipAsync' ;
1411import { Draggable } from 'react-beautiful-dnd' ;
1512const closeIcon = require ( '../../../assets/images/close.png' ) ;
@@ -59,20 +56,21 @@ const Async = ({ async, index, dispatchToReduxTestCase }) => {
5956
6057 < div id = { styles . filesFlexBox } >
6158 < div id = { styles . files } >
62- < label htmlFor = 'actionsFile' > Actions File Name </ label >
59+ < label htmlFor = 'actionsFile' > Import Actions From </ label >
6360 < input
6461 type = 'text'
62+ placeholder = 'File Name'
6563 id = { styles . renderInputBox }
6664 value = { async . actionsFile }
6765 onChange = { handleChangeActionsFileName }
6866 />
6967 </ div >
70- { /* trying to align question tooltip question mark */ }
7168
7269 < div id = { styles . files } >
73- < label htmlFor = 'typesFile' > Types File Name </ label >
70+ < label htmlFor = 'typesFile' > Import Actions Types From </ label >
7471 < input
7572 type = 'text'
73+ placeholder = 'File Name'
7674 id = { styles . renderInputBox }
7775 value = { async . typesFile }
7876 onChange = { handleChangeTypesFileName }
@@ -90,7 +88,6 @@ const Async = ({ async, index, dispatchToReduxTestCase }) => {
9088 />
9189 </ div >
9290
93- { /* <div id={styles.queryFlexBox}> */ }
9491 < div id = { styles . querySelector } >
9592 < label htmlFor = 'method' > Method</ label >
9693 < div id = { styles . dropdownFlex } >
@@ -105,13 +102,6 @@ const Async = ({ async, index, dispatchToReduxTestCase }) => {
105102 < option value = 'put' > put</ option >
106103 < option value = 'delete' > delete</ option >
107104 </ select >
108- { /* <span id={styles.hastooltip} role='tooltip'>
109- <img src={questionIcon} alt='help' />
110- <span id={styles.tooltip}>
111- <ToolTipAsync toolTipType={`method`} />
112- </span>
113- </span> */ }
114- { /* </div> */ }
115105 </ div >
116106 </ div >
117107 < div id = { styles . files } >
@@ -123,12 +113,6 @@ const Async = ({ async, index, dispatchToReduxTestCase }) => {
123113 placeholder = 'eg. /route'
124114 onChange = { e => handleChangeAsyncFields ( e , 'route' ) }
125115 />
126- { /* <span id={styles.hastooltip} role='tooltip'>
127- <img src={questionIcon} alt='help' />
128- <span id={styles.tooltip}>
129- <ToolTipAsync toolTipType={`route`} />
130- </span>
131- </span> */ }
132116 </ div >
133117 </ div >
134118 </ div >
0 commit comments