[Feature] Make URLs selectable
LenweSaralonde opened this issue · 0 comments
Overview
Several URLs are present in the UI (Official website, Discord, donation page...) but are not interactive. The user needs to manually type them character by character in their browser address bar.
URLs should be handled as hyperlinks that can be easily copied into the browser address bar.
Implementation
- Turn all text URLs into clickable hyperlinks.
- Show the URLs between brackets to let the user know they're clickable.
- Clicking a URL hyperlink opens a read-only EditBox with the exact same font and color over it. The text is focused and selected. A tooltip shows up with the message "Press Ctrl+C to copy".
- The EditBox and the tooltip are dismissed when Ctrl+C is registered, Escape is pressed or the focus is lost.
- On MacOS, "Ctrl" is replaced by "⌘".
Additional context
No response