Open jfversluis opened 7 years ago
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.
Maybe a nice feature to implement with Project Rome ;) https://developer.microsoft.com/en-us/windows/project-rome
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:
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?
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.
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!