-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MM-58405] Migrate tooltips of 'components/announcement_bar/default_announcement_bar/announcement_bar' to WithTooltip #27244
Conversation
…_bar/announcement_bar' to WithTooltip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments on this.
@@ -170,11 +164,12 @@ export default class AnnouncementBar extends React.PureComponent<Props, State> { | |||
css={{gridArea: 'announcement'}} | |||
data-testid={this.props.id} | |||
> | |||
<OverlayTrigger | |||
delayShow={Constants.OVERLAY_TIME_DELAY} | |||
<WithTooltip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@M-ZubairAhmed Out of the scope of this PR, and probably something we won't tackle for a while, but I feel the announcement banner is making a weird use of the tooltips. Maybe we should revisit the announcement banner as a whole with UX to clarify how it should look and behave, instead of being so "free" as it is now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@larkox i definetly agree with that do you think we can merge this pr without those change or should we fix that and then come back to this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say let's merge this one, since it is practically done, and we can open a more detailed effort afterwards.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to open a ticket with proposed fix when you get time
.../channels/src/components/announcement_bar/default_announcement_bar/announcement_bar.test.tsx
Outdated
Show resolved
Hide resolved
Not triggering E2E tests: this PR has 8 commit status(es) or check-runs that are not passing. Ensure all statuses aside from the E2E testing ones are green, before triggering E2E tests. |
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working through this :), can you please check the failing test ci @MeHow25
Sorry. I forgot to remove some unnecessary code. I removed it now and it should be ok. |
/update-branch |
Test server destroyed |
Summary
Migrate tooltips of 'components/announcement_bar/default_announcement_bar/announcement_bar' to WithTooltip.
Ticket Link
Fixes #27158
Jira https://mattermost.atlassian.net/browse/MM-58405
Screenshots
Release Note