You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
Add GUI metrics to Button.js and refactor metrics tracker and frontend metric architecture (part of #508) (#642)
* 1 - changes from existing PR 582
* 2 - changes from my comments on PR
* 3 - pass in correct baseURL to sendMetricEvent from Button.js
* 4 - fix check for metrics when in local dev mode (no metrics tracker)
* 5 - metrics tracker should throw when amplitude returns invalid response
* 6 - fix API usage of /sendMetricEvent
* 7 - warn when no event name on button
* 8 - use correct event name type and data across the frontend, API, backend
* 9 - simplify metrics tracker event props naming
* 10 - refactor and simplify metricsTracker factory methods to use a single factory method
this ensures we do not send cli props for gui actions etc since they are separated
* 11 - prefix gui specific event properties as gui_
* 12 - isTestnet should be hardcoded to true by default
* 13 - change warning when no event name to an error
* 14 - set button names for welcome screen
* 15 - set button names for all remaining buttons by threading eventPrefix
* 16 - rename event_name to gui_event_name
* 17 - fix warnings in Button.js
0 commit comments