splitbrain/giraffe — Issue #5: Enhancement: Reload the loaded calendar on app start
Author: logomancer
Created: 2012-02-12 22:25:17+00:00
State: open

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();
}
}