Hi I had a look at your extension -- I think a special purpose widget for the manipulation of lists would be preferable to extending the $action-setfield widget. There is clearly a need for multiple lists with functionality akin to that of the 'tags' field -- but how to best implement this is unclear to me.
There are many different possibilities for order in a list -- my proposal is to use filter expressions to order the list, rather than using complex attributes in the widget to control the point of insertion (how could this work when adding multiple strings?) As an experiment, I appended some of the code from my $x-setrefs widget to the $x-mangletags widget -- this allows the list to be operated upon by a filter expression, after manipulation of the strings. The idea works quite well for simple ascending/descending order -- but: -- how many other possibilities for order are desirable? -- can the existing filters be modified/extended to achieve this? -- are multiple instances of the same string necessary in a list (currently only one is permitted)? -- if so -- what for? -- would users prefer the widget to allow for the addition/removal of multiple tags (like my $x-setrefs widget)? I became bogged down with possibilities and needed some feedback. regards On Sunday, 11 October 2015 23:50:27 UTC+2, Jed Carty wrote: > > I was working on some stuff that would probably go best as an extension of > the action-setfield widget, I have a working example wiki here > <http://ooktech.com/jed/ExampleWikis/ListManipulation/>. > > It should still be extended so that it can remove the nth instance of an > item in a list instead of just the first or last and there has been some > debate about the best way to actually specify the action. > -- 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 post to this group, send email to [email protected]. 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/49ac8ec8-dc61-4b6a-be5c-8e869cc52a71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

