coder13 / coder13/LetsCube

Badge with number of unread messages

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
30
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Somehow determine if a message has been read. We can maybe do this by seeing if it got mounted.

Then just display a badge with the number of unread messages.

We could store the number of unread messages in redux, increment it when a message is received and then decrement it when the message gets rendered.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.