This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GUI metrics to Button.js and refactor metrics tracker and fronten…
…d 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
- Loading branch information
1 parent
b70c22c
commit 07e8b1e
Showing
23 changed files
with
357 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.