hoodie-app-tracker icon indicating copy to clipboard operation
hoodie-app-tracker copied to clipboard

If /hoodie/client.js cannot be loaded or JS is disabled, show helpful message

Open gr2m opened this issue 9 years ago • 3 comments
trafficstars

right now we have this

screen shot 2016-02-29 at 7 41 08 pm

gr2m avatar Mar 01 '16 02:03 gr2m

Cool, how about we have a message for users with JS turned off? I don't know how to do this in code so I need help. Same thing for client.js failing to load. Which we fixed with npm install and restarting the server

jsimplicio avatar Mar 01 '16 18:03 jsimplicio

Same thing for client.js failing to load. Which we fixed with npm install

That won’t happen anymore, it was do due to https://github.com/hoodiehq/discussion/issues/89

The reason why screen is blank is because we hide everything until we set the data-account-state property: https://github.com/hoodiehq/hoodie-app-tracker/blob/master/www/assets/app.css#L81

This was to avoid flicker, because if user is signed in, then the app was shown for a short time as signed out, until hoodie does its thing.

I don’t know what the simplest solution is here :) Maybe it’s out of scope for us right now. I’d say let’s leave the issue open and see if it remains an issue or not?

gr2m avatar Mar 01 '16 19:03 gr2m

Sounds good.

jsimplicio avatar Mar 02 '16 17:03 jsimplicio