List of commits:
Subject Hash Author Date (UTC)
Populate feature checkboxes 1d31b1b0f70c96ceb04f375bb28affbdcc6bbf93 Antonio Calatayud 2018-11-16 22:30:32
Create Feature Service 83633fa68f9ceb113974f8cfa1cbad527dcb1730 Antonio Calatayud 2018-11-16 22:21:55
Add cascade dropdown for model 23a3a4509386c52d83df8e2742260b31d74d2c31 Antonio Calatayud 2018-11-16 22:14:27
Populate dropdown list of makes 2f990816aa06a5c1157792e7194118e8f27edd01 Antonio Calatayud 2018-11-16 21:57:05
Create service to bring makes 4392eaef90093371844491026c771439cb43907e Antonio Calatayud 2018-11-16 21:54:02
Start form 73244c2b63ba957d2a8212d32b7a18114a6a4e72 Antonio Calatayud 2018-11-16 21:52:19
Add routing to new component 51ae297856214503a62716a9fc841db611cb7b1e Antonio Calatayud 2018-11-16 21:22:58
Create new component for vehicle form 774a1e6105d82f115c5002db0b6a66429f7d7f04 Antonio Calatayud 2018-11-16 21:13:06
Add API with mapping e2a22c67e3d34c4125adf5bec2c3b1dd319b999b Antonio Calatayud 2018-11-13 18:14:15
Add feature Model and seed 83b852e4e3e045b110d412d4c072cffdd43b5015 Antonio Calatayud 2018-11-13 17:56:09
Create api for makes with mapping 0090cccd2af8016cc3d8ebe0c690ec9c8be1f9ba Antonio Calatayud 2018-11-13 17:16:29
Seed DB with test records 290f03be73cde265adeb436d9083f848e335d0ad Antonio Calatayud 2018-11-13 13:00:38
Add first Migration f7dbe278633d37cb84371ff9872f2999d1551d23 Antonio Calatayud 2018-11-13 11:18:29
Add DbContext 63523201e374cd186a873d405395cec6eefd989d Antonio Calatayud 2018-11-13 11:13:33
Add models 10cb5370ddb34a9afdaa0ae964c2ee540821462b Antonio Calatayud 2018-11-09 18:11:22
First commit 3033c730b731b08ad5198975d238635007575714 Antonio Calatayud 2018-11-09 17:09:28
Commit 1d31b1b0f70c96ceb04f375bb28affbdcc6bbf93 - Populate feature checkboxes
Author: Antonio Calatayud
Author date (UTC): 2018-11-16 22:30
Committer name: Antonio Calatayud
Committer date (UTC): 2018-11-16 22:30
Parent(s): 83633fa68f9ceb113974f8cfa1cbad527dcb1730
Signing key:
Tree: 2895a32cdaf8098b99dfb1b5bcf811392b300f4d
File Lines added Lines deleted
ClientApp/src/app/vehicule-form/vehicule-form.component.html 7 0
ClientApp/src/app/vehicule-form/vehicule-form.component.ts 7 1
File ClientApp/src/app/vehicule-form/vehicule-form.component.html changed (mode: 100644) (index 4bdb828..8abcb46)
13 13 <option *ngFor="let m of models" value="{{m.id}}">{{m.name}}</option> <option *ngFor="let m of models" value="{{m.id}}">{{m.name}}</option>
14 14 </select> </select>
15 15 </div> </div>
16 <h2>Features</h2>
17 <div *ngFor="let f of features" class="form-check">
18 <label class="form-check-label" for="feature{{f.id}}">
19 <input class="form-check-input" type="checkbox" value="{{f.id}}" id="feature{{f.id}}">
20 {{f.name}}
21 </label>
22 </div>
16 23 </form> </form>
File ClientApp/src/app/vehicule-form/vehicule-form.component.ts changed (mode: 100644) (index d46aefe..d33d022)
1 import { FeatureService } from './../services/feature.service';
1 2 import { MakeService } from './../services/make.service'; import { MakeService } from './../services/make.service';
2 3 import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
3 4
 
... ... export class VehiculeFormComponent implements OnInit {
10 11 makes: any[]; makes: any[];
11 12 vehicle: any = {}; vehicle: any = {};
12 13 models: any[]; models: any[];
14 features: any[];
13 15
14 constructor(private makeService: MakeService) { }
16 constructor(private makeService: MakeService,
17 private featureService: FeatureService) { }
15 18
16 19 ngOnInit() { ngOnInit() {
17 20 this.makeService.getMakes().subscribe(makes => this.makeService.getMakes().subscribe(makes =>
18 21 this.makes = makes); this.makes = makes);
22
23 this.featureService.getFeatures().subscribe(features =>
24 this.features = features;));
19 25 } }
20 26
21 27 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