Refactors all of the usages of the deprecated `Http` by replacing them with the `HttpClient`.
BREAKING CHANGE: Material now requires `@angular/common` instead of `@angular/http` and uses `HttpClient` instead of `Http`.
* Fixes that the dashboard deployment fails due to incorrect dependencies with AngularFire.
* Upgrades to the latest AngularFire version with a new API for the Realtime Database.
* Less code duplication for different panels in the dashboard.
* Fixes the screenshot functions deploying by properly resolving the path to the Firebase CLI binary.
* Also cleans up the script to be aligned with the dashboard deployment script.
* Removes firebase-tools as dependency from the dashboard since it's not used there anymore
The dashboard payload size chart showed invalid curves for the Material and CDK package size. This happened because there were multiple different values for the same day (multiple PRs merged into master at the same day). Removing the duplicate values and only taking the last result of the day ensures that the curve is always correct and also makes the chart way better in performance.
Recently stuff has been moved to the CDK and the `material2-builds` repository now depends on the `@angular/cdk`.
Since the dashboard uses the latest version of Material (material2-builds) the CDK dependency needs to be added.
* build: firebase integration for dashboard
* As part of the initial dashboard setup, this installs Angular Fire and Angular Material in the dashboard.
* For testing purposes the list of all payload results will be printed right now.
* Address feedback