umts / stop-project

Rails app for tracking the Summer 2016 installation of new bus stop signs across the PVTA service area.
MIT License
0 stars 1 forks source link

Status of Pending for Stops #29

Closed mboneil10 closed 6 years ago

mboneil10 commented 6 years ago

Requested during PVTA meeting on April 30th, 2018:

Show that an incomplete stop is pending after someone started servicing it.

dfaulken commented 6 years ago

What's the logic for this one? updated_at > created_at? Another timestamp for imported_at that we need to add going forward?

dfaulken commented 6 years ago

@sherson says:

  1. We should reset created_at at import. Currently, we effectively do this in that we delete everything ever. We may wish to adopt a less destructive import method.
  2. updated_at > created_at && !completed? will then be sufficient.
sherson commented 6 years ago

PVTA, UMTS, and PVPC are all fine with updated_at > created_at && !completed? for pending.

Also, the pending stops should stay in the list of !completed stops, but they should be noted as pending.

sherson commented 6 years ago

34