Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Mark new breaches somehow #14

Open
jfversluis opened this issue Aug 14, 2017 · 4 comments
Open

Mark new breaches somehow #14

jfversluis opened this issue Aug 14, 2017 · 4 comments

Comments

@jfversluis
Copy link
Owner

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!

@Depechie
Copy link
Collaborator

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
Copy link
Collaborator

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

@jfversluis
Copy link
Owner Author

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
Copy link
Owner Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants