biigle / core

:large_blue_circle: Application core of BIIGLE
https://biigle.de
GNU General Public License v3.0
12 stars 15 forks source link

Show a notification if user does not use Firefox/Chrome #172

Closed mzur closed 6 years ago

mzur commented 6 years ago

If a user is logged in and does not use Firefox or Chrome, show a one-time notification that BIIGLE does not officially support other browsers. Set a flag in local storage so the notification is shown only once. Text (in warning colors):

BIIGLE only supports recent versions of Firefox or Chrome. Things might break if you use a different browser.
mzur commented 6 years ago

I finally decided against this as it "punishes" most users just to show a message to very few users. Either we check the user agent in PHP on every request or we check it each time in JS. I don't like either of these solutions. I'd rather accept a small percentage of users complaining that some features do not work. Maybe we can include a note on this in the improved manual #161.