giraffe icon indicating copy to clipboard operation
giraffe copied to clipboard

Enhancement: Reload the loaded calendar on app start

Open logomancer opened this issue 13 years ago • 2 comments

Absent a regular update feature, it might be a good idea to have the calendar load when the app is started. If there's no URL to load, the app could then take them to the URL screen to enter a calendar URL. If the problem is that there's no network instead and we already have a calendar that just needs updating, the app could show the old version of the calendar. Otherwise, the app shows an error.

The logic pseudocode for this would be something like the following:

OnAppStart() { if (URL != null} { if(loadCalendar() != null) { ShowNewCalendar(); } else if (loadCalendar() == null && OldCalendar != null) { ShowOldCalendar(); } else { Error("Could not load calendar."); } } else { LoadSettingsScreen(); } }

logomancer avatar Feb 12 '12 22:02 logomancer

If implemented it should be optional. I'm often at conferences where there is a very bad network connection only. Having the app trying to refresh the data on every load would be a pain there.

splitbrain avatar Feb 14 '12 18:02 splitbrain

True enough. I'll keep this in mind when writing this.

logomancer avatar Feb 14 '12 19:02 logomancer