lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.
https://lbry.tech
MIT License
3.56k stars 414 forks source link

Turn internal and external LBRY URLs in comments into clickable internal links #7723

Open slrslr opened 1 year ago

slrslr commented 1 year ago

0.53.6 AppImage

User commenting a video can click the icon to insert URL. But some people just paste external LBRY URL (https://open.lbry.com/...) without using markdown syntax. It can be convenient if you make LBRY to automatically turn external LBRY URL (that is pasted without markdown syntax) as clickable hyperlinks so it opens linked video in LBRY, not in web browser by default.

In case of external links i believe most of the people would want to open it directly in the app, not in web browser. But if necessary, such link can be right clicked and copied or opened in a web browser?

Turning text URLs to clickable hyperlinks would make usage of LBRY a bit more convenient, saving time.

Would partially solve: https://github.com/lbryio/lbry-desktop/issues/7603#issuecomment-1305185746