daydreaming-experiment/app — pull request #262 by wehlutyk (2014-09-20 02:26:35+00:00)
Title: Feature/new issue 214 notification lifecycle

Remake of #243, fixing #214.

Notifications:
* appear (except if a probe is running)
* expire after 3 minutes (=> `STATUS_RECENTLY_EXPIRED`)
* can be dismissed before that (=> `STATUS_RECENTLY_DISMISSED`)

When opened, if the user quits in the middle => `STATUS_RECENTLY_PARTIALLY_COMPLETED`

Then in the dashboard any recently* probe is suggested when you swipe (and with a subtitle to "EXPERIMENT IS RUNNING"). If the user refuses to take the previous probe, it's marked as discarded and can be uploaded.

It's organized so that we get dismissed, missed, and incomplete probes. And we know which probes were completed after only half-completing and resuming (or missing or dismissing and resuming).