{"action":"opened","issue":{"url":"https://api.github.com/repos/umts/pvta-multiplatform/issues/396","repository_url":"https://api.github.com/repos/umts/pvta-multiplatform","labels_url":"https://api.github.com/repos/umts/pvta-multiplatform/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/umts/pvta-multiplatform/issues/396/comments","events_url":"https://api.github.com/repos/umts/pvta-multiplatform/issues/396/events","html_url":"https://github.com/umts/pvta-multiplatform/issues/396","id":238191287,"number":396,"title":"\"Remind Me\"","user":{"login":"akaplo","id":7144148,"avatar_url":"https://avatars0.githubusercontent.com/u/7144148?v=3","gravatar_id":"","url":"https://api.github.com/users/akaplo","html_url":"https://github.com/akaplo","followers_url":"https://api.github.com/users/akaplo/followers","following_url":"https://api.github.com/users/akaplo/following{/other_user}","gists_url":"https://api.github.com/users/akaplo/gists{/gist_id}","starred_url":"https://api.github.com/users/akaplo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaplo/subscriptions","organizations_url":"https://api.github.com/users/akaplo/orgs","repos_url":"https://api.github.com/users/akaplo/repos","events_url":"https://api.github.com/users/akaplo/events{/privacy}","received_events_url":"https://api.github.com/users/akaplo/received_events","type":"User","site_admin":false},"labels":[{"id":314354598,"url":"https://api.github.com/repos/umts/pvta-multiplatform/labels/cordova","name":"cordova","color":"c5def5","default":false},{"id":311515560,"url":"https://api.github.com/repos/umts/pvta-multiplatform/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":314354919,"url":"https://api.github.com/repos/umts/pvta-multiplatform/labels/ionic","name":"ionic","color":"bfdadc","default":false},{"id":311515563,"url":"https://api.github.com/repos/umts/pvta-multiplatform/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T16:24:31Z","updated_at":"2017-06-23T16:24:31Z","closed_at":null,"body":"Feature proposition: On the Stop and Schedule pages, we provide an option to send the user a local notification to remind them to catch their bus.\r\n\r\nI recommend rolling out this feature in stages:\r\n\r\n1. Use [Ionic Native's LocalNotification](http://ionicframework.com/docs/native/local-notifications/) plugin to send delayed notifications for each **_scheduled_** departure on the stop page. \r\n\r\n     The user will click a button on the departure and be presented with a dialog asking how far in \r\n     advance of the departure they'd like to be notified.  When the [notification is tapped]\r\n     (https://github.com/katzer/cordova-plugin-local-notifications/wiki/09.-Events), the user will be \r\n     brought back to the page for the stop (or route?) they set it on.\r\n\r\n2. Use the same Cordova plugin on the Schedule page.  A user plans a trip and clicks a button to be reminded.  The same dialog for delay time could be used.  Clicking the notification gets them what page though?\r\n\r\n3. Use the [Web Notification API](https://developers.google.com/web/fundamentals/engage-and-retain/push-notifications/display-a-notification) and our service worker to enable desktop browsers to participate in Stop page notifications?\r\n\r\n4. Use the same to enable desktop browsers to participate in Schedule page notifications?\r\n\r\n@sherson @werebus @mboneil10 @petermarathas @dfaulken thoughts?  I'd expect this to take a few weeks for all steps including testing and rollout, but a good scaffold plus step 1 could be written up in about 2 days."}}
{"actor":{"display_login":"akaplo"}}