Hi Charlie,

Thank you very much for sharing this great idea!

I managed to adapt your tag selector when I noticed that checkboxes could 
have checkactions / uncheckedactions parameters.
So now I can kill two birds with one stone thanks to your tag selector: 
with one checkbox (un)tick, I can add (/ remove) both a tag and a field 
whose name is based on the tag . That is much more effective and useful 
than the built-in tag-picker.

So, hats off, Sir! You've made my day.

I will now modify the tag filter so as to only show the tags I'm interested 
in. It shouldn't be too difficult to do that.

If it might be of help to anyone, here is the code I modified in your Tag 
Selector tiddler:

```
<$checkbox tiddler=<<thisTiddler>> tag=<<thisTag>> 
checkactions="""<$action-setfield $tiddler=<<thisTiddler>> $value={{{ 
[<thisTag>addprefix[{{]addsuffix[!!presentation}}]] }}} $field={{{ 
[<thisTag>addprefix[ref_]] }}} />  """ 
uncheckactions="""<$action-deletefield $tiddler=<<thisTiddler>> $field={{{ 
[<thisTag>addprefix[ref_]] }}} /> """ > <<thisTag>>  </$checkbox><br>
</$list>
```
Notes:

   - When a box is ticked, it creates a field whose name starts with ref_ 
   and ends with the name of the tag.
   - That field transcludes data from the 'presentation' field in the tag 
   itself.
   - When the box is unchecked, the field is deleted.


Stéphane L.

Le vendredi 16 juillet 2021 à 16:25:28 UTC+2, [email protected] a écrit :

> G'day Mike,
>
> That little bit of magic really is the result of some fine teaching by 
> Mohammad and Tones.
>
> With advanced search in TiddlyWiki, use a filter that lists all related 
> tiddlers (ie that work together to provide some 
> feature/functionality/information/etc.).
>
> Then use the export button on the advanced search tiddler to export all 
> tiddlers found by the filter to a handy-dandy JSON file that has all the 
> tiddlers packaged up neatly.  That one file can then be dragged for import 
> into some other TiddlyWiki, and all tiddlers in that JSON file get 
> "extracted".
>
> In my mind: Very cool for simple things that don't really need all of the 
> oomph/heft of a plugin.
>
> Screenshot below.  *(The export button is the one between the X and the 
> garbage can.)*
>
> Cheers !
>
> [image: Screenshot 2021-07-16 11.20.23 AM - Display 1.png]
>
> On Friday, July 16, 2021 at 10:58:05 AM UTC-3 [email protected] wrote:
>
>> cj.v...
>> How did you export the required tiddlers in one file?
>>
>> четверг, 15 июля 2021 г. в 11:31:13 UTC+3, TW Tones: 
>>
>>> Charlie,
>>>
>>> I like your large tag selector, and see similar smaller ones filtered or 
>>> from a separate list would be more than enough. Yes this customisation is 
>>> person and wiki specific.
>>>
>>> Sorry about that little comment. But as much as I don't want to cause 
>>> trouble, I wanted you to know I relay appreciate your work when its more 
>>> accessible, In line rather than attached is just as good. I actually find 
>>> the image attachment more work myself. But whatever you want. :)
>>>
>>> Tones
>>>
>>> On Thursday, 15 July 2021 at 12:10:06 UTC+10 [email protected] wrote:
>>>
>>>> Well, choice of filtering mechanism to reduce the number tags, that's 
>>>> kind of hard to setup in a way that suits everybody.
>>>>
>>>> Probably best to let each individual customize this basic code with the 
>>>> kind of filters (cosmetics, etc.) that work for her/him.
>>>>
>>>> I did the parts that were fun to do on my free time.  The rest is for 
>>>> somebody else, although I'll build anything for anybody for the right 
>>>> price...
>>>>
>>>> Aside:  Sharing code as attachments versus images (usually with a link 
>>>> to working code in hosted TiddlyWiki) is hit and miss with me.  I wish you 
>>>> had not brought attention to it.  It is a bit of a reminder about a 
>>>> standard that I don't always have the energy to achieve.  A simple "Thanks 
>>>> for sharing" (minus the other bit) would have been pretty sweet.
>>>>
>>>>
>>>>
>>>> On Wednesday, July 14, 2021 at 10:02:05 PM UTC-3 TW Tones wrote:
>>>>
>>>>> Charlie,
>>>>>
>>>>> I like the idea here. To me however the strength would be in providing 
>>>>> a filter to the tag selection. Perhaps have a set. for example if tagged 
>>>>> todo provide a drop down of status tags.
>>>>>
>>>>> This would simplify wiki with a lot of tags as discussed here 
>>>>> <https://groups.google.com/g/tiddlywiki/c/NtaT6RstEKA>
>>>>>
>>>>> I tested you JSON on tiddlywiki.com and the multi-colum effect was 
>>>>> not there
>>>>>
>>>>> Thanks for sharing (code rather than images).
>>>>> Tones
>>>>>
>>>>> On Thursday, 15 July 2021 at 08:57:53 UTC+10 [email protected] wrote:
>>>>>
>>>>>> Yeah, I never make pretty until general concept is iron-clad, and 
>>>>>> only if it is worth it (i.e. if nobody likes the general approach, why 
>>>>>> would I waste my time with prettiness?  I'm quirky that way ...)
>>>>>>
>>>>>> On Wednesday, July 14, 2021 at 7:51:03 PM UTC-3 [email protected] 
>>>>>> wrote:
>>>>>>
>>>>>>> Very good! We need to test it. But for the button it is better to 
>>>>>>> use the standard code for checking the text and icon options, otherwise 
>>>>>>> it 
>>>>>>> looks very strange so far!
>>>>>>> https://i.imgur.com/sQjbYob.jpg
>>>>>>>
>>>>>>> <$button tooltip="" aria-label="" class=<<tv-config-toolbar-class>>>
>>>>>>> *<$list filter="[<tv-config-toolbar-icons>match[yes]]">*
>>>>>>> {{$:/my/images/storyview-classic}}
>>>>>>> </$list>
>>>>>>> *<$list filter="[<tv-config-toolbar-text>match[yes]]">*
>>>>>>> <span class="tc-btn-text"><$text text="" /></span>
>>>>>>> </$list>
>>>>>>> <$action-sendmessage $message="tm-new-tiddler"
>>>>>>> </$button>
>>>>>>> среда, 14 июля 2021 г. в 17:48:24 UTC+3, [email protected]: 
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> *(Attached JSON package with necessary tiddlers below.  Drag and 
>>>>>>>> drop into a TEST TiddlyWiki to try it out and experiment with.)*
>>>>>>>>
>>>>>>>> I've been monitoring the How to make a more convenient method for 
>>>>>>>> selecting tags? 
>>>>>>>> <https://groups.google.com/g/tiddlywiki/c/mMFBKZ1tbAo>, and I 
>>>>>>>> suddenly had a coding itch I had to scratch.  So an hour later, a very 
>>>>>>>> bare-bones foundation for potential snazzy GUI for editing/selecting a 
>>>>>>>> tiddler's tags .
>>>>>>>>
>>>>>>>> Fun TiddlyWiki things in this gadget:
>>>>>>>>
>>>>>>>>    - setup of custom buttons for tiddler "View Toolbar"
>>>>>>>>       - mechanism, I think, is the same for setting up a buttons 
>>>>>>>>       for tiddler "Edit Toolbar"
>>>>>>>>    - CSS for presenting a list as multicol, number of columns 
>>>>>>>>    based on width of display area
>>>>>>>>    - a use-case for TiddlyWiki modals
>>>>>>>>    - filter example: how to get all tags in a TiddlyWiki
>>>>>>>>    - the quick and easy use of checkbox widget for 
>>>>>>>>    selecting/unselecting tags for a tiddler
>>>>>>>>
>>>>>>>> Cheers !
>>>>>>>>
>>>>>>>>
>>>>>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad0fdca4-4622-4572-94e8-bcb2a689fc7an%40googlegroups.com.

Reply via email to