News for hackers. Stuff that matters.
Re:You probably don't need a single-page app by Twirrim on Sunday February 17, 2019 @10:40AM (#19184938)
With gmail: Move your mouse pointer down to the lower right corner of the tab. Do a forced refresh (Ctrl+f5) and you'll see some text pop up while it's loading, one of which is a link to a basic HTML version of the site. Click on it and you're back to what appears to be almost the original gmail interface. Up the top of the page you'll see an option to make it default.

It's super fast. Almost absurdly so, compared to the "full" gmail experience. Added bonus: It gets out of the damn way so you can just do what you came there to do: write and read email.

Re:You probably don't need a single-page app by ibty on Sunday February 17, 2019 @03:05PM (#19186512)
There is a direct link to access basic HTML version of GMail : http://mail.google.com/mail/h/
Re:You probably don't need a single-page app by KuhlMensch on Monday February 18, 2019 @01:40PM (#19193013)
hm. So.

The SPA gmail platform has an _infuriatingly long_ loading screen, but once loaded the click-> to reading email _is_ quicker.

I suspect there is allot that can (and should) be done to optimize the SPA version.

But man, the html version is speedy.

I barely use email, but I'm going to put the html-only version into my rotation and see which one I gravitate toward.

Re:You probably don't need a single-page app by jrockway on Sunday February 17, 2019 @06:40PM (#19187623)
That is a blast from the past. I love it.
Re:You probably don't need a single-page app by Twirrim on Sunday February 17, 2019 @04:50PM (#19187135)
Ahh nice, thanks!
Re:You probably don't need a single-page app by hyperpape on Sunday February 17, 2019 @11:30AM (#19185224)
Great example, because the basic HTML version doesn't support keyboard shortcuts, which makes it a huge step back for me.

It's certainly possible to have a server rendered app that uses JS sparingly for interactive behavior, but it blows away a lot of the benefits once you're doing significant DOM-manipulation.

Re:You probably don't need a single-page app by aaaaaaaaaaab on Sunday February 17, 2019 @12:27PM (#19185575)
If only there was a way to support keyboard shortcuts via plain old HTML...

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...

Re:You probably don't need a single-page app by FootballMuse on Sunday February 17, 2019 @12:58PM (#19185775)
Aren't those inconsistent across platforms? Also you must use the "super" key/combo, and there's only one. Not to mention the internationalization concerns.

Good luck implementing 10% of the keyboard shortcuts gmail uses: https://support.google.com/mail/answer/6594?co=GENIE.Platfor...

Re:You probably don't need a single-page app by ryantriangles on Sunday February 17, 2019 @08:24PM (#19188034)
The accesskey feature is usually discouraged because it can break screen readers and other accessibility tools.
Re:You probably don't need a single-page app by Figs on Sunday February 17, 2019 @01:28PM (#19185922)
Instead of trying to quickly click the link, it's easier to just turn JS off and refresh GMail. You'll be prompted to either turn JS on or switch to Basic HTML. (You can make it the default after that, as described.)

I did this a while back, and the only real issue I've had with it is that there doesn't seem to be an equivalent to the "Check mail now" action for imported email accounts. (The 'refresh' link annoyingly does not trigger this action.)

Re:You probably don't need a single-page app by tyingq on Sunday February 17, 2019 @10:54AM (#19185013)
There's a single file that's 584KB of javascript from hangouts.google.com in the "full experience" Gmail. Blocking that seems to help, a lot. I imagine there's probably some configuration to turn off hangouts that provides the same benefit.
Re:You probably don't need a single-page app by s3graham on Sunday February 17, 2019 @10:56AM (#19185024)
It's in Settings.
Re:You probably don't need a single-page app by lucasverra on Sunday February 17, 2019 @12:14PM (#19185485)
chat off ?
Re:You probably don't need a single-page app by yawaramin on Sunday February 17, 2019 @01:51PM (#19186083)
There's also a hidden 'mobile webapp' version: https://mail.google.com/mail/mu/mp/167/?mui=ca#tl/Inbox
Re:You probably don't need a single-page app by rement on Sunday February 17, 2019 @02:23PM (#19186288)
I got a popup saying the offline app is going away with a link to "setup" the new gmail app for offline use. Unfortunately the new gmail app for offline use does not support Firefox.

>Offline unavailable.

>The browser you are using is missing some features required to enable offline. To enable offline, you must use Chrome with version 61 or higher.

Re:You probably don't need a single-page app by julianlam on Sunday February 17, 2019 @05:35PM (#19187336)
Thanks for the tip! I realized this existed but didn't clue in to the fact that it could be set default. I've done so now, and already feel the absurd javascript weight lifting...