fabio icon indicating copy to clipboard operation
fabio copied to clipboard

Implement clickable source links in ui

Open Kamilcuk opened this issue 1 year ago • 2 comments

Feature request: Make source links in ui interface clickable #901

Kamilcuk avatar Sep 13 '22 20:09 Kamilcuk

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 13 '22 20:09 CLAassistant

obraz

<a href="http://localhost/product">/product</a>
<a href="http://localhost/product">/product</a>
<a href="http://httpsrc.com:443/">httpsrc.com:443/</a>
<a href="http://httpssrc.com:80/">httpssrc.com:80/</a>
<a href="http://www.dba.dev/auth/">www.dba.dev/auth/</a>

Kamilcuk avatar Sep 13 '22 20:09 Kamilcuk

Reviewed, discussed this and made some changes to this and made this an option to be set in the *.properties file or the cli configuration. It would default to not being enabled, but can be enabled.
Added in some options with that as well to be able to set a different protocol scheme, host, or port for these links or default to the current server address (for those links that are a subdirectory).
Also, added another option to have links open in a new tab and defaulted to a new window.

Going to branch your commit and merge things for this PR. Then you can review and see if it meets your needs.

KTruesdellENA avatar Sep 22 '22 19:09 KTruesdellENA

Closing because https://github.com/fabiolb/fabio/pull/907 is there.

Kamilcuk avatar Oct 03 '22 07:10 Kamilcuk