From 10d03ea0c7c69e4bd8d190ecf95ce8a0e07c78b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Danyi?= Date: Fri, 27 Apr 2018 18:42:50 +0200 Subject: [PATCH] * kanban column configuration added to team editor --- .../team-editor/team-editor.component.html | 73 ++++++++++++++++++- src/app/shared/kanban-column.ts | 5 ++ src/app/shared/team.ts | 6 ++ 3 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 src/app/shared/kanban-column.ts diff --git a/src/app/admin/team-editor/team-editor.component.html b/src/app/admin/team-editor/team-editor.component.html index e2b057b..0a30e27 100644 --- a/src/app/admin/team-editor/team-editor.component.html +++ b/src/app/admin/team-editor/team-editor.component.html @@ -1,10 +1,77 @@

Team editor

-
- - +
+
+ + +
+
+ + +
+
1st column
+
+
+ +
+
+ +
+
+ +
+
+
2nd column
+
+
+ +
+
+ +
+
+ +
+
+
3rd column
+
+
+ +
+
+ +
+
+ +
+
+
4th column
+
+
+ +
+
+ +
+
+ +
+
+
diff --git a/src/app/shared/kanban-column.ts b/src/app/shared/kanban-column.ts new file mode 100644 index 0000000..2ff9d1d --- /dev/null +++ b/src/app/shared/kanban-column.ts @@ -0,0 +1,5 @@ +export class KanbanColumn { + jiraStatusName = ''; + label = ''; + wipLimit = 0; +} diff --git a/src/app/shared/team.ts b/src/app/shared/team.ts index 8664a5d..72dc8a6 100644 --- a/src/app/shared/team.ts +++ b/src/app/shared/team.ts @@ -1,9 +1,15 @@ import { Member } from './member'; +import { KanbanColumn } from './kanban-column'; export class Team { id: number = null; name: String = ''; members: Array = []; + filterId: number; + backlogColumn: KanbanColumn = new KanbanColumn(); + inprogressColumn: KanbanColumn = new KanbanColumn(); + verificationColumn: KanbanColumn = new KanbanColumn(); + doneColumn: KanbanColumn = new KanbanColumn(); isActive = false; createdAt: String = null; updatedAt: String = null;