Parse Title as Link, makes title a dragable link

158 views
Skip to first unread message

Alex Hough

unread,
Jun 11, 2015, 4:31:29 AM6/11/15
to TiddlyWiki
Just a thought...


I have a tiddler open and create a new tiddler, which opens above it. If the open tiddler's title were rendered as a wikilink, i would be able to drag it into the new tiddler, in a similar way which I can drag tiddlers from the sidebar.

good idea? 

Alex

Sylvain Naudin

unread,
Jun 11, 2015, 6:06:57 AM6/11/15
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com


Le jeudi 11 juin 2015 10:31:29 UTC+2, AlexHough a écrit :
I have a tiddler open and create a new tiddler, which opens above it. If the open tiddler's title were rendered as a wikilink, i would be able to drag it into the new tiddler, in a similar way which I can drag tiddlers from the sidebar.

As you mention, you have the open tiddler sidebar (I use it often too, and you can use it with high tiddler, wich you maybe can't with your idea). I'm not big fan to add another link, with do nothing else (ie tiddler already open!).

Sylvain

Alex Hough

unread,
Jun 11, 2015, 10:46:02 AM6/11/15
to TiddlyWiki
what i mean is that I can drag a link to a tiddler being edited from the title one below


Alex

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/03e5b653-1f0f-4f61-b261-c6ad7b606781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

RichardWilliamSmith

unread,
Jun 11, 2015, 10:10:35 PM6/11/15
to tiddl...@googlegroups.com
Hi Alex,

Why can't you drag it from the sidebar/open tab?

Richard

Alex Hough

unread,
Jun 12, 2015, 1:27:44 AM6/12/15
to tiddl...@googlegroups.com
I can of course.... Linking by dragging from the tittle occued to me while work g in the story river.... It's about maintaining 'flow'...


Alex
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

Mat

unread,
Jun 12, 2015, 7:50:15 AM6/12/15
to tiddl...@googlegroups.com
I probably don't fully understand what you mean, but just maybe you're suggesting that a tiddlers title appearing in the head of the tiddler (as opposed to in some list) could be links so that you could drag a copy of it into some place you need it? This is actually already possible, simply by selecting the title just like you can select any other piece of text, and then drag a copy of this into wherever you want it.

Having the title be a link does omit the selection step though.

<:-)


Richard Smith

unread,
Jun 12, 2015, 10:41:04 PM6/12/15
to tiddl...@googlegroups.com
Hi Alex,

If you're really keen on this, you could try altering the text of $:/core/ui/ViewTemplate/title

In all likelihood I've broken something horribly, but I was able to add <$link></$link> (in two places) and it *appears* to do what you describe (but please, please don't use it on your real wiki).

The text looks like this: -

\define title-styles()
fill:$(foregroundColor)$;
\end
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
<div class="tc-tiddler-title">
<div class="tc-titlebar">
<span class="tc-tiddler-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
</span>
<$set name="foregroundColor" value={{!!color}}>
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
<$transclude tiddler={{!!icon}}/>
</span>
</$set>
<$link><$list filter="[all[current]removeprefix[$:/]]">
<h2 class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
</h2>
</$list>
</$link>
<$link>
<$list filter="[all[current]!prefix[$:/]]">
<h2 class="tc-title">
<$view field="title"/>
</h2>
</$list>
</$link>
</div>
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
<$transclude tiddler="$:/core/ui/TiddlerInfo"/> 
</$reveal>
</div>

Regards,
Richard 

Jeremy Ruston

unread,
Jun 13, 2015, 10:22:25 AM6/13/15
to TiddlyWiki
This request has come up before so I've added a new setting to control panel to control whether tiddler titles are rendered as links.

You can try it out with the prerelease:


Best wishes

Jeremy.





--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

For more options, visit https://groups.google.com/d/optout.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Alex Hough

unread,
Jun 13, 2015, 3:51:55 PM6/13/15
to TiddlyWiki
Jeremy

thanks for this.

A nice side effect is when you click on the title, the tiddler moves to the top of the screen.
Another is that you can drag the tid from one TW to another by the title.

I also think it re-enforces the idea that links are to titles

I aleady have my own clone of the prerelease and am adapting it for learning purposes

What's the best way of adding this to my clone?
I don't see a plugin.... is it in the core?

best wishes

Alex

Alex Hough

unread,
Jun 13, 2015, 3:57:22 PM6/13/15
to TiddlyWiki
OK.... premature question!



AlexInline images 1

Danielo Rodríguez

unread,
Jun 13, 2015, 4:04:08 PM6/13/15
to tiddl...@googlegroups.com
When I read the idea the first time I did not find it useful in any way. But the possibility to drag a tiddler to another wiki using the title to drag it is an awesome feature and makes it much more intuitive. I hate to be forced to open the open sidebar to drag a tiddler that I'm reading. I find it very natural, I'm reading something, and I want it on my wiki I just pick it up using the title. Wonderful!

Alex Hough

unread,
Jun 13, 2015, 4:13:09 PM6/13/15
to TiddlyWiki
I've been toying with it for 10 minutes or so..... i really like the way clicking in the title of a tiddler moves it up to the top of the screen.... sometimes it takes a couple of clicks.... but it results in the tiddler being in the same reading possition each time: OK scrolling does that too, but I like the feel. It's a behaviour which re-enforces focus.

A refinement came to mind: what if there were an animation when you clicked the title to re-enforce the focussing of attention: a glowing of the border or something like that. A while ago "gamification" was mentioned in a hangout... this would fit into that scenario

Another thought -- could double clicking on the link open it in edit mode? (I vaguely recall some technical reason why double click can't work in TW5)

Alex

Alex

On 13 June 2015 at 21:04, Danielo Rodríguez <rdan...@gmail.com> wrote:
When I read the idea the first time I did  not find it useful in any way. But the possibility to drag a tiddler to another wiki using the title to drag it is an awesome feature and makes it much more intuitive. I hate to be forced to open the open sidebar to drag a tiddler that I'm reading. I find it very natural, I'm reading something, and I want it on my wiki I just pick it up using the title. Wonderful!
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

Danielo Rodríguez

unread,
Jun 13, 2015, 4:59:08 PM6/13/15
to tiddl...@googlegroups.com
It not a technical reason, it's by design. It's not consistent with 90% of programs/web to edit an element just double clicking it.

Felix Küppers

unread,
Jun 13, 2015, 5:26:49 PM6/13/15
to tiddl...@googlegroups.com, jeremy...@gmail.com
Really nice! Thanks Jeremy.

Alex Hough

unread,
Jun 13, 2015, 5:27:11 PM6/13/15
to TiddlyWiki
I don't know: music apps on iPad I use have double clicking to edit... seems natural to me.

TW is not particularly compliant with trends and norms...

as a personal tool, double clicking on a link to open in edit mode would be great

Alex

On 13 June 2015 at 21:59, Danielo Rodríguez <rdan...@gmail.com> wrote:
It not a technical reason, it's by design. It's not consistent with 90% of programs/web to edit an element just double clicking it.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.

Felix Küppers

unread,
Jun 13, 2015, 5:31:19 PM6/13/15
to tiddl...@googlegroups.com
Hardly possible to use double click if the single click is already used
on the element. Think about it ;)
Reply all
Reply to author
Forward
0 new messages