[tw5] Re: HammerWidgets UPDATE

2018-04-22 Thread BurningTreeC
The Widgets are now bundled as a plugin on 
http://hammerwidgets.tiddlyspot.com

There's also a new demo for dragging tiddlers freely through the story 
river :P


Look for the $:/panmacros tiddler to see a macro the lets you make any 
element movable

-- 
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/50b77a67-c98b-44ed-8a9f-389fbf8ea0c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-21 Thread BurningTreeC
UPDATE II 

The widgets have undergone another update that changes their attributes

instead of the "targets" attribute they now use "class" and "tag"


Now they create the gesture-enabled element applying the class and the tag 
passed as attributes

Before the element had to be created by the user - that caused some trouble


I hope they only get more usable and you like them


Have a nice weekend all,

BTC

-- 
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/7359797c-3d63-4b01-9fa9-c4e85aac62a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-18 Thread BurningTreeC

>
> Cool! 
>
> Is it just me, or am I getting a better performance on the Swipe gesture 
> with this update? 
>
>
thanks!

that's possible, I've changed a small part that handles swipe recognition

BTC

-- 
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/0c229ba2-0dcc-4eb1-bda0-2d8539831560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-18 Thread JD
Cool! 

Is it just me, or am I getting a better performance on the Swipe gesture 
with this update? 



On Wednesday, April 18, 2018 at 2:43:36 AM UTC+9, BurningTreeC wrote:
>
> Hi all,
>
> I've updated all 5 hammer - widgets
>
> these are the changes:
>
>
>- improved stability
>- no "$" anymore in front of the widget attributes - before: <$swipe 
>$targets="mytargets" $actions="myactions">now: <$swipe 
>targets="mytargets" actions="myactions">
>- pan widget: now also stores the absolute coordinates (relative to 
>the top of the page) of the pointer in the state tiddler as absolute-x and 
>absolute-y
>- pan widget: also stores the top and left coordinates of the 
>element's ancestor as parent-y (top) and parent-x (left)
>- pan widget: changes in naming of the fields in the state tiddler:
>   - center-x becomes relative-x
>   - center-y becomes relative-y
>
>
> the most has been done for the pan widget. with the new values now it's 
> easier to move elements (even tiddlers) freely around
> examples and docs on http://hammerwidgets.tiddlyspot.com are updated
>
> BurningTreeC
>

-- 
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/cb493980-a785-47a6-9a4a-62d3a7bd2577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-18 Thread @TiddlyTweeter
Ciao BTC

Just general comment on "touch tools" & "gestures". This is not observation 
on your excellent tuning of Hammer.js which is working well, I think. But 
has some bearing, I think, on its reception and documentation in TW.

I only just began to get my head round cross-platform issues. Its been 
quite difficult to differentiate what are intrinsic issues from 
implementation issues. Your latest works well so it easier to see the 
"problems"--well, better, "differences."

I try be brief ... 

-- there are some variations between platforms, due, probably, to their OS? 
One thing is the "gestures" tend to differ a bit. Its not so much a 
problem. But on each platform (& maybe browser too?) there is a kind of 
gestural finesse you need to learn (in your hand) to make the use seamless. 
I think that is a normal problem. iOS, Android & Windows do work a bit 
differently. 

-- finger/pen tap rate and mouse-clicks I think is an issue. I can click a 
mouse at speed. I can tap a pen only slightly slower. Finger is relatively 
sluggish. This can matter for practical usage on TAP. On desktop (mouse 
click) rate is a doddle, on tablet its not always (finger) perfect at the 
default speed. 


*Suggestion: Maybe a more upfront "performance tuner" for TAP Rate could 
help alleviate such issues between platforms?*
I'd like spend a moment on WINDOWS touch-tablets. Its quite a complex 
situation. On a SurfacePro 4 with Win10, for instance, you could be in 
"keyboard" (physical keyboard) mode, or "tablet only" mode--and in both 
cases either with or without a mouse and, or, a stylus. Too many 
combinations to test thoroughly. But...

-- PINCH looks unworkable as the OS, I think, reserves it as basic to its 
own working for global sizing;
-- PRESS (for the sound in your example) doesn't work reliably. Sometimes 
it does. Sometimes it doesn't. I will try it in other browsers than FF to 
check if its an OS or browser issue.
-- SWIPE works as expected
-- PAN works well. BUT you need learn a specific gesture in some 
circumstances so as override the OS default behaviour first. If you want 
more info on this issue let me know.

On Windows 7 touchless Desktop, as expected I could make everything work 
except pinch, (which desktops, basically, don't support).

I think the point in this, without having to get bogged down in a million 
variants, is simply to document that
* you need to play a bit on each platform/browser combo to finesse its 
exact gestures.*
Best wishes
Josiah

-- 
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/3392ca83-2bf9-4e11-a0aa-40fb9d9f7dd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-18 Thread BurningTreeC

>
> Quick note. The performance also seems a lot better. Reliability on 
> non-touch desktops much improved.
>
> Best wishes
> Josiah
>

Thanks Josiah! 

-- 
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/f984741d-6787-42c9-b368-ffe55f43a190%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: HammerWidgets UPDATE

2018-04-17 Thread @TiddlyTweeter
Quick note. The performance seems also seems a lot better. Reliability on 
non-touch desktops much improved.

Best wishes
Josiah

-- 
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/ca83dd7a-38ec-400f-9e99-24489b1680a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.