From a41730c6ead2ebf297b13be794af0240d986ad03 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Sat, 7 Nov 2020 06:31:11 -0500 Subject: [PATCH] [plugin-jenkins] Add tooltip to Jenkins build rerun (#3251) * Add tooltop to Jenkins build rerun * Add tooltip to spelling --- .changeset/calm-emus-push.md | 5 +++++ .github/styles/vocab.txt | 1 + .../src/components/BuildsPage/lib/CITable/CITable.tsx | 10 ++++++---- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .changeset/calm-emus-push.md diff --git a/.changeset/calm-emus-push.md b/.changeset/calm-emus-push.md new file mode 100644 index 0000000000..b83f442c8a --- /dev/null +++ b/.changeset/calm-emus-push.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-jenkins': minor +--- + +Add tooltip for Jenkins rerun button diff --git a/.github/styles/vocab.txt b/.github/styles/vocab.txt index ecb8fdf3c1..3c5fa34adc 100644 --- a/.github/styles/vocab.txt +++ b/.github/styles/vocab.txt @@ -191,6 +191,7 @@ toc tolerations Tolerations toolsets +tooltip touchpoints ui upvote diff --git a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx index 23f9af445c..5d5d7d9fcd 100644 --- a/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx +++ b/plugins/jenkins/src/components/BuildsPage/lib/CITable/CITable.tsx @@ -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) => ( - - - + + + + + ), width: '10%', },