Closed d-loose closed 2 months ago
For testing, a snap is building here. It'd be great if someone could test it in a VM with snapd from edge and the prompting-client installed. The security center should handle the following scenarios without any errors:
I found that if you cancel out of the sudo password prompt when toggling prompting, the option remains off until you restart the security center:
I found that if you cancel out of the sudo password prompt when toggling prompting, the option remains off until you restart the security center:
Very good catch, thanks a lot! I'll need to handle that case explicitly
Automatically updates the UI when
This also includes some retry logic to gracefully handle snapd errors while it's restarting when the feature flag is toggled
Screencast from 2024-08-23 13-58-16.webm
The UI change is a bit delayed when the feature is toggled externally, I'll see if I can add a loading state or at least disable the toggle button for that case.Added a
waitingForSnapd
stateScreencast from 2024-08-23 14-31-18.webm
UDENG-3790 UDENG-4077