mattermost-plugin-jira
mattermost-plugin-jira copied to clipboard
[MM-1028]: Fixed the issue of title being truncated without ellipses in tooltip modal
Summary
- Fixed the issue of the title being truncated without ellipses in the tooltip modal Added hover text for the tooltip title
Ticket Link
Fixes https://github.com/mattermost/mattermost-plugin-jira/issues/1028 Fixes https://github.com/mattermost/mattermost-plugin-jira/issues/1077
Screenshots
Title
Old
New
@Kshitij-Katiyar While testing this PR, I found a minor issue related to extra spaces in the title in Jira issue. If we try to add extra spaces in between the words of the title of a Jira issue, it is shown with proper spacing on Jira. But if we hover over the link of the same ticket on MM, then the text gets truncated as if the text length is too long. I am attaching the screenshot below, please take reference from those.
On adding extra spaces:-
On saving the title on Jira:-
On hovering on MM:-
@Kshitij-Katiyar While testing this PR, I found a minor issue related to extra spaces in the title in Jira issue. If we try to add extra spaces in between the words of the title of a Jira issue, it is shown with proper spacing on Jira. But if we hover over the link of the same ticket on MM, then the text gets truncated as if the text length is too long. I am attaching the screenshot below, please take reference from those.
On adding extra spaces:-
On saving the title on Jira:-
On hovering on MM:-
Hey @AayushChaudhary0001, I created a similar ticket on JIra and checked the data sent by Jira to the MM server, it looks like the handling of the extra spaces between the words is on the client side of Jira and the data is stored on the server with the extra spaces only because we are receiving the ticket summary with the extra spaces on the MM server. I am afraid there is no proper way to fix this issue
@Kshitij-Katiyar @AayushChaudhary0001 I think we should match the functionality of Jira here. If Jira is removing the extra spaces we should also do the same.
@Kshitij-Katiyar @AayushChaudhary0001 I think we should match the functionality of Jira here. If Jira is removing the extra spaces we should also do the same.
@AayushChaudhary0001 @raghavaggarwal2308 I have implemented the same. Please re test it @AayushChaudhary0001


