diff --git a/gradle/changelog/title_in_tag.yaml b/gradle/changelog/title_in_tag.yaml new file mode 100644 index 0000000000..f9e7048ada --- /dev/null +++ b/gradle/changelog/title_in_tag.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Title in tags (for example for "done" tags in review plugin) diff --git a/scm-ui/ui-components/src/Tag.tsx b/scm-ui/ui-components/src/Tag.tsx index 43b7808e41..ee925c92c7 100644 --- a/scm-ui/ui-components/src/Tag.tsx +++ b/scm-ui/ui-components/src/Tag.tsx @@ -78,6 +78,7 @@ const Tag: FC = ({ }, size === "small" && smallClassNames )} + title={title} > {showIcon} {label} diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index aed5f205e5..9bc31d3554 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -85187,6 +85187,7 @@ exports[`Storyshots Tag With title 1`] = ` > hover me