New: Tooltips for remove actions

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/6/head
Qstick 6 years ago
parent 14867cff7e
commit 4712f7f947

@ -141,6 +141,7 @@ class BlacklistRow extends Component {
onPress={this.onDetailsPress} onPress={this.onDetailsPress}
/> />
<IconButton <IconButton
title="Remove from blacklist"
name={icons.REMOVE} name={icons.REMOVE}
kind={kinds.DANGER} kind={kinds.DANGER}
onPress={onRemovePress} onPress={onRemovePress}

@ -268,6 +268,7 @@ class QueueRow extends Component {
} }
<SpinnerIconButton <SpinnerIconButton
title="Remove from queue"
name={icons.REMOVE} name={icons.REMOVE}
isSpinning={isRemoving} isSpinning={isRemoving}
onPress={this.onRemoveQueueItemPress} onPress={this.onRemoveQueueItemPress}

@ -40,6 +40,7 @@ function ImportArtistRootFolderRow(props) {
<TableRowCell className={styles.actions}> <TableRowCell className={styles.actions}>
<IconButton <IconButton
title="Remove root folder"
name={icons.REMOVE} name={icons.REMOVE}
onPress={onDeletePress} onPress={onDeletePress}
/> />

@ -133,6 +133,7 @@ class ArtistHistoryRow extends Component {
{ {
eventType === 'grabbed' && eventType === 'grabbed' &&
<IconButton <IconButton
title="Mark as failed"
name={icons.REMOVE} name={icons.REMOVE}
onPress={this.onMarkAsFailedPress} onPress={this.onMarkAsFailedPress}
/> />

@ -89,6 +89,7 @@ class CustomFilter extends Component {
/> />
<SpinnerIconButton <SpinnerIconButton
title="Remove filter"
name={icons.REMOVE} name={icons.REMOVE}
isSpinning={this.state.isDeleting} isSpinning={this.state.isDeleting}
onPress={this.onRemovePress} onPress={this.onRemovePress}

@ -44,8 +44,8 @@ class RecentFolderRow extends Component {
<TableRowCell className={styles.actions}> <TableRowCell className={styles.actions}>
<IconButton <IconButton
name={icons.REMOVE}
title="Remove" title="Remove"
name={icons.REMOVE}
onPress={this.onRemovePress} onPress={this.onRemovePress}
/> />
</TableRowCell> </TableRowCell>

@ -114,6 +114,7 @@ class BackupRow extends Component {
/> />
<IconButton <IconButton
title="Delete backup"
name={icons.DELETE} name={icons.DELETE}
onPress={this.onDeletePress} onPress={this.onDeletePress}
/> />

@ -224,6 +224,7 @@ class QueuedTaskRow extends Component {
{ {
status === 'queued' && status === 'queued' &&
<IconButton <IconButton
title="Removed from task queue"
name={icons.REMOVE} name={icons.REMOVE}
onPress={this.onCancelPress} onPress={this.onCancelPress}
/> />

Loading…
Cancel
Save