I frequently need to reboot my ARTIQ dashboard due to the host computer installing updates and other reasons. It'd be awesome if the dashboard would keep track of the status of all dashboard arguments of all the scripts that are loaded. This way, if I have to reboot, I don't have to remember a ton of checkboxes to check/unckeck, my favorite choices for EnumerationValues, favorite settings for rangescans, etc.
Now, I know that I already have a way to code in default values for dashboard arguments, but this is rarely sufficient. I almost always prefer that the dashboard arguments just persist across sessions rather than revert to some default which was only a best-guess during coding, not an empirical optimum developed during actual data-taking.
Any suggestions? I'm open to writing code for this myself and would appreciate a shove in the right direction. Maybe the dashboard args could have a flag where one specifies them to remember their state, and this somehow dumps into the same file that remembers the dashboard layout, or another file in the same directory?