Skip to main content

Module restore

Module restore 

Source

Functionsยง

describe_restore ๐Ÿ”’
The preview, removals first because they are what a user must read before agreeing; packages are named by their leaf, as every other scene names them.
fill_points ๐Ÿ”’ โš 
Lists the points newest first, with โ€œremove everythingโ€ last; rebuilt on every activation, since a run since the last visit added one.
leaves ๐Ÿ”’
One indented line per package.
on_point_picked ๐Ÿ”’ โš 
Works out the plan for the chosen row and shows it; the last row is a restore to an empty state, the same operation rather than a second path.
on_restore ๐Ÿ”’ โš 
Hands over to scene 6, which runs the restore as it runs an install; by id, since this page is last in the sheet.
point_label ๐Ÿ”’
The date, plus what the run after the point did, which is what tells two dates apart.
restore_pageโš 
The restore scene: pick a state to go back to, read what that would do, then do it. Mostly preview, since this is the one route that can remove files a user has, and what exactly is about to happen is the question to answer first.