Part of EPIC #193. Depends on #201.
Description
The current reopenLastProject: Bool setting (from #164) reopens a single project. Extend it to an enum { off, lastProject, allWindows }. In allWindows mode, save the list of open ProjectIDs on quit into @AppStorage and reopen them all via openWindow(value:) on launch. Migration for existing users: old true → .lastProject, old false → .off.
Acceptance Criteria
Module / Layer
Relay / AppDelegate + Settings + StartupRouteResolver
Complexity
Medium
Part of EPIC #193. Depends on #201.
Description
The current
reopenLastProject: Boolsetting (from #164) reopens a single project. Extend it to an enum{ off, lastProject, allWindows }. InallWindowsmode, save the list of openProjectIDs on quit into@AppStorageand reopen them all viaopenWindow(value:)on launch. Migration for existing users: oldtrue→.lastProject, oldfalse→.off.Acceptance Criteria
allWindowsmode, on quit the openProjectIDlist is saved; on launch all windows are reopenedModule / Layer
Relay / AppDelegate + Settings + StartupRouteResolver
Complexity
Medium