Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

testing #103

Open
wants to merge 26 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
933aa9d
Merge pull request #17 from GoogleChrome/v2
Nov 8, 2016
75ef2bc
Adding some info on sending messages from your own server
Nov 9, 2016
6ade19c
Correcting readme for companion
Jan 11, 2017
e00fbd9
Bumping web push library
Jan 11, 2017
12d4e1c
Bumping version
Jan 11, 2017
c20e0bd
Removing subscription from printed logs to avoid confusion with chrom…
Jan 31, 2017
8f3a331
Adding check for truncation
Feb 18, 2017
019f294
Merge branch 'master' of github.com:GoogleChrome/push-notifications
Feb 18, 2017
23d07d3
Fixing bad check for ...
Feb 21, 2017
676dec6
Adding screenshots for codelab
Mar 6, 2017
943e6c6
Moving companion site to glitch
Sep 26, 2017
49a652b
Merge pull request #50 from GoogleChromeLabs/glitch
Sep 26, 2017
9fdb93e
update package.json
Sep 28, 2017
e5d0b41
Merge pull request #52 from jchimienti89/patch-1
Sep 29, 2017
5a404e6
Update main.js
Sep 29, 2017
61a8225
Merge pull request #53 from GoogleChromeLabs/gauntface-patch-1
Oct 4, 2017
c77cf06
Swapping to glitch url
Oct 17, 2017
26050af
Switch to double quotes and adding no useless escape to rules to make…
Oct 17, 2017
d85aaed
Merge pull request #60 from GoogleChromeLabs/glitch-urls
Oct 17, 2017
35098e5
Because US spelling is what WF does now
Oct 17, 2017
25cf164
Merge branch 'master' of github.com:GoogleChromeLabs/web-push-codelab
Oct 17, 2017
bbdd8a7
Updated eslint in package.json
samdutton Jul 17, 2019
2cf0b71
Added favicon to avoid warnings
samdutton Oct 29, 2019
cc8afed
Switch to GitHub Actions
Aug 30, 2021
13fc8ee
Make eslint pass
Aug 30, 2021
469a70b
Merge pull request #102 from GoogleChromeLabs/actions
gauntface Aug 30, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"no-console": 0,
"comma-dangle": 0,
"require-jsdoc": 0,
"no-useless-escape": 0,
"indent": 0,
"prefer-const": 0
},
"parserOptions": {
"ecmaVersion": 6
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on: [push,pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
- name: Install dependencies
run: npm install
- name: Run test
run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Push Notifications codelab

Code for the Web Fundamentals [Push Notifications codelab](https://developers.google.com/web/fundamentals/getting-started/push-notifications/?hl=en).
Code for the Web Fundamentals [Push Notifications codelab](https://codelabs.developers.google.com/codelabs/push-notifications/).

In this codelab, you'll learn how to add Push Notifications to web applications. This will enable you to re-engage users with breaking news and information about
new content.
Expand Down
Binary file added app/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h1>Push Codelab</h1>
server to store in a database so that when you want to send a message
you can lookup the subscription and send a message to it.</p>
<p>To simplify things for this code lab copy the following details
into the <a href="https://web-push-codelab.appspot.com/">Push Companion
into the <a href="https://web-push-codelab.glitch.me//">Push Companion
Site</a> and it'll send a push message for you, using the application
server keys on the site - so make sure they match.</p>
<pre><code class="js-subscription-json"></code></pre>
Expand Down
17 changes: 0 additions & 17 deletions companion-site/README.md

This file was deleted.

64 changes: 0 additions & 64 deletions companion-site/app.js

This file was deleted.

21 changes: 0 additions & 21 deletions companion-site/app.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions companion-site/package.json

This file was deleted.

68 changes: 0 additions & 68 deletions companion-site/static/index.html

This file was deleted.

131 changes: 0 additions & 131 deletions companion-site/static/scripts/application-server-key.js

This file was deleted.

Loading
Loading