-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude filter #54
Comments
I like the double ended slider idea! It has been a priority to keep the overview as clean as possible (so as to scare as few people away as possible), so it would have to somehow be done without making the entire thing too complex. If you already had a concrete picture in mind, a doodle might be a good starting point! And it would have to be mobile-friendly. One thing that's sort of close already is the first plot below the overview which is the one I'll often use myself. You can drag or scroll on the lower plot to increase the size of the forecast to get 24h on the top one, then eyeball it to find the best two. It's a little finicky compared to the dropdowns though. One option could perhaps be to simply illustrate the best period directly on that plot. Since you're a technically minded person, if you didn't already dig into the details, perhaps you'll find use in the API already in place as it's a bit more flexible than the frontend; for instance, to get the best 2 hours within the next 9, you would use https://grønstrøm.nu/api/v1/greenest-period/2/9 |
Something like this:
This is run at 14:00 (i.e. now=14:00). The [] are 3 sliders. Slider1 goes from 1..6. Slider2 goes from now..slider3. Slider3 goes from slider2..now+24h. Defaults: slider1 = 3 hours (My washing machine takes 2 hours. My dishwasher takes 3 hours. So I would have to change a 1 hour default every time). Sliders are touchscreen friendly, and reasonably OK on a computer. It is easy to understand, but you might have to slide thrice: If the best time is during the night, I first need to slide slider3 to 18:00 to find the best time today. Then I need to slide slider3 back to now+24h and slide slider2 to 08:00 to find the best time tomorrow. I agree that it might be even better to show the range in the plot, but I also think that might be harder to make touchscreen friendly. |
I want to do my 2h laundry:
So on top of the "x hour" filter within the next "y hours", I want a way to exclude an interval. For me it would be 21-07.
Maybe simply change the "within the next y hours" to a double ended slider, so I could slide the start and end time of the interval?
The text was updated successfully, but these errors were encountered: