-
Notifications
You must be signed in to change notification settings - Fork 76
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
Normal links do not open in the browser when clicked in a message #14844
Labels
backend-team
bug
Something isn't working
E:Desktop New Share URL Format
Implementation of the new share URL link format and other deep link associated issues
Milestone
Comments
jrainville
added a commit
that referenced
this issue
May 17, 2024
Fixes #14844 The problem was that links to status.app that are not shared links were still considered shared urls, because our util function can only check if it contains `status.app`. The solution is two fold: 1. If there are Link Previews, I ask the link preview for the type of Link. If it's a normal link, I just open it. 2. If there are no Link Preview for that link, we call `parseSharedUrl` as before, but now we handle the failure by opening in the browser because we can assume that it's a normal link.
jrainville
added
the
E:Desktop New Share URL Format
Implementation of the new share URL link format and other deep link associated issues
label
May 17, 2024
I noticed that one needs to click on the preview to open a link that has a preview. This is counterintuitive to me. |
Yeah that's exactly the issue. I have a fix in the linked PR |
jrainville
added a commit
that referenced
this issue
May 21, 2024
…4845) Fixes #14844 The problem was that links to status.app that are not shared links were still considered shared urls, because our util function can only check if it contains `status.app`. The solution is two fold: 1. If there are Link Previews, I ask the link preview for the type of Link. If it's a normal link, I just open it. 2. If there are no Link Preview for that link, we call `parseSharedUrl` as before, but now we handle the failure by opening in the browser because we can assume that it's a normal link.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend-team
bug
Something isn't working
E:Desktop New Share URL Format
Implementation of the new share URL link format and other deep link associated issues
Bug Report
Description
When a text contains a normal link (not a status link), clicking the link doesn't do anything and we get an error:
Steps to reproduce
Nothing happens
Clicking on the unfurl works however
Expected behavior
Clicking on a link opens it in the browser
Actual behavior
Nothing happens
Additional Information
4c61c115d43f39e3c10e5f9e3e79b9770ef62d67
The text was updated successfully, but these errors were encountered: