Skip to content

Commit 3eb689d

Browse files
authored
Merge pull request #44 from davefranz/async-modal
changed label text for actionsFile and typesFile, added placeholder text
2 parents 0eae2cd + a6f07a1 commit 3eb689d

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

src/containers/LeftPanel/Thunk/Thunk.jsx

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// component to be rendered in the electron app
2-
31
import React, { useContext } from 'react';
42
import styles from '../Thunk/Thunk.module.scss';
53
import { GlobalContext } from '../../../context/globalReducer';
@@ -9,7 +7,6 @@ import {
97
updateActionsFilePath,
108
updateTypesFilePath,
119
} from '../../../context/reduxTestCaseActions';
12-
import ToolTip from '../ToolTip/ToolTip';
1310
import ToolTipAsync from '../ToolTip/ToolTipAsync';
1411
import { Draggable } from 'react-beautiful-dnd';
1512
const 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

Comments
 (0)