Re: [tw] Is it possible to make clicking on a missing link create a new draft?

2018-02-14 Thread 'Mark S.' via TiddlyWiki
I think (and I could be wrong -- it's been awhile) the links are generated 
down in the parsers (looking at github). If you find the right one, you 
might be able to have it create a "link" which is really a button to allow 
you to create a new tiddler.

-- Mark

On Wednesday, February 14, 2018 at 8:31:18 AM UTC-8, AlexHough wrote:
>
> Hi Jeremy,
>
> I've had a crack at this the route I was exploring has come to a dead 
> end.
>
> I started by putting code into fields then using a radio buttons to swap 
> between tm-edit and link (see attached)
>
>
> Then I started to look for the place in the edit template where the links 
> are generated. I couldn't find this place!
>
> In the tiddler generating the preview, 
> $:/core/ui/EditTemplate/body/preview/output 
> doesn't contain any link widget. Instead it uses a trasncluded variable 
> and I can't find that anywhere else than in the 
> $:/core/ui/EditTemplate/body/preview/output tiddler...
>
>
>
>
> <$set name="tv-tiddler-preview" value="yes">
>
> <$transclude />
>
> 
>
>
> I've created a pull request [1], my first!
>
> The overall aim is to have a simple radio button when makes all wikilinks 
> open in edit mode.
>
> I managed to do this a while ago with the Open tab in the sidebar [2] and 
> I expected the preview pane to work in a similar way.
>
> Solving this seems quite complex even more so than I though after some 
> additional learning
>
>
> Alex
>
> [1] https://github.com/Jermolene/TiddlyWiki5/issues/3119
> [2] https://alexhough.github.io/Click-Open-to-Edit.html
>
> On 12 May 2016 at 17:59, Jeremy Ruston  
> wrote:
>
>> Hi Alex
>>
>> It’s a good idea, but I’m afraid I don’t have time to work on it now. 
>> Perhaps create a GitHub ticket to keep track of the idea?
>>
>> Many thanks,
>>
>> Jeremy
>>
>> On 9 May 2016, at 13:51, Alex Hough  
>> wrote:
>>
>> Hello TW,
>>
>> I am finding myself working in edit mode and clicking on links on the 
>> preview pane. I am inspired by the discussion of live coding in Hangout 100
>>
>> it would be quicker for me if clicking on a missing tiddler crated a new 
>> draft with the title of that tiddler
>>
>>
>> or put another way, a missing link is parsed as a button which when 
>> pressed creates a new tiddler with the title of the link.
>>
>> * it would be nice if the curser ended up in the body rather than in the 
>> title.
>>
>>
>> This idea kind of breaks through a convention. WikiText could create a 
>> button
>>
>> *Edit Mode?*
>>
>> There could be an edit mode where a link clicked on in preview always 
>> opens a draft
>>
>> With tiddlers opening above the present, a pleasing zig zag workflow 
>> could develop, see 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 https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> -- 
>> 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 https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/92EE7B6E-AC8A-46BA-A5C2-7AA45A4B3A15%40gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef5cce72-c9e4-4e1f-a669-a6c0c2ffd6e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Is it possible to make clicking on a missing link create a new draft?

2018-02-14 Thread Alex Hough
Hi Jeremy,

I've had a crack at this the route I was exploring has come to a dead
end.

I started by putting code into fields then using a radio buttons to swap
between tm-edit and link (see attached)


Then I started to look for the place in the edit template where the links
are generated. I couldn't find this place!

In the tiddler generating the preview,
$:/core/ui/EditTemplate/body/preview/output
doesn't contain any link widget. Instead it uses a trasncluded variable and
I can't find that anywhere else than in the
$:/core/ui/EditTemplate/body/preview/output tiddler...




<$set name="tv-tiddler-preview" value="yes">

<$transclude />




I've created a pull request [1], my first!

The overall aim is to have a simple radio button when makes all wikilinks
open in edit mode.

I managed to do this a while ago with the Open tab in the sidebar [2] and I
expected the preview pane to work in a similar way.

Solving this seems quite complex even more so than I though after some
additional learning


Alex

[1] https://github.com/Jermolene/TiddlyWiki5/issues/3119
[2] https://alexhough.github.io/Click-Open-to-Edit.html

On 12 May 2016 at 17:59, Jeremy Ruston  wrote:

> Hi Alex
>
> It’s a good idea, but I’m afraid I don’t have time to work on it now.
> Perhaps create a GitHub ticket to keep track of the idea?
>
> Many thanks,
>
> Jeremy
>
> On 9 May 2016, at 13:51, Alex Hough  wrote:
>
> Hello TW,
>
> I am finding myself working in edit mode and clicking on links on the
> preview pane. I am inspired by the discussion of live coding in Hangout 100
>
> it would be quicker for me if clicking on a missing tiddler crated a new
> draft with the title of that tiddler
>
>
> or put another way, a missing link is parsed as a button which when
> pressed creates a new tiddler with the title of the link.
>
> * it would be nice if the curser ended up in the body rather than in the
> title.
>
>
> This idea kind of breaks through a convention. WikiText could create a
> button
>
> *Edit Mode?*
>
> There could be an edit mode where a link clicked on in preview always
> opens a draft
>
> With tiddlers opening above the present, a pleasing zig zag workflow could
> develop, see 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%
> 40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/92EE7B6E-AC8A-46BA-A5C2-7AA45A4B3A15%40gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALc1hYesVKnLUfL1qufS9k7DsDgdVg%3DPWzFhiQMbZ0F0aNKcMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


toggle mode_ edit_link.tid
Description: Binary data


Re: [tw] Is it possible to make clicking on a missing link create a new draft?

2016-05-12 Thread Jeremy Ruston
Hi Alex

It’s a good idea, but I’m afraid I don’t have time to work on it now. Perhaps 
create a GitHub ticket to keep track of the idea?

Many thanks,

Jeremy

> On 9 May 2016, at 13:51, Alex Hough  wrote:
> 
> Hello TW,
> 
> I am finding myself working in edit mode and clicking on links on the preview 
> pane. I am inspired by the discussion of live coding in Hangout 100
> 
> it would be quicker for me if clicking on a missing tiddler crated a new 
> draft with the title of that tiddler
> 
> 
> or put another way, a missing link is parsed as a button which when pressed 
> creates a new tiddler with the title of the link.
> 
> * it would be nice if the curser ended up in the body rather than in the 
> title.
> 
> 
> This idea kind of breaks through a convention. WikiText could create a button
> 
> Edit Mode?
> 
> There could be an edit mode where a link clicked on in preview always opens a 
> draft
> 
> With tiddlers opening above the present, a pleasing zig zag workflow could 
> develop, see 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+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/92EE7B6E-AC8A-46BA-A5C2-7AA45A4B3A15%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Is it possible to make clicking on a missing link create a new draft?

2016-05-09 Thread Alex Hough
Hello TW,

I am finding myself working in edit mode and clicking on links on the
preview pane. I am inspired by the discussion of live coding in Hangout 100

it would be quicker for me if clicking on a missing tiddler crated a new
draft with the title of that tiddler


or put another way, a missing link is parsed as a button which when pressed
creates a new tiddler with the title of the link.

* it would be nice if the curser ended up in the body rather than in the
title.


This idea kind of breaks through a convention. WikiText could create a
button

*Edit Mode?*

There could be an edit mode where a link clicked on in preview always opens
a draft

With tiddlers opening above the present, a pleasing zig zag workflow could
develop, see below

[image: Inline images 1]


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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALc1hYdpnXVEo73RD3FKZT-NGx6ArG8sDgKGKBvxQqB8feiKgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.