Skip to content
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

Add option to set weather forecast offset #24193

Closed
wants to merge 2 commits into from

Conversation

julien-nc
Copy link
Member

refs #23399
How about letting users set the forecast offset?

This adds a setting in the weather widget action menu to tell how many hours in advance we want to see the weather forecast. It has to be between 0 (now) and 9 hours ahead.

offset

As we get 10 hours weather range on each forecast request, no query is needed when changing the offset, it has an immediate effect on the widget.

The "play-next" icon might not be very explicit.

Do we want this?
If yes, how do we make it more explicit?

@skjnldsv
Copy link
Member

Yeah, the UX doesn't seems intuitive, you need @jancborchardt's take on this :)

Julien Veyssier added 2 commits November 26, 2020 11:15
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
@julien-nc julien-nc force-pushed the enh/23399/variable-weather-forecast-offset branch from c47b390 to 75404fb Compare November 26, 2020 10:21
@julien-nc julien-nc changed the title [WIP] Add option to set weather forecast offset Add option to set weather forecast offset Nov 26, 2020
@julien-nc julien-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Nov 26, 2020
@julien-nc
Copy link
Member Author

Fixed Psalm warning, rebased on master, it's ready imho.

@rullzer rullzer mentioned this pull request Dec 14, 2020
59 tasks
@jancborchardt
Copy link
Member

I don't think we should add this, since the intention is:

  • Give 1 quick info for weather today
  • If it's after a certain time, give info on weather generally for tomorrow

So e.g. at 23:00 one shouldn't get the forecast for 5:00 the next day, but a general forecast for the next day.

@rullzer rullzer mentioned this pull request Dec 18, 2020
39 tasks
@julien-nc
Copy link
Member Author

Maybe this kind of advanced feature belongs somewhere else, in a weather app or a dedicated weather widget.

@julien-nc julien-nc closed this Dec 18, 2020
@ChristophWurst ChristophWurst deleted the enh/23399/variable-weather-forecast-offset branch December 18, 2020 12:41
@iambenmitchell
Copy link

Uhhh... well right now the weather thing sucks. I get that there are some people who think it is better to see the weather 3 hours ahead but 90% of the people using my next cloud install always text me saying "why is the time wrong" and I've found found myself asking that myself.

it should be configurable systemwide in the settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants