Daksh777/TakeABreak

Alert before closing the site suddenly after completion of time

Closed this issue · 3 comments

Hello @Daksh777 ,

My suggestion is as follows:
Suppose any person started the timer and is exploring his entered site with full concentration, no one would pay any heed to the timer running on tab and then it would be too irritating if the site suddenly closes after the completion of entered time. The user experience would be at stake. In this case I would suggest to drop 2 time alerts at 50% and 90% completion of time.

Have a look at my suggestion and drop your valuable comments.

Thanking You,
Roushan Das,
A GSSOC Contributor.

Great suggestion @roushandas02
Can you tell me what will you be using to show the notifications?
I was hoping if we could implement browser push notifications (for both mobile and desktop) using the notification API: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API

First of all, thank you to assign me this task. Secondly, I think I would require 2 - 3 days to analyze the problem deeply and then form a plan of action regarding the same. I would try to explore your idea and extract beneficial information out of it. I will start my work from 1st March.

Sounds good, feel free to take your time.