barcodrod.io
barcodrod.io copied to clipboard
[FR] Make links clickable (or double-clickable)
This is related to #24, but instead of having links auto-copied to the clipboard or auto-opened, I would simply like them clickable (or double-clickable) within the barcodrod app to open in the default browser. Currently, it seems the typical way to open a link from barcodrod is to manually copy it to the clipboard and then paste in into a browser's address bar. Having the ability to click on a link will be a time-saver.
Whether or not it would be best to be single-click or double-click is certainly open for discussion. Single-click will mimic common browser behaviour, but double-click offers a little more protection against accidentally launching a bad link.
Hi @Gitoffthelawn, I'm hesitant to convert the decoded text field to Rich Text with a hyperlink in case of unintended copy paste issues. That said, wanted to make sure you're aware of this feature-
For every decoded QR/barcode, a check is run against the result string to determine if it's in a URI format. If there's an app on that device registered to launch that URI format, a button becomes available to open the decoded result.
And it works for non-URLs as well:
Let me know your thoughts.
normally sufficient
Hi @Gitoffthelawn, I'm hesitant to convert the decoded text field to Rich Text with a hyperlink in case of unintended copy paste issues. That said, wanted to make sure you're aware of this feature-
For every decoded QR/barcode, a check is run against the result string to determine if it's in a URI format. If there's an app on that device registered to launch that URI format, a button becomes available to open the decoded result.
...
And it works for non-URLs as well: ...
Let me know your thoughts.
Thanks for pointing that out. For some reason, that button, as well as the one immediately to its left, are always dimmed (disabled).