{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/7","labels_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/7/comments","events_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/7/events","html_url":"https://github.com/mozilla/serviceworker-cookbook/pull/7","id":111001938,"number":7,"title":"Recipe: live-flowchart","user":{"login":"franciov","id":5708363,"avatar_url":"https://avatars.githubusercontent.com/u/5708363?v=3","gravatar_id":"","url":"https://api.github.com/users/franciov","html_url":"https://github.com/franciov","followers_url":"https://api.github.com/users/franciov/followers","following_url":"https://api.github.com/users/franciov/following{/other_user}","gists_url":"https://api.github.com/users/franciov/gists{/gist_id}","starred_url":"https://api.github.com/users/franciov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciov/subscriptions","organizations_url":"https://api.github.com/users/franciov/orgs","repos_url":"https://api.github.com/users/franciov/repos","events_url":"https://api.github.com/users/franciov/events{/privacy}","received_events_url":"https://api.github.com/users/franciov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-12T15:40:11Z","updated_at":"2015-10-30T18:25:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/pulls/7","html_url":"https://github.com/mozilla/serviceworker-cookbook/pull/7","diff_url":"https://github.com/mozilla/serviceworker-cookbook/pull/7.diff","patch_url":"https://github.com/mozilla/serviceworker-cookbook/pull/7.patch"},"body":"This PR is for adding a new recipe to the cookbook: live-flowchart\r\n\r\nThis recipe provides a way to learn how to use service workers (SW) through showing [the flow diagram of SW workflow explained on the Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers), and logging on screen the steps taken by a real Web App running service workers.\r\n\r\nMore info about usage and compatibility in the [README file](https://github.com/franciov/serviceworker-cookbook/blob/recipe/live-flowchart/live-flowchart/README.md)\r\n\r\n@digitarald This is the register/unregister example you mentioned. I've enhanced it a bit providing a better management of the SW workflow, a better logging with different levels (colors), adding a reload button and give the recipe a context (the flowchart). It can be used as learning tool, debug app, and I'm thinking to start from this recipe to work on #1 (test-driven service workers development) by adding the \"go offline\", \"go online\" (and \"go lie-fi\"?) buttons / let the SW do something useful for testing on install/activate/fetch ..."},"comment":{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/comments/152609065","html_url":"https://github.com/mozilla/serviceworker-cookbook/pull/7#issuecomment-152609065","issue_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/7","id":152609065,"user":{"login":"digitarald","id":8599,"avatar_url":"https://avatars.githubusercontent.com/u/8599?v=3","gravatar_id":"","url":"https://api.github.com/users/digitarald","html_url":"https://github.com/digitarald","followers_url":"https://api.github.com/users/digitarald/followers","following_url":"https://api.github.com/users/digitarald/following{/other_user}","gists_url":"https://api.github.com/users/digitarald/gists{/gist_id}","starred_url":"https://api.github.com/users/digitarald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitarald/subscriptions","organizations_url":"https://api.github.com/users/digitarald/orgs","repos_url":"https://api.github.com/users/digitarald/repos","events_url":"https://api.github.com/users/digitarald/events{/privacy}","received_events_url":"https://api.github.com/users/digitarald/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T18:25:27Z","updated_at":"2015-10-30T18:25:27Z","body":"Thank you @franciov, we really got a showcase recipe with this one !"}}