1
0
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:
Nuno Góis 2024-10-07 12:40:47 +01:00 committed by GitHub
parent 01dfbcd74c
commit 864984e212
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -119,7 +119,7 @@ export const EventTimelineHeader = ({
</StyledFilter>
)}
/>
<Tooltip title='Hide timeline' arrow>
<Tooltip title='Hide event timeline' arrow>
<IconButton
aria-label='close'
size='small'

View File

@ -44,7 +44,10 @@ export const HeaderEventTimelineButton = () => {
if (!eventTimeline) return null;
return (
<Tooltip title={showTimeline ? 'Hide timeline' : 'Show timeline'} arrow>
<Tooltip
title={showTimeline ? 'Hide event timeline' : 'Show event timeline'}
arrow
>
<StyledHeaderEventTimelineButton
highlighted={highlighted}
onClick={() => {