Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-13 Thread Alex Hough
a possible use case would be to edit an image in situ. I've tried the code
with a png drawn in TW, but it gets opened as data no the image

I drew a picture and used it to create a thumbnail using the thumbnail
macro. It would be nice to update a image without opening it and for that
image to propagate though to the thumbnail.



best wishes

Alex

On 12 January 2016 at 18:21, Tobias Beer  wrote:

> Hi Matabele,
>
>> The application I had in mind is for entering data, beginning with a
>> blank form. I prefer pop-up type edit-text boxes, as I have several
>> different sections of the form into which to enter data...
>>
>
> Be so kind as to post an example at some point,
> for us to have a look at how your overall editing process works.
>
> Best wishes,
>
> Tobias.
>
> --
> 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 https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/c467c512-546b-4393-8005-f1aa1e431d5b%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALc1hYd_P2Mxs%3DTfgWn94Zcx5O1Qua-%3DY4mzDrjP4yXpuSz4Ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-12 Thread Tobias Beer
Hi Matabele, 

> The application I had in mind is for entering data, beginning with a blank 
> form. I prefer pop-up type edit-text boxes, as I have several different 
> sections of the form into which to enter data...
>

Be so kind as to post an example at some point,
for us to have a look at how your overall editing process works.

Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c467c512-546b-4393-8005-f1aa1e431d5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-12 Thread Matabele
Hi Tobias

The application I had in mind is for entering data, beginning with a blank 
form. I prefer pop-up type edit-text boxes, as I have several different 
sections of the form into which to enter data. I 're-use' the same 
edit-text box to enter data into each section of the form -- by simply 
switching the target field. I want quick and efficient -- click to save and 
cancel aren't therefore an issue.

regards

On Tuesday, 12 January 2016 18:38:31 UTC+2, Tobias Beer wrote:
>
> One thing I am not sure about with this is:
> There is no "click to save" or "cancel" here.
> So, this feels quite unsafe as an editor.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95d0ee0e-b65d-4463-a121-1764795173a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-12 Thread Tobias Beer
Hi Matabele,
 

> Nice -- I have a couple of applications for this version.
>

One thing I am not sure about with this is:
There is no "click to save" or "cancel" here.
So, this feels quite unsafe as an editor.

I'll see if I can't have tobibeer/inc 
 (alternatively) use an inline 
ui
...with the appropriate buttons save and cancel buttons.

Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a6c15f58-9ad6-40a4-b0e6-fab899166e1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Tobias Beer
Hi Matabele,

Nice tip, here's a slightly pimped up version:

\define qualifyState() <
<$vars state=<>>
<$checkbox tiddler=<> field="text" checked="edit" unchecked="" class=
"check-edit">{{$:/core/images/edit-button}} <$link><$view field=
"title"/>
<$reveal state=<> type="match" text="edit">
<$edit-text tiddler=<> field="text" class="tc-edit-texteditor" 
minHeight="200px" autoHeight="yes"/>




.check-edit input{display:none;}
.check-edit svg{fill:grey;height:1em;width:1em;curser:pointer;}
.check-edit:hover svg{fill:black;}



Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a8b2b68-1411-4f17-8b98-6f14644d92d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Matabele
Hi Tobias

Nice -- I have a couple of applications for this version.

regards

On Tuesday, 12 January 2016 08:57:08 UTC+2, Tobias Beer wrote:
>
> Hi Matabele,
>
> Nice tip, here's a slightly pimped up version:
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e253758d-e83a-43ba-a3ad-a44df20a4652%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-11 Thread Matabele
Hi

