A bug was always sending 0s for metrics like story count and locale count. It was also sending 1s for metrics like selected devices, themes, etc.
The bug was in the controller. The code sending the track request was using the first state object which only had the initialized values. This PR fixes the bug and moves the gathering of all the user selections data to the Preview API. It makes more sense there since the Preview API maintains the state of the user selections.
This PR also improves the tracking of user selections changes like text scale factor and visual debug flags. It also includes new versions of the monarch_grpc and monarch_utils packages.
A bug was always sending 0s for metrics like story count and locale count. It was also sending 1s for metrics like selected devices, themes, etc.
The bug was in the controller. The code sending the track request was using the first state object which only had the initialized values. This PR fixes the bug and moves the gathering of all the user selections data to the Preview API. It makes more sense there since the Preview API maintains the state of the user selections.
This PR also improves the tracking of user selections changes like text scale factor and visual debug flags. It also includes new versions of the monarch_grpc and monarch_utils packages.