-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[MM-28965] - Prevent link overlap in channel header #6546
Conversation
components/markdown_image.jsx
Outdated
> | ||
{alt} | ||
</a> | ||
/> |
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 don't know if this needs to be changed. If someone links to an unsafe image, it won't show anything now whereas it made a link to that image before.
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.
Oh I see, thanks for clarifying
@@ -269,6 +269,7 @@ | |||
.emoticon { | |||
position: relative; | |||
top: -1px; | |||
overflow: hidden; |
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 didn't know the header had its own styling for emojis. I'm not at all surprised this broke then
@nevyangelova From your investigation do you know if this is a regression in v5.27? |
@amyblais it isn't these styles were implemented a year ago. |
I'm relatively sure that this problem only started showing up during one of the last two releases. I had the header that's mentioned in the JIRA ticket for a long time and clicking the link there worked fine. |
@ThiefMaster it's possible that some styles were removed and revealed this bug but this is the proper fix and it wasn't implemented correctly a year ago. |
I just wanted to point out that it'd probably be a good candidate for a bugfix release if there's going to be one since it's a small but annoying bug. |
@ThiefMaster makes sense, @amyblais should this go in 5.28? |
I think v5.29 is ok. |
/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.
Thank you @nevyangelova
Tested, looks good to merge.
- Verified header description links are clickable and they are not overlapping.
Note: The line that appears on mouse hover over linked emoji can't be removed currently and will have to be addressed separately if we decide to change/remove how markdown is processed.
Test server destroyed |
…o MM-20462 * 'master' of github.com:Tak-Iwamoto/mattermost-webapp: [MM-22161] - Improve accessibility of channel switcher (mattermost#6199) [MM-20460] Migrate 'components/permissions_gates/channel_permission_gate' module and associated tests to TypeScript (mattermost#6601) [GH-15724] Remove usage of findDOMNode from Create Team screens (mattermost#6621) [MM-29302] Billing Summary Card - No Billing History case (mattermost#6639) /files should target=_blank (mattermost#6616) MM T134 visual verification of tooltips (mattermost#6604) MM-24812 Add e2e tests for adding reactions to existing reactions in archived channel posts (mattermost#6579) [MM-20490] Migrate 'components/post_view/combined_user_activity_post' module and associated tests to TypeScript (mattermost#6632) MM-24810 Add e2e for reactions for archived channel posts (mattermost#6562) [MM-28965] - Prevent link overlap in channel header (mattermost#6546) MM-28780: Migrate dotMenu string refs to functional ones (mattermost#6592) Cypress/E2E: Fix archived channel specs (mattermost#6617) Fixed cypress env for PostgreSQL connection (mattermost#6627) Migrate post_list_row component to typescript (mattermost#6593) Cypress/E2E: Fix managing bot accounts spec (mattermost#6614) Cypress/E2E: Stabilize profile popover spec (mattermost#6612) Migrated string refs in signup_email (mattermost#6602) Renaming diagnostics-to-telemetry (mattermost#5741)
/cherry-pick release-5.29 |
Cherry pick is scheduled. |
* [MM-28965] - Prevent link overlap in channel header * Add back image link Co-authored-by: Nevyana Angelova <[email protected]> Co-authored-by: Mattermod <[email protected]> (cherry picked from commit f58ca3a)
* [MM-28965] - Prevent link overlap in channel header * Add back image link Co-authored-by: Nevyana Angelova <[email protected]> Co-authored-by: Mattermod <[email protected]>
* [MM-28965] - Prevent link overlap in channel header * Add back image link Co-authored-by: Nevyana Angelova <[email protected]> Co-authored-by: Mattermod <[email protected]>
Summary
Quick fix for links that overlap in channel header
Ticket Link
https://mattermost.atlassian.net/browse/MM-28965
Fix v5.29