Skip to content
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

Add fleet management grid sample #10

Merged
merged 30 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7d61b59
Add fleet management grid sample
IMinchev64 Dec 13, 2024
dec8cdf
Add more data
IMinchev64 Dec 13, 2024
e4fc563
Remove commented out sections
IMinchev64 Dec 13, 2024
fbb29de
Remove unused imports
IMinchev64 Dec 13, 2024
29124c1
Add descriptive comments and some clean up
IMinchev64 Dec 13, 2024
8cbd3d8
Remove more unused comments
IMinchev64 Dec 13, 2024
b84fe09
Fix styles
IMinchev64 Jan 6, 2025
b3b21b4
Fix utilization 12 month series
IMinchev64 Jan 8, 2025
4645f9b
Fix styles
IMinchev64 Jan 8, 2025
a20f5b5
Refactor car image handling for carousel and avatar
IMinchev64 Jan 8, 2025
fc777d8
Fix trip history current driver badge logic
IMinchev64 Jan 9, 2025
7e59f9b
Remove redundant debug function
IMinchev64 Jan 9, 2025
79485e7
Fix overlay card header spacing
IMinchev64 Jan 9, 2025
202a8c5
Fix utilization chart series titles
IMinchev64 Jan 13, 2025
44fc473
Refactor overlay open/close animations
IMinchev64 Jan 13, 2025
6c5b1a6
Fix trip history data
IMinchev64 Jan 13, 2025
b00e373
Fix overlay pin position and change pin svg
IMinchev64 Jan 14, 2025
fb109df
Refactor structure of data and data handling
IMinchev64 Jan 15, 2025
524341a
Remove unused imports
IMinchev64 Jan 15, 2025
27a6664
Address style related comments
IMinchev64 Jan 15, 2025
da50c5a
Add more entries and fix data
IMinchev64 Jan 16, 2025
22d1829
Remove old car photos folder
IMinchev64 Jan 16, 2025
aa0d53e
Change licensed igniteui-angular packages to public ones
IMinchev64 Jan 16, 2025
12288bc
Change alignment for some columns
IMinchev64 Jan 17, 2025
1c7e95d
Change two car photos
IMinchev64 Jan 17, 2025
6aa959a
Refactor map zooming and dragging
IMinchev64 Jan 17, 2025
7244cb7
Merge branch 'vnext' of https://github.com/IgniteUI/grid-demos into i…
IMinchev64 Jan 17, 2025
4187fab
Add fleet management sample to landing pages
IMinchev64 Jan 17, 2025
1768526
Fix minor issues
IMinchev64 Jan 20, 2025
9d0c4e9
Minor fixes
IMinchev64 Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
{
"glob": "**/*",
"input": "projects/sales-grid/public"
},
{
"glob": "**/*",
"input": "projects/fleet-management-grid/public"
}
],
"styles": [
Expand Down Expand Up @@ -705,5 +709,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
"fflate": "^0.8.1",
"hammerjs": "^2.0.8",
"igniteui-angular": "^19.0.1",
"igniteui-angular-charts": "^18.1.1",
"igniteui-angular-charts": "^18.2.0",
"igniteui-webcomponents": "^5.1.2",
"igniteui-angular-core": "^18.2.0",
"igniteui-angular-maps": "^18.2.0",
"minireset.css": "~0.0.4",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
Expand Down
1 change: 1 addition & 0 deletions projects/fleet-management-grid/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
59 changes: 59 additions & 0 deletions projects/fleet-management-grid/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# MasterDetailGrid

This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.3.

## Development server

To start a local development server, run:

```bash
ng serve
```

Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.

## Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

```bash
ng generate component component-name
```

For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:

```bash
ng generate --help
```

## Building

To build the project run:

```bash
ng build
```

This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.

## Running unit tests

To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:

```bash
ng test
```

## Running end-to-end tests

For end-to-end (e2e) testing, run:

```bash
ng e2e
```

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

## Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
108 changes: 108 additions & 0 deletions projects/fleet-management-grid/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"master-detail-grid": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/master-detail-grid",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": ["node_modules"]
},
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "master-detail-grid:build:production"
},
"development": {
"buildTarget": "master-detail-grid:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
}
}
}
},
"cli": {
"analytics": false
}
}
44 changes: 44 additions & 0 deletions projects/fleet-management-grid/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "master-detail-grid",
"homepage": "https://github.com/IgniteUI/grid-demos/tree/master/projects/fleet-management-grid",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "^19.0.0",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/platform-browser": "^19.0.0",
"@angular/platform-browser-dynamic": "^19.0.0",
"@angular/router": "^19.0.0",
"@igniteui/material-icons-extended": "^3.1.0",
"igniteui-angular": "^19.0.1",
"igniteui-angular-charts": "^18.2.0",
"igniteui-angular-core": "^18.2.0",
"igniteui-angular-maps": "^18.2.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.0.3",
"@angular/cli": "^19.0.3",
"@angular/compiler-cli": "^19.0.0",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.4.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.6.2"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projects/fleet-management-grid/public/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions projects/fleet-management-grid/public/location_pin.svg
1 change: 1 addition & 0 deletions projects/fleet-management-grid/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<app-fleet-management-grid></app-fleet-management-grid>
Empty file.
12 changes: 12 additions & 0 deletions projects/fleet-management-grid/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component } from '@angular/core';
import { FleetManagementGridComponent } from "./fleet-management-grid/fleet-management-grid.component";

@Component({
selector: 'app-root',
imports: [ FleetManagementGridComponent],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
title = 'master-detail-grid';
}
15 changes: 15 additions & 0 deletions projects/fleet-management-grid/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
import { provideRouter } from '@angular/router';

import { routes } from './app.routes';
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
import { provideAnimations } from '@angular/platform-browser/animations';

export const appConfig: ApplicationConfig = {
providers: [
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes),
provideClientHydration(withEventReplay()),
provideAnimations()
]
};
3 changes: 3 additions & 0 deletions projects/fleet-management-grid/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Routes } from '@angular/router';

export const routes: Routes = [];
Loading