It is currently Fri Apr 19, 2024 5:41 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2
Author Message
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #21 Posted: Wed Apr 20, 2016 8:54 pm 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
EdLee, Bonobo, and other iOS and mobile users:

Could you please test the functionality of the latest changes at:
http://yewang.github.io/besogo/testing.html

I just made changes to suppress the hover effects altogether, when a touch interface is detected. Hopefully, this will allow EdLee to place stones and remove the "double-click" requirement for Bonobo. Also, it removes the awkward hover effect for all other mobile/touch interface users.

Top
 Profile  
 
Offline
 Post subject:
Post #22 Posted: Thu Apr 21, 2016 1:40 am 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Hi YeGo,

Thanks for taking the feedback and tryng to fix this bug.
The new behavior is there's a quick flash (double flash?)
of a grey square; then, a blue + sign at the intersection.
But still no stone registered, unfortunately.
Attachment:
image.jpg
image.jpg [ 91.17 KiB | Viewed 5004 times ]

Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #23 Posted: Thu Apr 21, 2016 3:41 am 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
Now that's a strange bug. The blue plus is used to signify the previous move, so the move is getting registered in some form, but the stone isn't drawn for some reason.

What happens when you click the board in multiple places? Do you get a blue plus at each point you click? Does the tree display grow as you click on the board? What does the rest of the page look like? Do the navigation buttons move you throughout the tree? Can you click on individual nodes on the tree?

Thanks a lot for all of your help in working out these bugs.

Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #24 Posted: Thu Apr 21, 2016 5:27 am 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
Looks like this new bug is caused by a CSS styling change that I recently introduced, where the styling of certain SVG properties (in this case, the radius of circles) is not supported on all browsers. I will fix this later.

Also, I need to further tweak the touch detection code, since the navigation tree still has hover effects that need to be taken care of.

Top
 Profile  
 
Offline
 Post subject:
Post #25 Posted: Thu Apr 21, 2016 9:06 am 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
YeGO wrote:
What happens when you click the board in multiple places?
Do you get a blue plus at each point you click?
Yes.
YeGO wrote:
Does the tree display grow as you click on the board?
Yes.
YeGO wrote:
What does the rest of the page look like?
YeGO wrote:
Do the navigation buttons move you throughout the tree?
Yes.
YeGO wrote:
Can you click on individual nodes on the tree?
Yes.
Attachment:
image.jpg
image.jpg [ 110.98 KiB | Viewed 4962 times ]

Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #26 Posted: Thu Apr 21, 2016 3:21 pm 
Oza
User avatar

Posts: 2221
Location: Germany
Liked others: 8262
Was liked: 924
Rank: OGS 9k
OGS: trohde
Universal go server handle: trohde
iPhone 4s, iOS 9.3.1, Chrome/Safari

I tap once, a grayed stone appears.

I tap elsewhere, the grayed stone appears there.

I tap a second time on the same intersection (NOT necessarily a double tap, which is nice and, for me, the expected behaviour), the stone appears with a blue cross and a blueish tint.

Then I tap elsewhere, and as the new, grayed stone appears, the blueish tint disappears from the last placed stone.

Attachment:
IMG_0221.PNG
IMG_0221.PNG [ 62.36 KiB | Viewed 4942 times ]

Attachment:
IMG_0222.PNG
IMG_0222.PNG [ 62.57 KiB | Viewed 4942 times ]


YeGO wrote:
What happens when you click the board in multiple places?
See above.

Quote:
Do you get a blue plus at each point you click?
After the second tap (or double tap).

Quote:
Does the tree display grow as you click on the board?
Yes.

Quote:
What does the rest of the page look like?
Nice :-) First I thought, “ugh, why is the White/Black info cut off at the bottom?”, then i realized I can scroll the page—had forgotten that it was not an app but rather a Web page :roll:

Quote:
Do the navigation buttons move you throughout the tree?
Yes

Quote:
Can you click on individual nodes on the tree?
Yes


And now I tried it with Safari on a first generation iPhone (iOS 3.1.), and I cannot place stones, only grayed-out stones appear, and when I tap, a black square appears very shortly. [A minute later:] I realize that the black square also appears on the iPhone 4s but for an even shorter time, just flashing up once.

_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)

Top
 Profile  
 
Offline
 Post subject:
Post #27 Posted: Fri Apr 22, 2016 12:40 am 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Hi YeGo,

I can reproduce the same results in post 25 on these platforms:

