Jump to content

Recommended Posts

Posted

PW Admin doesn't really function without javascript, and my question would be, should we care?

I think, however, either way it might be nice to add a "<span>Javascript doesn't seem to be available, therefore you may not be able to access the full functionality of the admin</span>" somewhere maybe?

  • Like 1
Posted

pw needs javascript all over in the admin so there's no way to make it work without.

i agree it would be nice to add a warning. the login screen would be a nice place. you could do a PR and add some warning here that would be hidden via javascript and therefore only visible to clients without javascript.

https://github.com/processwire/processwire/blob/master/wire/modules/Process/ProcessLogin/ProcessLogin.module#L427-L451

  • Like 2
Posted
8 hours ago, benbyf said:

PW Admin doesn't really function without javascript, and my question would be, should we care?

I would say that it's been many years since developers had to worry about a site not working without JS. Back in the early 2000's it was considered evil and we did all sorts of things to avoid using it (and to make sure we used graceful degradation techniques), but these days there aren't many sites that you can use without it even on the frontend, so expecting it for the backend of a site shouldn't be an issue at all anymore. 

Facebook does this:

59c3b663b8ae9_ScreenShot2017-09-21at5_53_11AM.png.529bd552a274f7d5ba9be80ab57af117.png

but you guys should take a look at the old "m.facebook.com" site with javascript disabled - it looks ancient :)

  • Like 3
Posted

i totally agree. i don't think it's necessary, but i think it would be nice to have a warning on the login site. a simple noscript tag could make things clear and save us from support-requests like "hey, my admin tree does not show up" where one's first thought could be a permission problem or the like...

  • Like 5

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...