GetDKAN / dkan

DKAN Open Data Portal
https://dkan.readthedocs.io/en/latest/index.html
GNU General Public License v2.0
373 stars 171 forks source link

Browser out of date message for react dash #2136

Closed kimwdavidson closed 6 years ago

kimwdavidson commented 7 years ago

User Story:

As a site visitor, when I visit a react dashboard, if my older browser is not compatible with react dash, I should see a message informing me that my browser might be out of date, and I should update it, so that I know why I can't see dashboards.

JayDarnell commented 7 years ago

I'm putting an estimate of a day on this ticket as a bit of a blind guess. I've done some preliminary research into how we might figure out what browser versions are supported:

https://reactjs.org/docs/react-dom.html#browser-support

http://kangax.github.io/compat-table/es5/

There may be more research to be done but assuming these resources are a step in the right direction it should be a matter of checking the browser version against the compatibility table in the link above and updating the DOM with a notification if an unsupported browser is detected.

JayDarnell commented 7 years ago

https://github.com/NuCivic/dkan_dash/blob/master/js/package.json

iris-i commented 7 years ago

React component for browser detection: https://github.com/mbasso/react-browser-detection

kimwdavidson commented 6 years ago

This issue was moved to GetDKAN/dkan_dash#18