List of commits:
Subject Hash Author Date (UTC)
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
Implemented delete vehicle a07116dd194b102098b3e826680d374ad6f3660e Antonio Calatayud 2019-01-04 15:32:13
Commit e71ebedf4a0bf1572dda7885eefd96d119693d69 - Populate Model dropdown when form is vehicle form populated
Author: Antonio Calatayud
Author date (UTC): 2019-02-18 15:18
Committer name: Antonio Calatayud
Committer date (UTC): 2019-02-18 15:18
Parent(s): db2a4dbb892ab8fdec34cf19cddcf6a5aa99d3aa
Signing key:
Tree: 2cb4c7908464b5b2b1d1e443bb71c295380fba24
File Lines added Lines deleted
ClientApp/src/app/vehicule-form/vehicule-form.component.ts 8 2
File ClientApp/src/app/vehicule-form/vehicule-form.component.ts changed (mode: 100644) (index 03d1140..7f421f0)
... ... export class VehiculeFormComponent implements OnInit {
50 50 .subscribe(data => { .subscribe(data => {
51 51 this.makes = data[0]; this.makes = data[0];
52 52 this.features =data[1]; this.features =data[1];
53 if (this.vehicle.id)
53 if (this.vehicle.id) {
54 54 this.setVehicle(data[2]); this.setVehicle(data[2]);
55 this.populateModels();
56 }
55 57 }, err => { }, err => {
56 58 if (err.status == 404) if (err.status == 404)
57 59 this.router.navigate(['/home']); this.router.navigate(['/home']);
 
... ... export class VehiculeFormComponent implements OnInit {
68 70 } }
69 71
70 72 onMakeChange(){ onMakeChange(){
73 this.populateModels();
74 delete this.vehicle.modelId;
75 }
76
77 private populateModels() {
71 78 var selectedMake = this.makes.find(m => m.id == this.vehicle.makeId); var selectedMake = this.makes.find(m => m.id == this.vehicle.makeId);
72 79 this.models = selectedMake? selectedMake.models : []; this.models = selectedMake? selectedMake.models : [];
73 delete this.vehicle.modelId;
74 80 } }
75 81
76 82 onFeatureToggle(featureId, $event){ onFeatureToggle(featureId, $event){
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