The first version of the Samsung Internet Developer Advocacy dashboard - the new one is on Glitch here: https://glitch.com/~samsung-internet-dashboard
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Add recent Github PRs Jan 26, 2018
data Update dashboard Sep 4, 2018
extension Update extension story and view count Nov 2, 2018
images Add preview image to README Aug 15, 2017
lib Add service worker caching Jun 14, 2017
src Update dashboard Sep 4, 2018
.gitignore Preparing for Stack Overflow stats Nov 14, 2017
LICENSE Create LICENSE Nov 15, 2017
README.md Update stats Jan 22, 2018
index.html Update dashboard Sep 4, 2018
manifest.json Update manifest Jun 14, 2017
package-lock.json Update dependencies Mar 6, 2018
package.json Update dependencies Mar 6, 2018
sw.js Working on updates Nov 20, 2017
update.js Update dashboard Sep 4, 2018
utils.js Various fixes Nov 14, 2017

README.md

Samsung Internet Developer Advocacy Dashboard

A preview of part of the dashboard

What is this?

It's a dashboard showing metrics for our Samsung Internet developer advocacy work, as well as trends for web technologies such as PWAs and WebVR.

When and how is it updated?

We intend to update it each week. Unfortunately for now, it will involve a few minutes of manual work. Our social media platforms do not currently provide analytics data via APIs. However, hopefully over time we can automate it more, either using APIs if/when provided, automated scraping, or (at least) additions to the Dashboard Updater browser extension.

(For the Samsung Internet team) here are the current instructions:

General stats

  • Add a new stats JSON file with today's date, e.g. data/general/2017-06-14-stats.json, and update with the latest data:
    • To find Medium stats, see here and the followers here.
    • To find Twitter stats, see here. (Ask Daniel for the login).
    • To find Facebook stats, check the 28 day like increase here and look for 'follows' on the right-hand side here.
    • To find Instagram followers, see here.
    • To find the average Github issue response time, see here and click the little refresh link.
    • To get the SEO rankings, I previously used serps.com/tools/rank-checker/ but it seems to no longer work, so I'm now testing at google.com (select "Use google.com" or it will redirect back), using a private browsing session.
  • Update the filenames in src/data-paths.js.

Medium graph

  • Install the Dashboard Updater Chrome extension from the extension subdirectory. Here's how.
  • Visit medium.com/samsung-internet-dev/stats/overview.
  • Click the 'Download Medium stats' button.
  • Copy/move the downloaded CSV file to the data/medium directory & update src/data-paths.js with the new filename.

Survey pie charts

And then...

npm start

This will run update.js and spit out the new index.html, based on the template in src/template.html.

Now this page can be served with any static HTML server. We're hosting on Github Pages - just push to master to deploy.