[curweather] Only shown notice about unavailable weather once per session. #653

Merged
astifter merged 3 commits from curweather_fix_header into develop 2018-07-20 21:58:54 +02:00
astifter commented 2018-07-20 21:04:52 +02:00 (Migrated from github.com)

Fix several issues in curweather widget:

Fix several issues in curweather widget: - When the widget can not load weather data, it shows a notice, this notice is shown on every page load. Also the widget is plain and blank and needs to be formated properly. * Fix: Store notification-shown-state in session and show only once per session. (See https://github.com/friendica/friendica-addons/compare/develop...astifter:curweather_fix_header?expand=1#diff-5cd1ef666d6ce6004e4e355947ed8d10R37) * Fix: Restyle error widget: Old: ![screenshot_2018-07-20 friendica social network network](https://user-images.githubusercontent.com/206846/43020509-7a3b4b28-8c60-11e8-8a08-6d56e75e4e7f.png) - Fix whitespace in PHP file.
MrPetovan (Migrated from github.com) requested changes 2018-07-20 21:14:48 +02:00
astifter commented 2018-07-20 21:32:39 +02:00 (Migrated from github.com)

@MrPetovan But the changes with the session are okay?

@MrPetovan But the changes with the session are okay?
MrPetovan commented 2018-07-20 21:46:52 +02:00 (Migrated from github.com)

My only problem with it is that you don't have a consistent timeout for showing the error again. But maybe it isn't a problem.

My only problem with it is that you don't have a consistent timeout for showing the error again. But maybe it isn't a problem.
MrPetovan (Migrated from github.com) approved these changes 2018-07-20 21:47:35 +02:00
MrPetovan (Migrated from github.com) approved these changes 2018-07-20 21:58:43 +02:00
tobiasd (Migrated from github.com) reviewed 2018-07-21 07:40:43 +02:00
MrPetovan (Migrated from github.com) reviewed 2018-07-21 13:29:54 +02:00
astifter (Migrated from github.com) reviewed 2018-07-21 22:34:22 +02:00
MrPetovan (Migrated from github.com) reviewed 2018-07-21 23:33:36 +02:00
Sign in to join this conversation.
No description provided.