-
Notifications
You must be signed in to change notification settings - Fork 0
Add fleet management grid #4
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
Conversation
| private utilizationData: any[] = []; | ||
| private fuelCostsCache: { [key: string]: any[] } = {}; | ||
|
|
||
| async loadAllData(): Promise<void> { |
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.
Can you please align how you get the data based on grid-demos in Angular? It would be better to use a separate request for each instead of using Promise.all() ?
| 'https://www.infragistics.com/grid-examples-data/data/fleet/trip_history.json'; | ||
|
|
||
| export class DataService { | ||
| private vehiclesData: any[] = []; |
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.
Some models for the data here would be nice
| registerIconFromText(gitIssue.name, gitIssue.value, 'imx-icons'); | ||
| } | ||
|
|
||
| @property({ type: Array }) maintenanceData: any[] = []; |
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.
Data type/model here as well
| color: var(--primary-text-color); | ||
| } | ||
| .child-grid { |
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.
Do you need this class if you are not adding any styles to it?
projects/fleet-management-grid/src/components/maintenance.component.ts
Outdated
Show resolved
Hide resolved
projects/fleet-management-grid/src/components/maintenance.component.ts
Outdated
Show resolved
Hide resolved
projects/fleet-management-grid/src/components/trip-history-grid.component.ts
Outdated
Show resolved
Hide resolved
|
@IMinchev64 please resolve conflicts |
mddragnev
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.
Waiting for styles update
No description provided.