bradmont / OpenMPD

Automate your MPD
GNU General Public License v3.0
0 stars 0 forks source link

Clicking on notfication doesn't take you to a specific notification #11

Open russmartin opened 10 years ago

russmartin commented 10 years ago

2014-02-04 17 54 41

openmpd - screenshot - notifications

Today I got a notification of a "special gift". Of course I was interested to learn more. However, upon tapping the notification, it just brings me to a list of cards with tons of notifications. My expectation was that it would take me to the specific gift it seemed to be referencing.

bradmont commented 10 years ago

Thanks Russ, this is a good suggestion.

For the moment, the way it works is that notifications are sorted chronologically, so the newest ones should be on the bottom of the stack and they should have datestamps on them. You can also dismiss old notifications by swiping them away so they don't pile up over time.

bradmont commented 10 years ago

Note to self: to do this, add a date stamp to the Intent that launches the home screen; on opening HomeFragment, check for this timestamp and filter notifications based on it (filter will have to be >= date of the earliest gift that is being notified)