Closed endulab closed 1 month ago
Because the popup will be shown in 3 places I tried to move it to the Popups global component. It turned out that I can't do this because Popups component is not available during onboarding. After discussions with @micieslak, the metrics popup and needed store will be created in main.qml (at the most top level).
Update Also, the place where the popup is shown during onboarding has changed. It will be shown on Welcome screen.
As a user upgrading to the first version that included metrics collection I want to be asked about metrics collection So that I can decide to opt-in or not.
Acceptance Criteria Given the Desktop instance is upgraded When an existing user of that instance authenticates Then the user is prompted to opt-in or decline metrics collection And the next user to log in is not prompted
Technical details We can use local qt settings to save the information that the popup was opened. If there is no information it means that the popup was not opened and we need to show it.