[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread Eric Shulman
On Sunday, October 18, 2015 at 12:09:02 PM UTC-7, FrD wrote: > > Thanks a lot for the answer. It works well except that the button > appearance is weird as it retains the style of a clicked button. > Anyway this trick should be in the doc at tiddlywiki.com ! > There's another way to approach the

[tw] [TW5] Is the ordering of ActionSendMessageWidgets guaranteed?

2015-10-18 Thread Antaeus Feldspar
If I have two ActionSendMessageWidgets within a ButtonWidget, is the first one guaranteed to execute, and finish executing, before the second begins? I ask because there are a TREMENDOUS number of things I'm wanting to do with TW5 which seem like they can be done very easily if serial execution

[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread Eric Shulman
On Sunday, October 18, 2015 at 12:09:02 PM UTC-7, FrD wrote: > > Hi Eric, > > Thanks a lot for the answer. It works well except that the button > appearance is weird as it retains the style of a clicked button. > Anyway this trick should be in the doc at tiddlywiki.com ! > > FrD > When I paste

[tw] Re: [TW5] Is the ordering of ActionSendMessageWidgets guaranteed?

2015-10-18 Thread Matabele
Hi Although execution order of the action widgets themselves are serial, the order in which execution finishes in the listening widgets are not necessarily (in practice, the order of execution is most often serial.) In critical situations, the listening widget could trigger a message at the

[tw] Re: [TW5] Is the ordering of ActionSendMessageWidgets guaranteed?

2015-10-18 Thread Jed Carty
Yes, but there are some weird bits that come with the order that other things are done that may make it seem otherwise. For example, if you have something like this: <$fieldmangler> <$set name=SomeVariable value={{ThisTiddler!!tags}}> <$button>BUTTON!! <$action-sendmessage $message='tm-add-tag'

[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread Tobias Beer
Hi FrD, > The hard piece is for the first button not to close the popup. Is it > possible ? > I guess it's currently only possible if the popup is not rendered within the tiddler being modified by it. Not sure, but if you're modifying another tiddler, your popup should not close?!? Best

[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread FrD
Hi Tobias, Thanks for answering. I've tried your scenario with the popup modifying a field in another tiddler (other than the calling tiddler). The popup is closed anyway. I've tried to dig in some js files (core/modules/utils/dom/popup.js or reveal.js) but I cannot make much sense of it (too

[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread Eric Shulman
On Sunday, October 18, 2015 at 10:25:27 AM UTC-7, FrD wrote: > > Hi, > > I'm struggling with popups. > > I have a popup, triggered by a button, that transcludes a tiddler > containing two buttons. > The behaviour I'm looking for is : > - the first button when clicked does something (it calls

[tw] Re: [TW5] Popup more persistent ?

2015-10-18 Thread FrD
Hi Eric, Thanks a lot for the answer. It works well except that the button appearance is weird as it retains the style of a clicked button. Anyway this trick should be in the doc at tiddlywiki.com ! FrD -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

Re: [tw] Re: Close search results after action

2015-10-18 Thread Felix Küppers
Hi Tony, > I use the [TiddlyMap](tiddlymap.org) plugin, so after opening a search > result I often want to see what is linked to the Tiddler I have just > opened. I felt the same. I always wanted to see the last tab I used after clearing the search. In the end, @Spangenhelm and I created a

[tw] Re: [TW5] List Operations Using Filters

2015-10-18 Thread Matabele
Hi I have added two more filters: -- the remove[] filter selects N items from the head of the parameter array to remove from the current list -- with the ! prefix, the filter instead selects the N items to remove from the tail of the parameter array -- the sortby[] filter will sort the current

Re: [tw] Re: Close search results after action

2015-10-18 Thread Tony Grosinger
There are concepts that I like from both. I think the pre-release version is very nice because the search results go away when I am done with them. The plugin is really cool though because seeing the context of the search result is sometimes helpful, but it still doesn't revert to my previous

[tw] [TW5] Popup more persistent ?

2015-10-18 Thread FrD
Hi, I'm struggling with popups. I have a popup, triggered by a button, that transcludes a tiddler containing two buttons. The behaviour I'm looking for is : - the first button when clicked does something (it calls <$action-setfield .../>), and does not close the popup, - the second button also

[tw] Re: [TW5] List Operations Using Filters

2015-10-18 Thread Matabele
Hi I have published my efforts to Github via a pull request to the Master repo: https://github.com/Jermolene/TiddlyWiki5/pull/2037 We can now continue our discussion over there and, I hope, polish up the code :-) Some help with documentation would be welcomed (anybody?) -- not my