Minder icon indicating copy to clipboard operation
Minder copied to clipboard

Attach a clickable link to a node

Open arkhipov opened this issue 1 year ago • 4 comments

That would be great to allow attaching a URL to a node which you can click (as I know now you can only make a control-clickable URL in the note section and the whole URL must present in the text).

The screenshot below is from XMind. Clicking the link icon opens the URL in a web browser. It is also quite nice that the link icon is aligned to the right.

Screenshot from 2024-10-31 19-38-05

arkhipov avatar Oct 31 '24 18:10 arkhipov

Minder actually already has this capability. Simply select some text in the node title, right click to bring up the contextual menu, and select "Add Link". This will display a popup allowing you to enter the URL to associate with the selected text. Nice thing is that you can actually associate many URLs with a single node (if desired). To jump to the link, Control+click on the linked text (it will be displayed with an underline).

Additionally, you can simply enter a URL directly in the node title itself. Minder will recognize valid URLs (they must start with an http://, https:// or mailto:// prefix) and make them clickable.

phase1geo avatar Nov 01 '24 04:11 phase1geo

I have tried creating a link the way you described. After a while the link became not-clickable. It is still displaing as a link but when I hover it with control the cursor does not change. If I create another link, this new link is clickable for some time, but the old ones still do not work. I am using Ubuntu 22.

arkhipov avatar Nov 01 '24 07:11 arkhipov

Even though the cursor doesn’t change, Control clicking on the URL doesn’t display the webpage in a browser?

phase1geo avatar Nov 08 '24 15:11 phase1geo

When Adding URL Links, the UrlParser rule "must start with an http://, https:// or mailto:// prefix" (or file:///) seems to also require one or more period symbols? But that flags URLs like http://localhost:8080/path/ as invalid. Can workaround via http://127.0.0.1:8080/path/, but better if the regex is improved, no?

explode avatar Mar 19 '25 03:03 explode