Guys, I'm so happy you find it valuable! Thank you for your great ideas on 
it!

Måns, thank you for reporting on your stuff for it. I played around and 
currently have it show *both *a "tags editor" and a "tagpill field" as they 
both have their different advantages. (In the following I changed the 
tiddler and parameter titles somewhat.)


*Code*
title:FastNewTiddler
tags: (no particular tag)

\define getTagPill() {{$(tagPill)$||$:/core/ui/EditTemplate/tags}} 
> <div class="tc-tiddler-frame">
> <table>
>   <tr><td colspan="2"><$edit tiddler="$:/temp/FastNewTiddler" 
> field="newtitle" 
>                    class="tc-edit-texteditor" placeholder="title"/></td>
>   </tr>
>   <tr><th><$edit field="tags" class="tc-edit-texteditor"
>                    tiddler={{$:/temp/FastNewTiddler!!newtitle}} 
> placeholder="tags" /></th>
>           <th><$set name="tagPill" 
> value={{$:/temp/FastNewTiddler!!newtitle}}><<getTagPill>></$set></th>
>   </tr>
>   <tr><td colspan="2"><$edit field="text" class="tc-edit-texteditor" 
>               tiddler={{$:/temp/FastNewTiddler!!newtitle}} 
> placeholder="text"/></td>
>   </tr>
> </table>
> </div>




It would be good if it selecting tagpills created the tiddler, just like 
filling in a tag manually does. Maybe there could be some onclick trigger 
as soon as you click the empty tagpill field? I assume there must already 
be soem onclick trigger to have the tag dropdown list appear, so maybe this 
could do the same to the non-existing tiddler that typing into the text 
field does?


A nicer idea for a button

To get the FastNewTiddler template to stick to story top I'm using a button 
based on *$:/core/ui/TopBar/menu* i.e the sidebar toggle (in the TW upper 
right corner). I place this button among the page controls (i.e next to the 
NewHere, Ctrlpanel, Save buttons). It is intended to toggle the tag 
"$:/tags/AboveStory" in the tiddler (now named) *FastNewTiddler.* It 
succeeds in toggling *on*, i.e it succeeds in applying the tag 
*$:/tags/AboveStory 
*to FastNewTiddler but it fails to toggle off, i.e to remove, that tag when 
clicking the button. 


*Toggle for FastNewTiddler *(based on *$:/core/ui/TopBar/menu)*
title: FastNewTiddlerButton
tag: $:/tags/PageControls

<$reveal state="$:/state/FastNewTiddler" type="nomatch" text="no">
> <$button set="FastNewTiddler!!tags" setTo="$:/tags/AboveStory" 
> class="tc-btn-invisible">{{$:/core/images/chevron-down}}</$button>
> </$reveal>
> <$reveal state="$:/state/FastNewTiddler" type="match" text="no">
> <$button set="FastNewTiddler!!tags" setTo="XXXXX" 
> class="tc-btn-invisible">{{$:/core/images/chevron-up}}</$button>
> </$reveal>



On tw.com I find the tiddler WidgetMessage tm-remove-tag 
<http://tiddlywiki.com/#WidgetMessage%3A%20tm-remove-tag> which might be 
relevant but I don't know how.
In summary, the idea is simply to have a button toggle a tag between 
existance and 'nothing' on a remote tiddler.
Any ideas?



Combining regular NewTiddler and FastNewTiddler

An additional idea, taking the best of two worlds for creating new 
tiddlers. Scenario:

The user clicks the normal NewHere button (the "plus") in the sidebar and 
gets the usual EditTemplate.
...or so it seems! In fact, what opens is the FastNewTiddler template. 
Here you can create one tiddler and click done and get the normal new 
tiddler behaviour (i.e the EditMode switches over to ViewMode and you have 
your new tiddler).

...OR you *don't* click Done but instead use the FastNewHere features to 
keep on creating new tiddlers.

The only restriction from normal New Tiddler creation is that you can't 
change the title.

Actually, these things could all be part of a "stick it" button. Unstuck, 
you have the regular NewTiddler template. Stuck, you get the FastNewTiddler 
template.


Hm, does this mean that instead of OP under "A nicer idea for a button", 
the toggling button should be part of the template for the NewTiddler 
editview template? ...


<:-)

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b10ce90f-0ed6-47b4-9bc0-a7f22ad0bb71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to