Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

"Remind Me" #396

Description

@akaplo

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.

I recommend rolling out this feature in stages:

  1. Use Ionic Native's LocalNotification plugin to send delayed notifications for each scheduled departure on the stop page.

    The user will click a button on the departure and be presented with a dialog asking how far in advance of the departure they'd like to be notified. When the notification is tapped, the user will be brought back to the page for the stop (or route?) they set it on.

  2. 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?

  3. Use the Web Notification API and our service worker to enable desktop browsers to participate in Stop page notifications?

  4. Use the same to enable desktop browsers to participate in Schedule page notifications?

@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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions