Skip to content

Commit

Permalink
#687 updated visual of tag selector
Browse files Browse the repository at this point in the history
  • Loading branch information
matej-vavrek committed Nov 29, 2021
1 parent d9b6b3b commit f7592dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/components/preview/tags/tagSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const TagSelector = memo(({ handleHeightChange }) => {
hasHeader
hasExpansion
defaultExpanded
title="Tag selector"
title="Hit List Filter"
headerActions={[
<FormControlLabel
control={<TagModeSwitch checked={tagMode} onChange={filteringModeSwitched} name="tag-filtering-mode" />}
Expand All @@ -148,10 +148,10 @@ const TagSelector = memo(({ handleHeightChange }) => {
color="inherit"
variant="text"
size="small"
startIcon={selectAll ? <DoneAll /> : <Delete />}
startIcon={<DoneAll />}
data-id="tagSelectionButton"
>
{selectAll ? 'Select all tags' : 'Clear selection'}
{selectAll ? 'Select all tags' : 'Unselect'}
</Button>
]}
onExpandChange={expand => {
Expand Down
2 changes: 1 addition & 1 deletion js/components/preview/tags/tagView.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TagEditModal } from './modal/tagEditModal';

const useStyles = makeStyles(theme => ({
tagItem: {
paddingBottom: 6
paddingBottom: 0
},
chip: {
// maxWidth: '100%',
Expand Down
2 changes: 1 addition & 1 deletion js/constants/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const ARROW_TYPE = {
export const CATEGORY_TYPE = {
SITE: 'Sites',
SERIES: 'Series',
FORUM: 'Forum',
FORUM: 'Discussion',
OTHER: 'Other'
};

Expand Down

0 comments on commit f7592dc

Please sign in to comment.