Skip to content

Commit

Permalink
Add hover text to column search field
Browse files Browse the repository at this point in the history
Added title field indicating a regex is expected to search column input fields

This will help users correctly enter valid input into the column search,
avoiding an issue our test team had when trying to search with '(x86'.

Signed-off-by: Dylan Leclair dleclair@blackberry.com
  • Loading branch information
dleclairbb authored and bhufmann committed Jun 19, 2023
1 parent 5e1efd4 commit 297af68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exports[`<TableOutputComponent /> Empty search filter renderer 1`] = `
onClick={[Function]}
onMouseEnter={[Function]}
onMouseLeave={[Function]}
title="Enter a regular expression"
>
<svg
aria-hidden="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class SearchFilterRenderer extends React.Component<SearchFilterRendererPr
onMouseEnter={this.onMouseEnterHandler}
onMouseLeave={this.onMouseLeaveHandler}
onClick={this.onClickHandler}
title="Enter a regular expression"
>
{!this.state.hasClicked && !this.state.hasHovered && (
<FontAwesomeIcon style={{ marginLeft: '10px' }} icon={faSearch} />
Expand Down

0 comments on commit 297af68

Please sign in to comment.