-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from juanfranciscocis/WindowsEnviroment
New Features:
- Loading branch information
Showing
26 changed files
with
650 additions
and
231 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/app/pages/incident_manager/incident-postmortem/incident-postmortem-routing.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { Routes, RouterModule } from '@angular/router'; | ||
|
||
import { IncidentPostmortemPage } from './incident-postmortem.page'; | ||
|
||
const routes: Routes = [ | ||
{ | ||
path: '', | ||
component: IncidentPostmortemPage | ||
} | ||
]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(routes)], | ||
exports: [RouterModule], | ||
}) | ||
export class IncidentPostmortemPageRoutingModule {} |
22 changes: 22 additions & 0 deletions
22
src/app/pages/incident_manager/incident-postmortem/incident-postmortem.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { FormsModule } from '@angular/forms'; | ||
|
||
import { IonicModule } from '@ionic/angular'; | ||
|
||
import { IncidentPostmortemPageRoutingModule } from './incident-postmortem-routing.module'; | ||
|
||
import { IncidentPostmortemPage } from './incident-postmortem.page'; | ||
import {ComponentsModule} from "../../../components/components.module"; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
FormsModule, | ||
IonicModule, | ||
IncidentPostmortemPageRoutingModule, | ||
ComponentsModule | ||
], | ||
declarations: [IncidentPostmortemPage] | ||
}) | ||
export class IncidentPostmortemPageModule {} |
62 changes: 62 additions & 0 deletions
62
src/app/pages/incident_manager/incident-postmortem/incident-postmortem.page.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<app-header-return [title]="'Incident Postmortem'" ></app-header-return> | ||
|
||
<ion-content [fullscreen]="true"> | ||
<ion-grid> | ||
<app-title [title]="'Incident Postmortem'"></app-title> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="4" size-lg="4" class=""> | ||
<p>Postmortem for {{ incident.title }}</p> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<ion-card> | ||
<ion-card-content> | ||
|
||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<div class="flex flex-row items-center justify-between w-full"> | ||
<h1 class="text-white text-3xl pb-5">What went wrong?</h1> | ||
<ion-avatar class="h-12 w-12 bg-purple-600 p-2" (click)="sendToAI('wentWrong')"> | ||
<ion-icon class="w-full h-full text-white" name="color-wand"></ion-icon> | ||
</ion-avatar> | ||
</div> | ||
<ion-textarea fill="outline" autoGrow="true" [(ngModel)]="wentWrong" [value]="incident.postmortem?.wentWrong"></ion-textarea> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<div class="flex flex-row items-center justify-between w-full"> | ||
<h1 class="text-white text-3xl pb-5">What can be learned?</h1> | ||
<ion-avatar class="h-12 w-12 bg-purple-600 p-2" (click)="sendToAI('canBeLearned')"> | ||
<ion-icon class="w-full h-full text-white" name="color-wand"></ion-icon> | ||
</ion-avatar> | ||
</div> | ||
<ion-textarea fill="outline" autoGrow="true" [(ngModel)]="canBeLearned" [value]="incident.postmortem?.canBeLearned"></ion-textarea> | ||
</ion-col> | ||
</ion-row> | ||
<ion-row class="lg:m-10 md:m-10"> | ||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<div class="flex flex-row items-center justify-between w-full"> | ||
<h1 class="text-white text-3xl pb-5">How to prevent similar incidents in the future?</h1> | ||
<ion-avatar class="h-12 w-12 bg-purple-600 p-2" (click)="sendToAI('howToPrevent')"> | ||
<ion-icon class="w-full h-full text-white" name="color-wand"></ion-icon> | ||
</ion-avatar> | ||
</div> | ||
<ion-textarea fill="outline" autoGrow="true" [(ngModel)]="howToPrevent" [value]="incident.postmortem?.howToPrevent"></ion-textarea> | ||
</ion-col> | ||
</ion-row> | ||
</ion-card-content> | ||
</ion-card> | ||
</ion-col> | ||
|
||
<ion-col size="12" size-md="12" size-lg="12" class=""> | ||
<ion-card> | ||
<ion-card-content> | ||
<ion-button expand="block" color="danger" (click)="savePostmortem()">Save and Close</ion-button> | ||
</ion-card-content> | ||
</ion-card> | ||
</ion-col> | ||
</ion-row> | ||
</ion-grid> | ||
</ion-content> |
Empty file.
17 changes: 17 additions & 0 deletions
17
src/app/pages/incident_manager/incident-postmortem/incident-postmortem.page.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { IncidentPostmortemPage } from './incident-postmortem.page'; | ||
|
||
describe('IncidentPostmortemPage', () => { | ||
let component: IncidentPostmortemPage; | ||
let fixture: ComponentFixture<IncidentPostmortemPage>; | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(IncidentPostmortemPage); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.