been-pwned icon indicating copy to clipboard operation
been-pwned copied to clipboard

Mark new breaches somehow

Open jfversluis opened this issue 8 years ago • 4 comments
trafficstars

In the current version a push notification is sent whenever there are new breaches. Also, in the current version there is no way of telling which breaches are actually new.

It would be nice to make that available somehow. I.e.; show a list of the new breaches when opened through the notification, or just mark them with a dot like the iOS Mail app.

Any other brilliant ideas welcome!

jfversluis avatar Aug 14 '17 14:08 jfversluis

General rule of usage is add an IsRead / IsSeen boolean field that get's marked as true when a detail page has been opened or with an action on the list view. Put each item to false when 'merged' in from the web if it has not yet been available in Akavache. BUT Akavache tracking could be incorrect. Mail apps also sync with server to have multi device 'read / seen' indication follow through.

Depechie avatar Aug 14 '17 14:08 Depechie

Maybe a nice feature to implement with Project Rome ;) https://developer.microsoft.com/en-us/windows/project-rome

Depechie avatar Aug 14 '17 14:08 Depechie

To KISS for now.. I've implemented some logic which just checks if the breach was added today. If yes, it's marked as NEW like this:

Breach marked as new

When it becomes tomorrow, the breach isn't marked anymore. So, it will be marked as new for the day that it was added.

We could implement a small screen which lists just the new ones if someone opens the app through a push notification at a later stage.

Thoughts?

jfversluis avatar Aug 28 '17 13:08 jfversluis

Started with this on #52.

I'd still want to have some kind of screen of filter possibility to show only the new entries. Therefore I'll leave this open for a bit.

jfversluis avatar Sep 01 '17 11:09 jfversluis