Another simple mechanism to get a sticky popup for editing (the second 
reveal widget isn't necessary):

<$checkbox field="state" checked="edit" unchecked="hide"/>
<$reveal state="!!state" type="match" text="edit">
<$edit-text tiddler="target" field="text"/>

<$reveal state="!!state" type="match" text="hide">
Click to Edit


regards

On Sunday, 10 January 2016 15:18:01 UTC+2, Tobias Beer wrote:
>
> Hi Matabele,
>  
>
>> I tried to add the class tc-popup-keep 
>>  to the reveal, but the popup 
>> won't be sticky.
>> Any ideas how to make a reveal given focus by an edit-text-widget not 
>> close when clicking inside?
>>
>
> I figured it out. It needs both classes *tc-popup* AND *tc-popup-keep*. 
>
> Best wishes,
>
> Tobias.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/92940ba9-6168-46f6-984e-5b91b813b1ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread Tobias Beer
Hi Matabele,

Not sure exactly what you're looking for, but try something like this:
>

I tried to add the class tc-popup-keep 
 to the reveal, but the popup won't 
be sticky.
Any ideas how to make a reveal given focus by an edit-text-widget not close 
when clicking inside?

Best wishes,

Tobias.

>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bbac503d-53a2-4fdd-87ef-c63bba5aced7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread Tobias Beer
Hi Matabele,
 

> I tried to add the class tc-popup-keep 
>  to the reveal, but the popup 
> won't be sticky.
> Any ideas how to make a reveal given focus by an edit-text-widget not 
> close when clicking inside?
>

I figured it out. It needs both classes *tc-popup* AND *tc-popup-keep*. 

Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e7f3ea4-df2f-46e4-996c-e0b0555929e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2016-01-10 Thread William Jackson
Hi Tobias

OK thanks — I’ll give this a try.

regards

On 10 January 2016 at 3:18:17 PM, Tobias Beer (beertob...@gmail.com) wrote:

Hi Matabele,
 
I tried to add the class tc-popup-keep to the reveal, but the popup won't be 
sticky.
Any ideas how to make a reveal given focus by an edit-text-widget not close 
when clicking inside?

I figured it out. It needs both classes tc-popup AND tc-popup-keep. 

Best wishes,

Tobias.
--
You received this message because you are subscribed to a topic in the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/tiddlywiki/kuq-FDMDWWg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/5e7f3ea4-df2f-46e4-996c-e0b0555929e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/etPan.56926c59.6159cd04.794a%40WillsMac.WORKGROUP.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2015-10-31 Thread Matabele
Hi

Not sure exactly what you're looking for, but try something like this:

<$edit-text tiddler="$:/temp/input" tag="input" default="" 
focusPopup="$:/state/demo" class="tc-popup-handle"/>
<$reveal state="$:/state/demo" type="nomatch" text="" default="">

<$linkcatcher to="TargetTiddler!!myfield">

[[A value to set]]
[[Another value]]
[[These links could be generated]]
[[by a list widget, too]]





Note: All I have changed is the TextReference of the 'to=' attribute of the 
$linkcatcher widget -- now points to a field

regards

On Friday, 30 October 2015 22:40:37 UTC+2, FrD wrote:
>
> Hi Jeremy,
>
> I'm back on this topic.
>
> How would I modify the code in order to set a field in the TargetTiddler 
> (different from the text field) ?
> The only way I found was to use buttons in the dropdown with 
> <$action-setField ...>.
> I was wondering if there is somethin much simpler like the use of the 
> <$link> and <$linkcatcher> widgets.
>
> Thanks
>
> FrD
>
>

-- 
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/91be6f14-ce22-4eca-93d9-a06bf8d2c69f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2015-10-31 Thread FrD
Hi Matabele,

That's exactly what I was looking for. Thanks a lot. I should have tried that 
but believed that the "to" attribute had to be a tiddler.

FrD

-- 
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/5af811ca-4f1b-4a80-85a8-e31b1ce1acf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2015-10-30 Thread FrD
Hi Jeremy,

I'm back on this topic.

How would I modify the code in order to set a field in the TargetTiddler 
(different from the text field) ?
The only way I found was to use buttons in the dropdown with <$action-setField 
...>.
I was wondering if there is somethin much simpler like the use of the <$link> 
and <$linkcatcher> widgets.

Thanks

FrD

-- 
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/89b41679-09a8-46c5-b75e-eaaf15eac17b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2015-10-24 Thread FrD
Hi Jeremy,

Thank you for your answer. Your example works well.

The difference with the code I wrote is the class attribute of the 
edit-text widget.
I rewrote my use case with this class attribute in the edit-text widget and 
removed the class attribute of the reveal (which was "tc-popup-keep").
Now it's all good.

FrD

Le samedi 24 octobre 2015 16:29:24 UTC+2, Jeremy Ruston a écrit :
>
> Here’s a very simple example of a dropdown using focusPopup:
>
> —
>
> Editing TargetTiddler.
>
> <$edit-text tiddler="TargetTiddler" tag="input" default="" 
> focusPopup="$:/state/demo" class="tc-popup-handle"/>
> <$reveal state="$:/state/demo" type="nomatch" text="" default="">
> 
> <$linkcatcher to="TargetTiddler">
> 
> [[A value to set]]
> [[Another value]]
> [[These links could be generated]]
> [[by a list widget, too]]
> 
> 
> 
> 
>
> —
>
> I’d welcome a documentation contribution on this.
>
> Best wishes
>
> Jeremy.
>
>
>
>
> On 24 Oct 2015, at 15:22, FrD  wrote:
>
> Hi,
>
> I managed to have it working. The code looks like :
>
> <$edit-text tiddler="AuxTest" field="inputfield" focusPopup="PopupState"/>
> <$reveal type="popup" state="PopupState" class="tc-popup-keep">
> 
>
> {{PopupTiddler}}
> 
>
> With a <$reveal> after the <$edit-text> it works; at least if you keep the 
> mouse button down until you reach the popup !
> PopupTiddler is displayed inside a popup. This tiddler has a button to 
> close the popup by deleting the state tiddler as shown by Eric Shulman (
> https://groups.google.com/d/msg/tiddlywiki/Ggm1-oblWP8/ys4OZyYaEAAJ)
>
> FrD
>
>
>
>
> Le samedi 24 octobre 2015 15:06:06 UTC+2, FrD a écrit :
>>
>> Hi,
>>
>> I've read in the doc (http://tiddlywiki.com/#EditTextWidget) that the 
>> edit-text widget can trigger a popup with the option 
>> focusPopup="PopupStateTiddler".
>>
>> I've tried to use this construct but with no results. My goal was to have 
>> a popup appear with buttons to give a value to the field (via 
>> action-setfield) and a button to close the popup.
>>
>> As there is no documentation or exemple in the doc, can anybody explain 
>> how to make this work ?
>>
>> Thanks in advance.
>>
>> FrD
>>
>
> -- 
> 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 tiddl...@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/22ffdfb8-9a08-44ad-a0b0-48628ea3409e%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/b4466308-44c2-49cf-af9d-cea007466c60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] edit-text widget with popup

2015-10-24 Thread Jeremy Ruston
Here’s a very simple example of a dropdown using focusPopup:

—

Editing TargetTiddler.

<$edit-text tiddler="TargetTiddler" tag="input" default="" 
focusPopup="$:/state/demo" class="tc-popup-handle"/>
<$reveal state="$:/state/demo" type="nomatch" text="" default="">

<$linkcatcher to="TargetTiddler">

[[A value to set]]
[[Another value]]
[[These links could be generated]]
[[by a list widget, too]]





—

I’d welcome a documentation contribution on this.

Best wishes

Jeremy.




> On 24 Oct 2015, at 15:22, FrD  wrote:
> 
> Hi,
> 
> I managed to have it working. The code looks like :
> 
> <$edit-text tiddler="AuxTest" field="inputfield" focusPopup="PopupState"/>
> <$reveal type="popup" state="PopupState" class="tc-popup-keep">
> 
> 
> {{PopupTiddler}}
> 
> 
> With a <$reveal> after the <$edit-text> it works; at least if you keep the 
> mouse button down until you reach the popup !
> PopupTiddler is displayed inside a popup. This tiddler has a button to close 
> the popup by deleting the state tiddler as shown by Eric Shulman 
> (https://groups.google.com/d/msg/tiddlywiki/Ggm1-oblWP8/ys4OZyYaEAAJ 
> )
> 
> FrD
> 
> 
> 
> 
> Le samedi 24 octobre 2015 15:06:06 UTC+2, FrD a écrit :
> Hi,
> 
> I've read in the doc (http://tiddlywiki.com/#EditTextWidget 
> ) that the edit-text widget can 
> trigger a popup with the option focusPopup="PopupStateTiddler".
> 
> I've tried to use this construct but with no results. My goal was to have a 
> popup appear with buttons to give a value to the field (via action-setfield) 
> and a button to close the popup.
> 
> As there is no documentation or exemple in the doc, can anybody explain how 
> to make this work ?
> 
> Thanks in advance.
> 
> FrD
> 
> -- 
> 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/22ffdfb8-9a08-44ad-a0b0-48628ea3409e%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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/4270C072-1840-48FA-90E5-47DC758ED58C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.