penge/block-site

Timed blockage

ahmaxed opened this issue ยท 10 comments

|t would be great if we could schedule how long a page is blocked.
For instance, some users want to block email during the morning, and some users might want to have access to certain websites only during certain hours of the day.

penge commented

I guess having per-site scheduled blocking could be too much to manage. How about all sites share the same scheduled blocking?

I was jus thinking about this.
Something like blocking the websites on weekdays, but not on weekends?

Indeed, any scheduling is appreciated. ๐Ÿ™Œ

visch commented

I guess having per-site scheduled blocking could be too much to manage. How about all sites share the same scheduled blocking?

This would work perfect for my use case. 8am-6pm I want my sites blocked, after I don't!

penge commented

@visch Sounds good. Shall we have option to set different times for workdays and weekends?
I think this could be best to have:
Button to add timed blockage, where you could click to toggle any day (S, M, T, W, T, F, S), and specify time (from, to). You could have more rules (to address workdays or weekends or as you like), you could modify them, delete them, add new.
If that sounds ok, I think we could have it like that. I can then start working on it, so we have it in next version.

visch commented

@visch Sounds good. Shall we have option to set different times for workdays and weekends? I think this could be best to have: Button to add timed blockage, where you could click to toggle any day (S, M, T, W, T, F, S), and specify time (from, to). You could have more rules (to address workdays or weekends or as you like), you could modify them, delete them, add new. If that sounds ok, I think we could have it like that. I can then start working on it, so we have it in next version.

@visch Sounds good. Shall we have option to set different times for workdays and weekends? I think this could be best to have: Button to add timed blockage, where you could click to toggle any day (S, M, T, W, T, F, S), and specify time (from, to). You could have more rules (to address workdays or weekends or as you like), you could modify them, delete them, add new. If that sounds ok, I think we could have it like that. I can then start working on it, so we have it in next version.

That sounds perfect to me!

penge commented

Great! I am on it.

penge commented

There's some conflict:
Context menu (used to "Block this site"), which we recently added (version 5.0), is visible when Block Site is Enabled.
Timed blockage, should block sites only during specified days and hours. That means, "Block this site" action from the Context menu, if outside Timed blockage, could still add the site to the blocked list, but definitely would NOT block the site right away (as it does now), and that could look broken (I requested to Block this site, but nothing happened).
Any ideas how to approach this?

I have a suggestion. Could we add a cooldown period option? This would allow users to pause all blocks for 10, 30, or 60 minutes with a button click, giving them more control and flexibility.

There's some conflict: Context menu (used to "Block this site"), which we recently added (version 5.0), is visible when Block Site is Enabled. Timed blockage, should block sites only during specified days and hours. That means, "Block this site" action from the Context menu, if outside Timed blockage, could still add the site to the blocked list, but definitely would NOT block the site right away (as it does now), and that could look broken (I requested to Block this site, but nothing happened). Any ideas how to approach this?

Maybe, a sub-dropdown can help navigate this UX problem, i.e 1> Add to Blocklist 2> Enter / Exit Cooldown
image