Skip to content

build(docs_app): upgrade to latest SW and other fixes #4201

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

Merged
merged 4 commits into from
Sep 28, 2018
Merged

build(docs_app): upgrade to latest SW and other fixes #4201

merged 4 commits into from
Sep 28, 2018

Conversation

gkalpak
Copy link
Contributor

@gkalpak gkalpak commented Sep 28, 2018

Description:
Includes the following changes to the docs app:

  1. Remove unused files/scripts (that were unnecessarily copied over from angular.io).

  2. Upgrade @angular/service-worker to 6.1.9.
    This essentially includes the (relevant) commits from [6.1.x] update angular.io to the new ServiceWorker angular/angular#25997 (plus a couple minor ones).
    The current ngsw-config.json seems reasonable, but you might want to tweak it.

  3. Remove unused images (mainly to avoid fetching them from the SW and unnecessarily consuming bandwidth).

  4. Replace Angular images and headline with RxJS ones:
    a. In the 404 page:
    Before:
    rxjs-404-before
    After:
    rxjs-404-after
    NOTE:
    I hacked together an RxJS sad logo (similar to the Angular one), but you probably want to provide your own.
    (Still, it is better than showing the Angular logo 😁)
    b. In the "no JavaScript" page (shown when JavaScript is disabled):
    Before:
    rxjs-nojs-before
    After:
    rxjs-nojs-after

Related issue (if exists):
Fixes #4178.

@rxjs-bot
Copy link

Warnings
⚠️

❗ Big PR (1)

(1) : Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by 🚫 dangerJS

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 96.806% when pulling 88e88b0 on gkalpak:docs-app-update-sw into 6a2b524 on ReactiveX:master.

Copy link
Member

@niklas-wortmann niklas-wortmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benlesh benlesh merged commit d2f7083 into ReactiveX:master Sep 28, 2018
@benlesh
Copy link
Member

benlesh commented Sep 28, 2018

Thanks, @gkalpak!

@gkalpak gkalpak deleted the docs-app-update-sw branch September 28, 2018 15:26
@lock lock bot locked as resolved and limited conversation to collaborators Oct 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants