{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/549","repository_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/549/comments","events_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/549/events","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/549","id":190557562,"number":549,"title":"Progressive Web App report","user":{"login":"teolemon","id":1689815,"avatar_url":"https://avatars.githubusercontent.com/u/1689815?v=3","gravatar_id":"","url":"https://api.github.com/users/teolemon","html_url":"https://github.com/teolemon","followers_url":"https://api.github.com/users/teolemon/followers","following_url":"https://api.github.com/users/teolemon/following{/other_user}","gists_url":"https://api.github.com/users/teolemon/gists{/gist_id}","starred_url":"https://api.github.com/users/teolemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teolemon/subscriptions","organizations_url":"https://api.github.com/users/teolemon/orgs","repos_url":"https://api.github.com/users/teolemon/repos","events_url":"https://api.github.com/users/teolemon/events{/privacy}","received_events_url":"https://api.github.com/users/teolemon/received_events","type":"User","site_admin":false},"labels":[{"id":498825287,"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/labels/frontend","name":"frontend","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/milestones/3","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/milestone/3","labels_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/milestones/3/labels","id":1093896,"number":3,"title":"Responsive website","description":"","creator":{"login":"teolemon","id":1689815,"avatar_url":"https://avatars.githubusercontent.com/u/1689815?v=3","gravatar_id":"","url":"https://api.github.com/users/teolemon","html_url":"https://github.com/teolemon","followers_url":"https://api.github.com/users/teolemon/followers","following_url":"https://api.github.com/users/teolemon/following{/other_user}","gists_url":"https://api.github.com/users/teolemon/gists{/gist_id}","starred_url":"https://api.github.com/users/teolemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teolemon/subscriptions","organizations_url":"https://api.github.com/users/teolemon/orgs","repos_url":"https://api.github.com/users/teolemon/repos","events_url":"https://api.github.com/users/teolemon/events{/privacy}","received_events_url":"https://api.github.com/users/teolemon/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2015-05-03T07:59:16Z","updated_at":"2016-12-20T22:53:56Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-11-20T13:14:55Z","updated_at":"2016-12-31T12:05:41Z","closed_at":null,"body":"[pwa-report.pdf](https://github.com/openfoodfacts/openfoodfacts-server/files/602028/pwa-report.pdf)\r\n"},"comment":{"url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/comments/269862165","html_url":"https://github.com/openfoodfacts/openfoodfacts-server/issues/549#issuecomment-269862165","issue_url":"https://api.github.com/repos/openfoodfacts/openfoodfacts-server/issues/549","id":269862165,"user":{"login":"hangy","id":87124,"avatar_url":"https://avatars.githubusercontent.com/u/87124?v=3","gravatar_id":"","url":"https://api.github.com/users/hangy","html_url":"https://github.com/hangy","followers_url":"https://api.github.com/users/hangy/followers","following_url":"https://api.github.com/users/hangy/following{/other_user}","gists_url":"https://api.github.com/users/hangy/gists{/gist_id}","starred_url":"https://api.github.com/users/hangy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hangy/subscriptions","organizations_url":"https://api.github.com/users/hangy/orgs","repos_url":"https://api.github.com/users/hangy/repos","events_url":"https://api.github.com/users/hangy/events{/privacy}","received_events_url":"https://api.github.com/users/hangy/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T12:05:41Z","updated_at":"2016-12-31T12:05:41Z","body":"I currently don't see how we could fulfill [`Progressive web apps work offline.`](https://developers.google.com/web/tools/lighthouse/audits/http-200-when-offline) usefully. But here are some of the TODOs apart from the manifest:\r\n\r\n- [ ] [Has a registered Service Worker](https://developers.google.com/web/tools/lighthouse/audits/registered-service-worker)\r\n- [ ] [URL responds with a 200 when offline](https://developers.google.com/web/tools/lighthouse/audits/http-200-when-offline)\r\n- [ ] [Site uses HTTP/2 for its own resources](https://developers.google.com/web/tools/lighthouse/audits/http2)\r\n- [ ] [Site does not use <link> that delay first paint](https://developers.google.com/web/tools/lighthouse/audits/blocking-resources)\r\n  - https://static.openfoodfacts.org/foundation/css/app.css (delayed first paint by 548ms)\r\n  - https://static.openfoodfacts.org/foundation/foundation-icons/foundation-icons.css (delayed first paint by 267ms)\r\n  - https://static.openfoodfacts.org/js/jquery-ui-1.11.4/jquery-ui.min.css (delayed first paint by 387ms)\r\n  - https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css (delayed first paint by 163ms)\r\n- [ ] [Site does not use <script> in head that delays first paint](https://developers.google.com/web/tools/lighthouse/audits/blocking-resources)\r\n  - https://platform.twitter.com/widgets.js (delayed first paint by 1903ms)\r\n  - https://static.openfoodfacts.org/foundation/js/vendor/modernizr.js (delayed first paint by 309ms)\r\n  - https://static.openfoodfacts.org/foundation/js/vendor/jquery.js (delayed first paint by 653ms)\r\n  - https://static.openfoodfacts.org/js/jquery-ui-1.11.4/jquery-ui.min.js (delayed first paint by 839ms)\r\n- [ ] [Accessibility: Element aria-* attributes have valid values](https://dequeuniversity.com/rules/axe/2.1/aria-valid-attr-value?application=axeAPI)\r\n  - `body > .tab-bar.show-for-small-only > .left-small > .left-off-canvas-toggle.button.postfix`\r\n- [ ] [Accessibility: Background and foreground colors have a sufficient contrast ratio](https://dequeuniversity.com/rules/axe/2.1/color-contrast?application=axeAPI)\r\n  - `#select2-select_country-container > .select2-selection__placeholder`\r\n- [ ] [Accessibility: Every image element has an alt attribute](https://dequeuniversity.com/rules/axe/2.1/image-alt?application=axeAPI)\r\n  - `#aside_column > div:nth-of-type(3) > .block_content > a > img`\r\n  - `#main_column > div:nth-of-type(2) > div:nth-of-type(2) > .medium-12.large-8.xlarge-8.xxlarge-8.columns > p:nth-of-type(5) > img`\r\n- [ ] [Accessibility: Every form element has a label](https://dequeuniversity.com/rules/axe/2.1/label?application=axeAPI)\r\n  - `body > .tab-bar.show-for-small-only > .middle.tab-bar-section > form > .row.collapse > .small-8.columns > input:nth-of-type(1)`\r\n  - `#imgupload_search_block_aside`\r\n  - `#aside_column > div:nth-of-type(1) > .block_content > form > .row.collapse > .small-9.columns > input`"}}
{"actor":{"display_login":"hangy"}}