Discussion:
[tw5] feature request: Target tiddler already exists? --> option to open/edit it
Dave
2018-12-07 21:16:02 UTC
Permalink
A lot of times I go to make a tiddler that I've forgotten already exists,
and I get the message "Target tiddler already exists"

What I'd like is the option to open it or open for editing from that spot.
As it stands I'd have to select the title, copy it, close the edit, click
on the search bar, paste, and then select and then click edit.

Because I'm so lazy, I'd rather click once than do seven steps to do the
same thing.



As 5.18 recently came out I doubt this is something that I'll see any time
soon, but is there a way to make this work with tweaking the normal 5.17 TW?
--
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 ***@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/1a58657a-f926-4b01-8108-bac1280207a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jed Carty
2018-12-07 21:56:00 UTC
Permalink
You could edit the template that makes that message appear to include a
link to that tiddler. Or a button that opens it in edit mode.

This needs some tweaking but it gets you part of the way there.

Put this in a tiddler (you can call it whatever you want):


<$list filter="[{!!draft.title}!is[missing]]" variable="listItem">
<$button>
Open Existing Tiddler
<$action-navigate $to={{!!draft.title}}/>
<$action-sendmessage $message='tm-close-tiddler'/>
</$button>
</$list>

give the tiddler the tag $:/tags/EditTemplate
and give it a field called list-after with the
contents $:/core/ui/EditTemplate/title

Then when you are editing a tiddler and you give it the title of an
existing tiddler a button that says 'Open Existing Tiddler' will appear.

It isn't in edit mode and it doesn't correctly dispose of the current draft
so there are tweaks that would help, but it may be better than the nothing.
--
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 ***@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/d145faaa-6770-4eed-a8a9-8511c827cde5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dave
2018-12-07 22:26:13 UTC
Permalink
Thanks! :)
--
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 ***@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/6773aa0e-80d8-44e1-895a-b73fce773b7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Diego Mesa
2018-12-07 23:47:25 UTC
Permalink
I think this is a great idea and should be added to the core!
Post by Jed Carty
You could edit the template that makes that message appear to include a
link to that tiddler. Or a button that opens it in edit mode.
This needs some tweaking but it gets you part of the way there.
<$list filter="[{!!draft.title}!is[missing]]" variable="listItem">
<$button>
Open Existing Tiddler
<$action-navigate $to={{!!draft.title}}/>
<$action-sendmessage $message='tm-close-tiddler'/>
</$button>
</$list>
give the tiddler the tag $:/tags/EditTemplate
and give it a field called list-after with the
contents $:/core/ui/EditTemplate/title
Then when you are editing a tiddler and you give it the title of an
existing tiddler a button that says 'Open Existing Tiddler' will appear.
It isn't in edit mode and it doesn't correctly dispose of the current
draft so there are tweaks that would help, but it may be better than the
nothing.
--
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 ***@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/9b805410-534e-4d45-b10f-002ed5f428db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...