Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #573 - Browser upgrade alert #588

Closed
wants to merge 1 commit into from

Conversation

anselmbradford
Copy link
Member

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 2ced596 on 573-browser-upgrade-alert into 03ebb2b on master.

Fixes #573 - Displays dismissible upgrade alert for visitors that visit
with IE8. URL given in alert is https://browser-update.org/update.html.
Sets a cookie after alert is closed so alert isn’t displayed again the
same day. Cookie expires after 1 day.

- Implements addEventListener on alert component so observers can
respond to closing of the alert box.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 23def4b on 573-browser-upgrade-alert into 03ebb2b on master.

@anselmbradford
Copy link
Member Author

@monfresh ready for review. Looks like:

screen shot 2014-09-08 at 5 34 36 pm

Can be tested in Sauce Labs under "New Interactive Session" with IE8 in WinXP or Win7. Load page, see alert; reload page, see alert; close alert, reload page, don't see alert.

@monfresh
Copy link
Member

monfresh commented Sep 9, 2014

I don't think this should be turned on by default. It should probably be controlled via a config var, and the text, link text, and URL should all be customizable. This is not a critical feature, so I wouldn't spend time on it right now. Let's focus on our issues cleanup exercise first.

@anselmbradford
Copy link
Member Author

👍 Sounds good.

Also, a dev note... this'll just display for IE8 and below, but an alternative approach (the Modernizr approach) is to show it based on browser capabilities. So if there were a set of core features we wanted to say the browser had to support to be "modern," it wouldn't be much of a change to make the notice display when those features weren't present.

@monfresh
Copy link
Member

monfresh commented Apr 9, 2022

Closing this since no one is visiting the site with IE, according to SMC-Connect's analytics.

@monfresh monfresh closed this Apr 9, 2022
@monfresh monfresh deleted the 573-browser-upgrade-alert branch March 8, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide upgrade message for IE8 users
3 participants