Notification system in frontend

- Heatmap worker now reports progress
- Base for new altitude value
- Phones can be marked active
This commit is contained in:
2020-11-13 19:04:45 +01:00
parent d747b7be5b
commit ab1b90d020
27 changed files with 423 additions and 36 deletions

View File

@@ -14,10 +14,12 @@ import { LoginComponent } from './login/login.component';
import { MapComponent } from './map/map.component';
import { UserComponent } from './user/user.component';
import { DashboardWidgetComponent } from './dashboard-widget/dashboard-widget.component';
import { IMqttServiceOptions, MqttModule } from 'ngx-mqtt';
import { MqttModule } from 'ngx-mqtt';
import { ServiceWorkerModule } from '@angular/service-worker';
import { environment } from '../environments/environment';
import { AdminComponent } from './admin/admin.component';
import { AlertComponent } from './_alert/alert/alert.component';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
@NgModule({
declarations: [
@@ -28,12 +30,14 @@ import { AdminComponent } from './admin/admin.component';
FilterComponent,
UserComponent,
DashboardWidgetComponent,
AdminComponent
AdminComponent,
AlertComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
FontAwesomeModule,
FormsModule,
HttpClientModule,
MqttModule.forRoot({}),
@@ -41,7 +45,8 @@ import { AdminComponent } from './admin/admin.component';
accessToken: 'pk.eyJ1IjoibW9uZGVpMSIsImEiOiJja2dsY2ZtaG0xZ2o5MnR0ZWs0Mm82OTBpIn0.NzDWN3P6jJLmci_v3MM1tA'
}),
ChartsModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }),
FontAwesomeModule
],
providers: [],
bootstrap: [AppComponent]