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

Take Effective Connection Type into account when upgrading to interactive visuals #537

Merged
merged 4 commits into from Nov 25, 2019

Conversation

tunetheweb
Copy link
Member

@tunetheweb tunetheweb commented Nov 24, 2019

Look at Effective Connection Type and use that as part of the decision making as to whether to upgrade to Sheets interactive visuals or stay on images.

At the moment I say slow-2g, 2g or 3g is low bandwidth and everything else (including when ECT is not reported) is high bandwidth. That seem about right or should we include 3g as high bandwidth too?

Also includes a small bug fix for IE11 that currently bails on the fetch call (even though fetch is not supported) and so fails to upgrade to Sheets visuals. This won't be needed once #511 is merged but putting it in there for now anyway.

@rviscomi rviscomi added the development Building the Almanac tech stack label Nov 25, 2019
@rviscomi rviscomi added this to TODO in Web Almanac 2019 via automation Nov 25, 2019
@rviscomi rviscomi added this to the Après Ski milestone Nov 25, 2019
src/static/js/chapter.js Outdated Show resolved Hide resolved
src/templates/en/2019/base_chapter.html Show resolved Hide resolved
Co-Authored-By: Rick Viscomi <rviscomi@users.noreply.github.com>
@rviscomi rviscomi merged commit c02b6d5 into master Nov 25, 2019
Web Almanac 2019 automation moved this from TODO to Done Nov 25, 2019
@rviscomi rviscomi deleted the connection_type branch November 25, 2019 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Building the Almanac tech stack
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants