List of commits:
Subject Hash Author Date (UTC)
Populate checkboxes form. Fixed typo isRegistered 49b9fad3eb0ff05358e47eab61c6d06428f3d632 Antonio Calatayud 2019-02-18 15:50:04
Populate Model dropdown when form is vehicle form populated e71ebedf4a0bf1572dda7885eefd96d119693d69 Antonio Calatayud 2019-02-18 15:18:45
Prepare vehicle object to fill form db2a4dbb892ab8fdec34cf19cddcf6a5aa99d3aa antonio.calatayud 2019-01-29 16:46:02
Make parralle request to load vehicle b66d537ee97e2b0d1840e1440e04ea56b27e9557 antonio.calatayud 2019-01-28 16:50:35
Add get vehicle methon on vehicle service 27c078d382ae489c49855b77d0151ea506486a96 antonio.calatayud 2019-01-28 15:55:08
Add "logging" on prod mode - just example ead0ba75a9cf099e37676ab95f60a37aa3b883ca antonio.calatayud 2019-01-14 16:36:16
Add ngxToasta and global error handler cb0935ff5752b72870b6b9b5138e76fd0f7d7718 antonio.calatayud 2019-01-14 12:42:32
Remove font awesome 9ba33a938e20010daf4743f75301c994ec043a9d antonio.calatayud 2019-01-14 10:32:05
Updating solution to Angular 7 and bootsrap4. Missing font-awesome c277172b144f2d0c11fd9a246eaf4d00dedd6092 antonio.calatayud 2019-01-09 16:06:28
Implemented client side validation on new vehicle 10a9108113bdfbe2ae3b998a32633702e4bc13fc Antonio Calatayud 2019-01-08 16:24:50
Implement submit form 1e197fc2a202658d14526f2791b0a4a1dc4f568b Antonio Calatayud 2019-01-08 16:10:49
Biniding inputs to vehicle object d971e6fcc584e947b65547024fa9fd5407089b3e Antonio Calatayud 2019-01-08 16:04:25
Move Vehicle repository to UoW 440e32fd438f2143e1453e4504a383b3d09af016 Antonio Calatayud 2019-01-08 15:31:51
Move Models to Core and fix namespaces 7120645b3fb5c63653e56570280bf505d2dbf4ed Antonio Calatayud 2019-01-08 15:11:32
Start implementing UnitOfwork pattern d458f0ca3bced9b78880977ee11c3437633b7da0 Antonio Calatayud 2019-01-08 12:03:18
Move more context queries to repository 2cce05a668e039917d2c0967aa97eb3786dd5de2 Antonio Calatayud 2019-01-06 17:59:17
Start implementing repository pattern 1d0b0cd78bc861d0e0282a69e5d88b219efbb118 Antonio Calatayud 2019-01-06 17:37:57
Return all inf when update/added vehicle ef44980290b644244de12ad9e064ca6dcee0ac2b Antonio Calatayud 2019-01-04 16:51:50
Refactor to bring different vehicle resources between get & update/add 6980669ec37dab31b595af6fa1be6718eef4b4e1 Antonio Calatayud 2019-01-04 16:37:41
Implemented Get Vehicle d340e1c7dda6424e1e370465be03e4e7a74c0b3e Antonio Calatayud 2019-01-04 15:45:26
Commit 49b9fad3eb0ff05358e47eab61c6d06428f3d632 - Populate checkboxes form. Fixed typo isRegistered
Author: Antonio Calatayud
Author date (UTC): 2019-02-18 15:50
Committer name: Antonio Calatayud
Committer date (UTC): 2019-02-18 15:50
Parent(s): e71ebedf4a0bf1572dda7885eefd96d119693d69
Signing key:
Tree: 2c65f47f6a31111ef513295cfbdeadfd51498cfa
File Lines added Lines deleted
ClientApp/src/app/models/vehicle.ts 2 2
ClientApp/src/app/vehicule-form/vehicule-form.component.html 4 3
ClientApp/src/app/vehicule-form/vehicule-form.component.ts 3 3
File ClientApp/src/app/models/vehicle.ts changed (mode: 100644) (index d914dac..0cc85cd)
... ... export interface Vehicle {
13 13 id: number; id: number;
14 14 model: KeyValuePair; model: KeyValuePair;
15 15 make: KeyValuePair; make: KeyValuePair;
16 isRegister: boolean;
16 isRegistered: boolean;
17 17 features: KeyValuePair[]; features: KeyValuePair[];
18 18 contact: Contact; contact: Contact;
19 19 lastUpdate: string; lastUpdate: string;
 
... ... export interface SaveVehicle {
23 23 id: number; id: number;
24 24 modelId: number; modelId: number;
25 25 makeId: number; makeId: number;
26 isRegister: boolean;
26 isRegistered: boolean;
27 27 features: number[]; features: number[];
28 28 contact: Contact; contact: Contact;
29 29 } }
File ClientApp/src/app/vehicule-form/vehicule-form.component.html changed (mode: 100644) (index 7e0d4a4..afe0b96)
24 24 <p>Is this vehicle registered?</p> <p>Is this vehicle registered?</p>
25 25 <div class="radio-inline"> <div class="radio-inline">
26 26 <label for="registered"> <label for="registered">
27 <input type="radio" name="isResgistered" value="true" id="registered" [(ngModel)]="vehicle.isResgistered">Yes
27 <input type="radio" name="isRegistered" [value]="true" id="registered" [(ngModel)]="vehicle.isRegistered">Yes
28 28 </label> </label>
29 29 </div> </div>
30 30 <div class="radio-inline"> <div class="radio-inline">
31 31 <label for="notRegistered"> <label for="notRegistered">
32 <input type="radio" name="isResgistered" value="false" id="notRegistered" [(ngModel)]="vehicle.isResgistered">No
32 <input type="radio" name="isRegistered" [value]="false" id="notRegistered" [(ngModel)]="vehicle.isRegistered">No
33 33 </label> </label>
34 34 </div> </div>
35 35 <h2>Features</h2> <h2>Features</h2>
36 36 <div *ngFor="let f of features" class="form-check"> <div *ngFor="let f of features" class="form-check">
37 37 <label class="form-check-label" for="feature{{f.id}}"> <label class="form-check-label" for="feature{{f.id}}">
38 <input class="form-check-input" type="checkbox" value="{{f.id}}" id="feature{{f.id}}" (change)="onFeatureToggle(f.id, $event)">
38 <input class="form-check-input" type="checkbox" value="{{f.id}}" id="feature{{f.id}}"
39 (change)="onFeatureToggle(f.id, $event)" [checked]="vehicle.features.includes(f.id)">
39 40 {{f.name}} {{f.name}}
40 41 </label> </label>
41 42 </div> </div>
File ClientApp/src/app/vehicule-form/vehicule-form.component.ts changed (mode: 100644) (index 7f421f0..8792a60)
... ... export class VehiculeFormComponent implements OnInit {
16 16 id: 0, id: 0,
17 17 makeId: 0, makeId: 0,
18 18 modelId: 0, modelId: 0,
19 isRegister: false,
19 isRegistered: false,
20 20 features: [], features: [],
21 21 contact: { contact: {
22 22 name: '', name: '',
 
... ... export class VehiculeFormComponent implements OnInit {
64 64 this.vehicle.id = v.id; this.vehicle.id = v.id;
65 65 this.vehicle.makeId = v.make.id; this.vehicle.makeId = v.make.id;
66 66 this.vehicle.modelId = v.model.id; this.vehicle.modelId = v.model.id;
67 this.vehicle.isRegister = v.isRegister;
67 this.vehicle.isRegistered = v.isRegistered;
68 68 this.vehicle.contact = v.contact; this.vehicle.contact = v.contact;
69 this.vehicle.features = _.pluck(v.features, 'id');
69 this.vehicle.features = _.pluck(v.features, 'id');
70 70 } }
71 71
72 72 onMakeChange(){ onMakeChange(){
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/antcalatayud/vega

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/antcalatayud/vega

Clone this repository using git:
git clone git://git.rocketgit.com/user/antcalatayud/vega

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main