beingsane / streeme

Automatically exported from code.google.com/p/streeme
MIT License
0 stars 0 forks source link

Use HTML5 session history #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The mobile UI makes you navigate around with javascript, which is pretty 
snappy, but infuriating when you hit the back button and exit Streeme instead 
of just going to the previous "card".

Streeme should use HTML5 session history 
(http://www.w3.org/TR/html5/history.html)

Android and iOS support:
http://caniuse.com/#search=history

Original issue reported on code.google.com by fbone...@gmail.com on 2 Apr 2011 at 7:54

GoogleCodeExporter commented 8 years ago
Yes.. it's coming - just didn't have time when writing the app initially. In 
the short term I might add an onbeforeunload popup, so you can cancel 
accidental back navigation like the desktop app does.  

Original comment by chaffn...@gmail.com on 2 Apr 2011 at 9:21

GoogleCodeExporter commented 8 years ago
I worked on this for a bit and kept getting into hell trying to make the ui 
follow the state around. I decided to go with a cookie based state memory 
instead - it was all built into the datatable system I'm using, so it was much 
more preferable. I'll watch for Datatables hooking into HTML5 state, but for 
now, it's the best I've got.

Original comment by chaffn...@gmail.com on 22 Mar 2012 at 4:19