The problem is when the installation of an Amahi app starts and someone refreshes the page, the app continues to install in the backend. but the user only sees the progress when it again clicks on the install button of that app. To solve this problem I have implementing this, when someone refreshes the page, before loading frontend the backend checks if an application is getting install/uninstall then it shows a new div at top of apps tab and shows its current progress with application name and status.
The problem is when the installation of an Amahi app starts and someone refreshes the page, the app continues to install in the backend. but the user only sees the progress when it again clicks on the install button of that app. To solve this problem I have implementing this, when someone refreshes the page, before loading frontend the backend checks if an application is getting install/uninstall then it shows a new div at top of apps tab and shows its current progress with application name and status.