mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: better show hide event timeline tooltips (#8379)
https://linear.app/unleash/issue/2-2753/improve-current-showhide-tooltips-to-be-more-specific-about-the Improves the "show" and "hide" tooltips of this feature to have a slightly more specific text. This is not just any timeline, this is the **event timeline**. - "Hide timeline" -> "Hide event timeline" - "Show timeline" -> "Show event timeline"
This commit is contained in:
parent
01dfbcd74c
commit
864984e212
@ -119,7 +119,7 @@ export const EventTimelineHeader = ({
|
|||||||
</StyledFilter>
|
</StyledFilter>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<Tooltip title='Hide timeline' arrow>
|
<Tooltip title='Hide event timeline' arrow>
|
||||||
<IconButton
|
<IconButton
|
||||||
aria-label='close'
|
aria-label='close'
|
||||||
size='small'
|
size='small'
|
||||||
|
@ -44,7 +44,10 @@ export const HeaderEventTimelineButton = () => {
|
|||||||
if (!eventTimeline) return null;
|
if (!eventTimeline) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tooltip title={showTimeline ? 'Hide timeline' : 'Show timeline'} arrow>
|
<Tooltip
|
||||||
|
title={showTimeline ? 'Hide event timeline' : 'Show event timeline'}
|
||||||
|
arrow
|
||||||
|
>
|
||||||
<StyledHeaderEventTimelineButton
|
<StyledHeaderEventTimelineButton
|
||||||
highlighted={highlighted}
|
highlighted={highlighted}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user