[plugin-jenkins] Add tooltip to Jenkins build rerun (#3251)
* Add tooltop to Jenkins build rerun * Add tooltip to spelling
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-jenkins': minor
|
||||
---
|
||||
|
||||
Add tooltip for Jenkins rerun button
|
||||
@@ -191,6 +191,7 @@ toc
|
||||
tolerations
|
||||
Tolerations
|
||||
toolsets
|
||||
tooltip
|
||||
touchpoints
|
||||
ui
|
||||
upvote
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
import React, { FC } from 'react';
|
||||
import { Box, IconButton, Link, Typography } from '@material-ui/core';
|
||||
import { Box, IconButton, Link, Typography, Tooltip } from '@material-ui/core';
|
||||
import RetryIcon from '@material-ui/icons/Replay';
|
||||
import GitHubIcon from '@material-ui/icons/GitHub';
|
||||
import { generatePath, Link as RouterLink } from 'react-router-dom';
|
||||
@@ -179,9 +179,11 @@ const generatedColumns: TableColumn[] = [
|
||||
title: 'Actions',
|
||||
sorting: false,
|
||||
render: (row: Partial<CITableBuildInfo>) => (
|
||||
<IconButton onClick={row.onRestartClick}>
|
||||
<RetryIcon />
|
||||
</IconButton>
|
||||
<Tooltip title="Rerun build">
|
||||
<IconButton onClick={row.onRestartClick}>
|
||||
<RetryIcon />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
),
|
||||
width: '10%',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user