-
Notifications
You must be signed in to change notification settings - Fork 6
Feature/iot 126 konfiguration af chirpstack service profiles #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/iot 126 konfiguration af chirpstack service profiles #6
Conversation
…k-Service-profiles
…files' into develop # Conflicts: # package-lock.json # src/app/app-routing.module.ts # src/app/app.module.ts # src/app/my-applications/applications-table/applications-table-row/applications-table-row.component.html # src/app/my-applications/applications-table/applications-table.component.html # src/app/my-applications/create-application/create-application.component.html # src/app/navbar/navbar.component.html # src/app/profiles/service-profiles/service-profiles-list/service-profile-item/service-profile-item.component.spec.ts # src/app/shared/form/form-body-application/form-body-application.component.ts # src/app/shared/form/form-body-iot-devices/form-body-iot-devices.component.ts # src/app/shared/services/chirpstack-gateway.service.ts # src/app/shared/services/chripstack-gateway.service.spec.ts # src/app/shared/services/datatarget.service.spec.ts # src/app/shared/services/datatarget.service.ts # src/app/shared/top-bar/top-bar.component.ts # src/assets/i18n/da.json
| import { ProfilesListComponent } from './profiles-list/profiles-list.component'; | ||
|
|
||
|
|
||
| const routes: Routes = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hvorfor laver vi vores egen routes til dette modul?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Til at gøre den klar til Lazy loading....
ncjej
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA ok med små kommentarer
| return serviceProfileState.serviceProfiles; | ||
| }), | ||
| switchMap(serviceProfiles => { | ||
| if (serviceProfiles.length === 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Man kunne overvejer at lave dem statisk når de allievel bare returnere en værdi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm... du siger noget
| constructor(public payload: ServiceProfile[]) { } | ||
| } | ||
|
|
||
| export class FetchServiceProfiles implements Action { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static class?
| export const DELETE_SERVICEPROFILE = '[Service Profile] Delete Service Profile'; | ||
| export const STORE_SERVICEPROFILES = '[Service Profile] Store Service Profiles'; | ||
|
|
||
| export class SetServiceProfiles implements Action { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg er generelt modstander af at have flere classes i samme fil.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Du har ret... jeg tror jeg ændrer det til den syntax, som de ngrx introducerede for 2 år siden
* IOT-5: Add IoTDevice API and Generic HTTP devices * IOT-5: E2E tests for IoTDevice API * fixed error when searching trying to delete application by invalid ID Co-authored-by: Troels Beck Krøgh <tbk@netcompany.com> Co-authored-by: Thomas Rohleder <tcr@netcompany.com>
No description provided.