Skip to content

There someway to we notify when break time is over ? #22

Answered by ErnaneJ
Thiteago asked this question in Q&A
Discussion options

You must be logged in to vote

Yes my friend, I've been thinking about that too.

We currently have a small problem with the way notifications are sent. Especially when it comes to the end of the break. What happens is that as, when leaving the interval, the value present in the variable that stores that time never changes, every minute the verification for sending will show as true that it is to be sent.

However, I've been thinking of a way around this. We could use the local storage system to store some specific ID for each message sent and always, before sending a new one, we check if it is already marked as sent or not.

The only extra concern will be that at the end of each working day we need to clear these ids so …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Thiteago
Comment options

Thiteago Mar 28, 2023
Collaborator Author

@ErnaneJ
Comment options

@ErnaneJ
Comment options

Answer selected by Thiteago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants