Yarn icon indicating copy to clipboard operation
Yarn copied to clipboard

Click-through links from nodes?

Open cjacobwade opened this issue 8 years ago • 5 comments

Would be awesome to click a link created from a node and have it be created if it doesn't exist and then open that node.

cjacobwade avatar Mar 25 '16 05:03 cjacobwade

Do you mean clicking on the link to the node, in the text editor? If you do, it might be a little challenging, because clicking inside the link means "set the cursor here".

The Yarn Editor doesn't really have a "view" mode that would support this, and one would need to be added first.

(Not trying to shut down your idea! Just thinking through what it would need.)

desplesda avatar Mar 26 '16 17:03 desplesda

I implemented automatic node creation in the electron version. You can try it here: https://github.com/InfiniteAmmoInc/Yarn/pull/80

there is a windows build. Link clicking and opening however doesnt exist yet. I could try to add it if there is interest?

blurymind avatar Nov 26 '18 12:11 blurymind

I use the windows version frequently, any love that it gets is much appreciated. I've managed to get most of the updates by just copying the new files over the current windows compilation on the front page, but its a little suspect at times.

Flyingvette avatar Nov 26 '18 22:11 Flyingvette

This is a bit tricky because yarn uses ace editor for text editing. Ace doesn't officially support links, which is what I would need to make some of the text clickable. There might be a way around this

blurymind avatar Nov 29 '18 08:11 blurymind

This is now kind of in the new electron version :) If you select the text in the node link and right click on it, there is now an option to visit that node in the context menu https://github.com/InfiniteAmmoInc/Yarn/pull/80

I have to put out a bug fix release soon, as I noticed a couple of awful bugs that had to be fixed last night

blurymind avatar Jan 25 '19 12:01 blurymind