waves
waves copied to clipboard
State in extension popup
Since the extension popup is only short living, is completely stateless atm. State is only stored in the background script.
This can be an issue as seen in #226 : The loan signing process is a 3 step process:
- sign loan
- download backup file
- submit to bobtimus
If the user loses focus of the popup, e.g. because he wants to check if the backup file was successfully downloaded, the state is gone. When he re-opens the popup the signin process starts from the beginning.