Closed luisecm closed 1 month ago
Hey @luisecm ! I have a quick question on this one, I'm wondering about expected behaviors. When we paste a copy link from a gif or sticker it's always just that link text and in other apps it's always the link and not a rendered preview version of whatever the link is pointing to too.
Are we expecting the link to not show up and the gif is in the chatbar or the link is in chatbar and the gif or sticker is above it like this?
(one is the gif link and i just put an attachment to show the area where all the previews happen)
Hey @Jekrimo sorry I just saw the message. When I logged the bug I was referring only to the conversation, where I think the gif/sticker should render. What discord does for example is
I think that would be the way, although rendering in chatbar is a nice addon but probably not necessary imo cc @phillsatellite @stavares843
agree 🎉
@luis I has more questions lol Sorry maybe I'm blind on this one. I checked discord and I can't get the copy-link to autofill the chatbar like you mentioned, (and maybe it shouldn't as user copying the link could be to send it in some other app possibly?), both ours and discord when you paste the link it's the link until sent and then it renders the gif. So is all we are looking for is the auto filling of the chatbar on copy click? Sorry for the wall of text and my ignorance!! Here is a vid of my branch with the gifs currently....
https://github.com/user-attachments/assets/90ecfe30-3294-4d26-aea7-73fab1527eb0
And here is me tryin on discord to get the copy behavior workin
https://github.com/user-attachments/assets/05c12b39-604b-4c50-8801-6cf0b2a50d3f
Hey @Jekrimo actually the bug itself was this - after sending selecting "Copy" in sticker of gif, and then pasting and sending the link, it was shown as this:
It seems its fixed in dev, and the video from your branch also looks good, so I am thinking we can just close this?
agree
@luisecm and @stavares843 I say agree too! But I do have a styling fix for the reply gifs, (Which may be fixed on dev I'm not sure) I'm gunna test real quick and if it's on dev I'll open a little pr that's not related to this one
reply gif bug on dev, pr for it incoming...
https://github.com/Satellite-im/UplinkWeb/pull/708
thanks @Jekrimo 🎉
https://github.com/user-attachments/assets/b948be99-de18-4645-856d-34e6b4addc00