-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-24490 - Updating UI for link previews name #5401
Conversation
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.
In general LGTM, just two small things.
components/post_view/post_body_additional_content/post_body_additional_content.jsx
Outdated
Show resolved
Hide resolved
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.
LGTM
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.
LGTM
@cpanato this test server looks like it's having issues starting up? Can you help take a look? Thanks! |
@asaadmahmood not sure we want to update the link styling? See cases where this breaks: |
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.
@asaadmahmood not sure we want to update the link styling? See cases where this breaks:
Yup @esethna. Looks like there are some other cases that would need a larger refactor, so I think we can skip this for now. |
Hmm, I did that but the |
@andrewbrown00 that would be a bit hard to do, as the link for the preview is not easily distinguishable right now. |
I've enabled the previews and posted a link in the PR. @andrewbrown00 |
Thanks @asaadmahmood looks good. What's the |
@andrewbrown00 Not sure, maybe @hmhealey knows as he worked on the markdown stuff. |
@esethna Not much, its quite hard, I can move the icon somewhere at the top, but then there may be cases where the preview is being generated by an image that's not at the start but somewhere at the middle, so I would suggest we look at that when we can look at this issue in detail. |
Hey @asaadmahmood, Is the icon supposed to be left-aligned with the start of the username or positioned half-way between the first and second letter of the username as per the screenshot below? Compared to the screenshot ES posted to the ticket as an example of what should be fixed, it seems the icon has been moved only marginally left? Is this correct? |
@lindy65 Expected, as its a button, so it's not aligned. |
And based on the ticket, the main fix is the icon's vertical alignment with the text, it has moved up a bit. |
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 @asaadmahmood - got it :) Looks good to me then 👍
Test server destroyed |
Summary
MM-24490 - Updating UI for link previews name
Ticket Link
https://mattermost.atlassian.net/browse/MM-24490
Screenshots