cleaned up some comments.
This commit is contained in:
parent
8f924ae0b7
commit
412458da99
@ -1,4 +1,6 @@
|
|||||||
// Importing necessary components and interfaces.
|
/**
|
||||||
|
* Importing necessary components and interfaces.
|
||||||
|
* */
|
||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import { BackendService, ScrumSprint } from '../../../services/backend.service';
|
import { BackendService, ScrumSprint } from '../../../services/backend.service';
|
||||||
@ -8,8 +10,11 @@ import { BackendService, ScrumSprint } from '../../../services/backend.service';
|
|||||||
templateUrl: './sprint-form.component.html',
|
templateUrl: './sprint-form.component.html',
|
||||||
styleUrls: ['./sprint-form.component.css']
|
styleUrls: ['./sprint-form.component.css']
|
||||||
})
|
})
|
||||||
export // Class implements the logic for a popup window form to create and modify sprints.
|
|
||||||
class SprintFormComponent implements OnInit {
|
/**
|
||||||
|
* Class implements the logic for a popup window form to create and modify sprints.
|
||||||
|
*/
|
||||||
|
export class SprintFormComponent implements OnInit {
|
||||||
@Input() public sprint: ScrumSprint;
|
@Input() public sprint: ScrumSprint;
|
||||||
public editing: Boolean;
|
public editing: Boolean;
|
||||||
public sprintId: string;
|
public sprintId: string;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// Importing necessary components and interfaces.
|
/**
|
||||||
|
* Importing necessary components and interfaces.
|
||||||
|
*/
|
||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import {
|
import {
|
||||||
@ -19,8 +21,11 @@ import { HttpResponse } from '@angular/common/http';
|
|||||||
templateUrl: './task-form.component.html',
|
templateUrl: './task-form.component.html',
|
||||||
styleUrls: ['./task-form.component.css']
|
styleUrls: ['./task-form.component.css']
|
||||||
})
|
})
|
||||||
export // Class implements the logic for a popup window form to create and modify tasks.
|
|
||||||
class TaskFormComponent implements OnInit {
|
/**
|
||||||
|
* Class implements the logic for a popup window form to create and modify tasks.
|
||||||
|
*/
|
||||||
|
export class TaskFormComponent implements OnInit {
|
||||||
@Input() public task: ScrumTask;
|
@Input() public task: ScrumTask;
|
||||||
public editing: boolean;
|
public editing: boolean;
|
||||||
public creating: boolean;
|
public creating: boolean;
|
||||||
@ -160,8 +165,6 @@ class TaskFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// A custom status can even be deleted if not used anymore.
|
|
||||||
// This will remove the status from status-array.
|
|
||||||
/**
|
/**
|
||||||
* A custom status can even be deleted if not used anymore.
|
* A custom status can even be deleted if not used anymore.
|
||||||
* This will remove the status from status-array
|
* This will remove the status from status-array
|
||||||
@ -182,8 +185,6 @@ class TaskFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// A custom user can even be deleted if not used anymore.
|
|
||||||
// This will remove the user from user-array.
|
|
||||||
/**
|
/**
|
||||||
* A custom user can even be deleted if not used anymore.
|
* A custom user can even be deleted if not used anymore.
|
||||||
* This will remove the user from user-array
|
* This will remove the user from user-array
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
// Importing necessary components and interfaces.
|
/**
|
||||||
|
* Importing necessary components and interfaces.
|
||||||
|
*/
|
||||||
import { Component, OnInit, Input } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import { BackendService, ScrumUserstory, Priority, ScrumStatus, ScrumCategory, ScrumUser } from '../../../services/backend.service';
|
import { BackendService, ScrumUserstory, Priority, ScrumStatus, ScrumCategory, ScrumUser } from '../../../services/backend.service';
|
||||||
@ -8,8 +10,11 @@ import { BackendService, ScrumUserstory, Priority, ScrumStatus, ScrumCategory, S
|
|||||||
templateUrl: './userstory-form.component.html',
|
templateUrl: './userstory-form.component.html',
|
||||||
styleUrls: ['./userstory-form.component.css']
|
styleUrls: ['./userstory-form.component.css']
|
||||||
})
|
})
|
||||||
export // Class implements the logic for a popup window form to create and modify userstories.
|
|
||||||
class UserstoryFormComponent implements OnInit {
|
/**
|
||||||
|
* Class implements the logic for a popup window form to create and modify userstories.
|
||||||
|
*/
|
||||||
|
export class UserstoryFormComponent implements OnInit {
|
||||||
@Input() public userstory: ScrumUserstory;
|
@Input() public userstory: ScrumUserstory;
|
||||||
public allStatus: any[] = [];
|
public allStatus: any[] = [];
|
||||||
public status: ScrumStatus = { title: '', description: '' };
|
public status: ScrumStatus = { title: '', description: '' };
|
||||||
@ -182,8 +187,6 @@ class UserstoryFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// If desired a new arbitrary category can be created, which will be stored in an array.
|
|
||||||
// The new category is available to all userstories.
|
|
||||||
/**
|
/**
|
||||||
* If desired a new arbitrary category can be created, which will be stored in an array.
|
* If desired a new arbitrary category can be created, which will be stored in an array.
|
||||||
* The new category is available to all userstories.
|
* The new category is available to all userstories.
|
||||||
@ -214,8 +217,6 @@ class UserstoryFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// A custom category can even be deleted if not used anymore.
|
|
||||||
// This will remove the category from category-array.
|
|
||||||
/**
|
/**
|
||||||
* A custom category can even be deleted if not used anymore.
|
* A custom category can even be deleted if not used anymore.
|
||||||
* This will remove the category from category-array.
|
* This will remove the category from category-array.
|
||||||
@ -236,8 +237,6 @@ class UserstoryFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// A custom user can even be deleted if not used anymore.
|
|
||||||
// This will remove the user from user-array.
|
|
||||||
/**
|
/**
|
||||||
* A custom user can even be deleted if not used anymore.
|
* A custom user can even be deleted if not used anymore.
|
||||||
* This will remove the user from user-array
|
* This will remove the user from user-array
|
||||||
|
Loading…
x
Reference in New Issue
Block a user