Refactored Form Component locations
All form related components now reside in the components/forms folder
This commit is contained in:
parent
b57dcbb951
commit
b502f7cfe6
@ -7,9 +7,9 @@ import { AppRoutingModule } from './app-routing.module';
|
||||
import { AppComponent } from './app.component';
|
||||
|
||||
import { BackendService } from './services/backend.service';
|
||||
import { TaskFormComponent } from './components/task-form/task-form.component';
|
||||
import { UserstoryFormComponent } from './components/userstory-form/userstory-form.component';
|
||||
import { SprintFormComponent } from './components/sprint-form/sprint-form.component';
|
||||
import { TaskFormComponent } from './components/forms/task/task-form.component';
|
||||
import { UserstoryFormComponent } from './components/forms/userstory/userstory-form.component';
|
||||
import { SprintFormComponent } from './components/forms/sprint/sprint-form.component';
|
||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { UserstoryTableComponent } from './components/tabels/userstory/userstory-table.component';
|
||||
import { TaskTableComponent } from './components/tabels/task/task-table.component';
|
||||
|
@ -7,7 +7,7 @@ import {
|
||||
ScrumSprint,
|
||||
} from '../../services/backend.service';
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { SprintFormComponent } from '../sprint-form/sprint-form.component';
|
||||
import { SprintFormComponent } from '../forms/sprint/sprint-form.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-backlog',
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { BackendService } from '../../services/backend.service';
|
||||
import { BackendService } from '../../../services/backend.service';
|
||||
import { NgbActiveModal, NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { SprintFormComponent } from './sprint-form.component';
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Importing necessary components and interfaces.
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { BackendService, ScrumSprint } from '../../services/backend.service';
|
||||
import { BackendService, ScrumSprint } from '../../../services/backend.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-task-form',
|
@ -2,7 +2,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { TaskFormComponent } from './task-form.component';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { BackendService } from '../../services/backend.service';
|
||||
import { BackendService } from '../../../services/backend.service';
|
||||
import { NgbActiveModal, NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
|
||||
describe('TaskFormComponent', () => {
|
@ -10,7 +10,7 @@ import {
|
||||
ScrumUser,
|
||||
ScrumProject,
|
||||
ScrumUserstory
|
||||
} from '../../services/backend.service';
|
||||
} from '../../../services/backend.service';
|
||||
import { Observable } from 'rxjs';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { BackendService } from '../../services/backend.service';
|
||||
import { BackendService } from '../../../services/backend.service';
|
||||
import { NgbActiveModal, NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { UserstoryFormComponent } from './userstory-form.component';
|
||||
|
@ -1,8 +1,7 @@
|
||||
// Importing necessary components and interfaces.
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { BackendService, ScrumUserstory, Priority } from '../../services/backend.service';
|
||||
import { ScrumTask, ScrumStatus, ScrumCategory, ScrumUser, ScrumProject } from '../../services/backend.service';
|
||||
import { BackendService, ScrumUserstory, Priority, ScrumStatus, ScrumCategory, ScrumUser } from '../../../services/backend.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-userstory-form',
|
@ -3,7 +3,7 @@ import { BackendService, ScrumSprint } from '../../../services/backend.service';
|
||||
import { TableComponentBase } from '../table-component.base';
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { ActivatedRoute, ParamMap, Router } from '@angular/router';
|
||||
import { SprintFormComponent } from '../../sprint-form/sprint-form.component';
|
||||
import { SprintFormComponent } from '../../forms/sprint/sprint-form.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-sprint',
|
||||
|
@ -7,7 +7,7 @@ import {
|
||||
ScrumCategory,
|
||||
} from '../../../services/backend.service';
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { TaskFormComponent } from '../../task-form/task-form.component';
|
||||
import { TaskFormComponent } from '../../forms/task/task-form.component';
|
||||
import { TableComponentBase } from '../table-component.base';
|
||||
import { ActivatedRoute, ParamMap, Router } from '@angular/router';
|
||||
import { getNumberForPriority } from '../../../services/sorting.service';
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { TableComponentBase } from '../table-component.base';
|
||||
import { getNumberForPriority } from '../../../services/sorting.service';
|
||||
import { UserstoryFormComponent } from '../../userstory-form/userstory-form.component';
|
||||
import { UserstoryFormComponent } from '../../forms/userstory/userstory-form.component';
|
||||
import { ActivatedRoute, ParamMap, Router } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
|
Loading…
x
Reference in New Issue
Block a user