Commits on May 16, 2017
  1. Land Workbox support. (#82)

    addyosmani committed May 16, 2017
    * package.json: [sw-precache, sw-toolbox] => sw-cli
    * precache config, runtime => sw-cli-config, sw-lib
    * Add service-worker and runtime caching rules
    * Move over to using sw-build
    * Moves over to the Workbox libraries. (#81)
Commits on Nov 24, 2016
  1. Bump to 1.6.1

    addyosmani committed Nov 24, 2016
Commits on Oct 15, 2016
  1. Bump version to 1.6.0

    addyosmani committed Oct 15, 2016
Commits on Oct 13, 2016
  1. Update build/deps/improve perf (#66)

    addyosmani committed Oct 13, 2016
    * Add babelrc presets
    * Ignore build artifacts generated by nwb
    * Bump all dependencies & wire appropriately.
    There are workarounds here for web app manifests no longer being copied
    over to the right location now that dist is canonical output dir.
    * Drop vendor/app writing - handle this in Webpack now
    * sw-precache: work against the dist dir now
    * server: update to latest babel register, dist
    * Mixins: fix a new linting issue
    * Update routing to work with latest dependencies
    * App.js: fix a new linting issue
    * HNServiceRest: fix a new linting issue
    * Switch to route-based chunking 🔥
    We also polyfill require.ensure() so this continues to work on the
    server fine.
    * Shave 60KB off size. Switch to new Firebase && only use what we need.
    We’re only using database so we can drop storage and authentication use
    that’s included by default in the mega bundle Firebase make available
    to folks.
    * Webpack: hookup CommonsChunkPlugin & HtmlWebpackPlugin
    - Needed for writing up final chunks to our EJS template & static HTML
    - Commons chunks necessary for ensuring runtime pieces common to each
    chunk are included in the right places.
    * Fix router history implementation
Commits on Aug 6, 2016
  1. Fixes #51 - ensure Settings menu is full-width on iOS

    addyosmani committed Aug 6, 2016
    This was previously not respecting the overrides for mobile we were using.
Commits on Jul 16, 2016
  1. Update scaling config

    addyosmani committed Jul 16, 2016
Commits on Jun 29, 2016
  1. Fixes #53: Fixes 'Comments' view in Offline Mode

    addyosmani committed Jun 29, 2016
    While working on the REST fallback for offline mode, I neglected to
    refactor item fetching for the newer promises model. This mean’t we
    weren’t correctly populating stores that would be used in this mode.
    This has been confirmed as now working with this fix. Deploy with fix
    running at
Commits on Jun 28, 2016
Commits on Jun 27, 2016
Commits on Jun 23, 2016
  1. Fixes #49 - Add universal google analytics

    addyosmani committed Jun 23, 2016
    We’re opting for the ‘alternative async tracking snippet’ from
    /#alternative_async_tracking_snippet. Given we’re primarily targeting
    modern browsers, I think it’s nicer to go for the version supporting
  2. Bump to 1.5.0

    addyosmani committed Jun 23, 2016
    The last few releases have introduced new features, primarily
    Progressive Web App support, server-side rendering for content + shell
    and so on. To reflect this in our versioning, doing a non-patch bump.
  3. Add support for server-side rendering Top Stories & Comments (#47)

    addyosmani committed Jun 23, 2016
    * index.ejs: set base href to fix asset paths for SSR views
    * package.json: add object-assign shim
    * App.js: support prebooted HTML / hydration of content
    * Adds hn-server-fetch using unofficial Firebase API
    The official Firebase API ( requires
    multiple network
    connections to be made in order to fetch the list of Top Stories
    (indices) and then the
    summary content of these stories. Directly requesting these resources
    makes server-side
    rendering cumbersome as it is slow and ultimately requires that you
    maintain your own
    cache to ensure full server renders are efficient.
    To work around this problem, we can use one of the unofficial Hacker
    News APIs, specifically which directly returns the Top
    Stories and can cache
    responses for 10 minutes. In ReactHN, we can use the unofficial API for
    a static server-side
    render and then 'hydrate' this once our components have mounted to
    display the real-time
    The benefit of this is clients loading up the app that are on flakey
    networks (or lie-fi)
    can still get a fast render of content before the rest of our
    JavaScript bundle is loaded.
    * server.js: add support for SSR render of top stories and comments
    * hn-server-fetch: add support for SSR nested comments
    * hn-server-fetch: remove duplicate time indication
    * Stories.js: display spinner for pages > 0
Commits on May 31, 2016
Commits on May 25, 2016
  1. Bump package for new tag

    addyosmani committed May 25, 2016
Commits on May 19, 2016
Commits on May 18, 2016
  1. Merge pull request #35 from insin/isomorphic-shell

    addyosmani committed May 18, 2016
    Adds isomorphic/server-side React application-shell rendering
  2. Minor: linting nit

    addyosmani committed May 18, 2016
Commits on May 17, 2016
  1. Merge pull request #36 from insin/offline-mode

    addyosmani committed May 17, 2016
    Introduce Offline Mode
Commits on May 10, 2016
  1. Update offline mode text

    addyosmani committed May 10, 2016
Commits on May 9, 2016
Commits on May 7, 2016
  1. Isomorphic-shell: refresh of build pipeline

    addyosmani committed May 7, 2016
    Introduces `deploy`, localises a lot of the current binaries so that
    they don’t require global installs (and work fine on Heroku and
    AppEngine). `serve` now gives you the old `start` behaviour and `start`
    now just runs the node server that we default to.