- iPhone 4S, iOS 7.x, Safari version "9537.53"
- Windows 8, Firefox 45.0.2
- Windows 8, IE 11.0.9600.18283
_____________________________________________

So far, the first and only time I see actual :black: and :white: stones is here:

- Windows 8, Chrome 49.0.2623.112 m

Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #28 Posted: Fri Apr 22, 2016 5:53 am 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
EdLee, Bonobo,

Thanks for all of your help and detailed descriptions for debugging on the iPhone.

I just pushed new changes that hopefully fixes the missing stones bug (caused by stylesheet issues this time). Hopefully, the testing site should work as intended on iOS now.
http://yewang.github.io/besogo/testing.html

Eventually I will make a new release with these changes as well and update the main site (http://yewang.github.io/besogo/) to use the new code as well.

Bonobo, in your last post, were you using the site "http://yewang.github.io/besogo/" rather than "http://yewang.github.io/besogo/testing.html"? The former actually runs an older version of the code.

The "double-click" to move behavior observed by Bonobo on iOS was not actually the intended behavior, but rather just a quirk of how the hover effects cancel clicks on iOS. I may eventually add this behavior back in (making it a user option) as an intentional feature, but for now, I have removed it since it was just an unintentional and unreliable effect caused by a bug.

Top
 Profile  
 
Offline
 Post subject: Re:
Post #29 Posted: Fri Apr 22, 2016 5:56 am 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
EdLee wrote:
Hi YeGo,

I can reproduce the same results in post 25 on these platforms:

- iPhone 4S, iOS 7.x, Safari version "9537.53"
- Windows 8, Firefox 45.0.2
- Windows 8, IE 11.0.9600.18283
_____________________________________________

So far, the first and only time I see actual :black: and :white: stones is here:

- Windows 8, Chrome 49.0.2623.112 m


Thank you for these details. I was able to track down this issue to how stylesheets are handled for styling SVG elements. I had made other changes that involved pushing certain graphical properties into the stylesheet (in particular, the radius of the stone circles). This works fine on Chrome, however, it seems that it fails on many other browsers since it is not standard stylesheet property, which in turns causes the stone circles not to appear since the radius was not set.

Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #30 Posted: Fri Apr 22, 2016 9:35 am 
Oza
User avatar

Posts: 2221
Location: Germany
Liked others: 8262
Was liked: 924
Rank: OGS 9k
OGS: trohde
Universal go server handle: trohde
YeGO wrote:
Bonobo, in your last post, were you using the site "http://yewang.github.io/besogo/" rather than "http://yewang.github.io/besogo/testing.html"? The former actually runs an older version of the code.

Ouf, IIRC the first one, sorry :-?

Currently I’m a little handicapped but will try the /testing page ASAP.

_________________
“The only difference between me and a madman is that I’m not mad.” — Salvador Dali ★ Play a slooooow correspondence game with me on OGS? :)

Top
 Profile  
 
Offline
 Post subject:
Post #31 Posted: Fri Apr 22, 2016 9:56 am 
Honinbo
User avatar

Posts: 8859
Location: Santa Barbara, CA
Liked others: 349
Was liked: 2076
GD Posts: 312
Hi YeGo,

The stones now register on the iPhone 4S, iOS 7.x, Safari !
But, there's a very quick flash of a grey square
when I click a new move -- small price to pay ?
( It would be prettier and more elegant without it. )

Top
 Profile  
 
Offline
 Post subject: Re:
Post #32 Posted: Sun Apr 24, 2016 6:50 pm 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
EdLee wrote:
a very quick flash of a grey square
when I click a new move


I think this may simply be due to the interface design of Safari, which seems to do that show that a click has been registered on an object.


On another note, I've been experimenting with CSS-based themes:
http://yewang.github.io/besogo/testing.html?theme=alt
http://yewang.github.io/besogo/testing.html?theme=book
http://yewang.github.io/besogo/testing.html?theme=dark


This post by YeGO was liked by: Bonobo
Top
 Profile  
 
Offline
 Post subject: Re: BesoGo: yet another web-based SGF editor
Post #33 Posted: Thu May 12, 2016 4:42 am 
Dies with sente

Posts: 82
Liked others: 19
Was liked: 46
Realistic rendering: slate and shell stones on a kaya board
http://yewang.github.io/besogo/testing.html?theme=wood&realstones=on

Attachment:
IgoHatsuyoron.png
IgoHatsuyoron.png [ 1.27 MiB | Viewed 4789 times ]


This post by YeGO was liked by 2 people: Bonobo, Vio
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group