pablof7z / highlighter

Highlighter.com repo
https://highlighter.com
8 stars 6 forks source link

Display an indicator on the navbar when there are scheduled notes #17

Open pablof7z opened 2 months ago

pablof7z commented 2 months ago

Here there should be an indicator

Screenshot 2024-05-03 at 9 49 26 AM
eugenenz commented 2 months ago

I'm working on this issue at the moment and am keen to get some feedback on the way I'm approaching it...

We can pull scheduled events at the start when the app loads or user logs in, and then keep them in store.

Initially I thought we can only keep a counter of the overall number, but if the notification badge should disappear once the user sees a pending event, then we probably need an array of ids, similar to how notifications are handled.

What are your thoughts?