Skip to content

Commit eb656f3

Browse files
committed
add sidebar info & creating for for board, services for board, task-detail-info, archive page
1 parent 6292b79 commit eb656f3

68 files changed

Lines changed: 1445 additions & 440 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/** @format */
2+
3+
export const KanbanIcons = [
4+
{ id: 0, name: "task", value: "task" },
5+
{ id: 1, name: "key", value: "key" },
6+
{ id: 2, name: "command", value: "command" },
7+
{ id: 3, name: "anchor", value: "anchor" },
8+
{ id: 4, name: "in-search", value: "in-search" },
9+
{ id: 5, name: "suitcase", value: "suitcase" },
10+
{ id: 6, name: "person", value: "person" },
11+
{ id: 7, name: "deadline", value: "deadline" },
12+
{ id: 8, name: "main", value: "main" },
13+
{ id: 9, name: "attach", value: "attach" },
14+
{ id: 10, name: "send", value: "send" },
15+
{ id: 11, name: "contacts", value: "contacts" },
16+
{ id: 12, name: "graph", value: "graph" },
17+
{ id: 13, name: "phone", value: "phone" },
18+
{ id: 14, name: "people-bold", value: "people-bold" },
19+
];
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/** @format */
2+
3+
export const QuickAnswers = [
4+
{
5+
id: 1,
6+
title: "у работы нет результата",
7+
},
8+
{
9+
id: 2,
10+
title: "задача была нереальной",
11+
},
12+
{
13+
id: 3,
14+
title: "нет ссылок",
15+
},
16+
{
17+
id: 4,
18+
title: "результат плохо выполнен",
19+
},
20+
{
21+
id: 5,
22+
title: "результат требует доработок",
23+
},
24+
];

projects/core/src/consts/lists/tag-colots.list.const.ts renamed to projects/core/src/consts/other/tag-colors.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @format */
22

3-
export const tagColorsList = [
3+
export const tagColors = [
44
{
55
id: 1,
66
name: "accent",

projects/core/src/consts/lists/trajectory-more-list.const.ts renamed to projects/core/src/consts/other/trajectory-more.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @format */
22

3-
export const trajectoryMoreList = [
3+
export const trajectoryMore = [
44
{
55
label: "Работа с наставником",
66
},

projects/skills/src/app/trajectories/track-career/shared/trajectory/trajectory.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { Trajectory } from "projects/skills/src/models/trajectory.model";
2424
import { HttpErrorResponse } from "@angular/common/http";
2525
import { BreakpointObserver } from "@angular/cdk/layout";
2626
import { map, Observable } from "rxjs";
27-
import { trajectoryMoreList } from "projects/core/src/consts/lists/trajectory-more-list.const";
27+
import { trajectoryMoreList } from "projects/core/src/consts/other/trajectory-more.const";
2828

2929
/**
3030
* Компонент отображения карточки траектории

projects/social_platform/src/app/office/features/detail/detail.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export class DeatilComponent implements OnInit, OnDestroy {
426426
this.isProjectWorkSectionPage = currentUrl.includes("/work-section");
427427

428428
this.isGantDiagramPage = currentUrl.includes("/gant-diagram");
429-
this.isKanbanBoardPage = currentUrl.includes("/kanban-board");
429+
this.isKanbanBoardPage = currentUrl.includes("/kanban");
430430
}
431431

432432
private initializeInfo() {

projects/social_platform/src/app/office/models/tag.model.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@
33
export class Tag {
44
id!: number;
55
name!: string;
6-
color!: string;
6+
color!:
7+
| "primary"
8+
| "secondary"
9+
| "accent"
10+
| "accent-medium"
11+
| "blue-dark"
12+
| "cyan"
13+
| "red"
14+
| "complete"
15+
| "complete-dark"
16+
| "soft";
717
}

projects/social_platform/src/app/office/projects/detail/detail.routes.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { ProjectTeamComponent } from "./team/team.component";
1313
import { ProjectVacanciesComponent } from "./vacancies/vacancies.component";
1414
import { DeatilComponent } from "@office/features/detail/detail.component";
1515
import { ProjectWorkSectionComponent } from "./work-section/work-section.component";
16-
import { KanbanBoardResolver } from "./kanban-board/kanban-board.resolver";
17-
import { KanbanBoardComponent } from "./kanban-board/kanban-board.component";
18-
import { KanbanBoardGuard } from "./kanban-board/kanban-board.guard";
16+
import { KanbanBoardResolver } from "./kanban/kanban.resolver";
17+
import { KanbanBoardGuard } from "./kanban/kanban.guard";
18+
import { KanbanComponent } from "./kanban/kanban.component";
1919

2020
/**
2121
* Конфигурация маршрутов для детального просмотра проекта
@@ -70,12 +70,13 @@ export const PROJECT_DETAIL_ROUTES: Routes = [
7070
},
7171
},
7272
{
73-
path: "kanban-board",
73+
path: "kanban",
7474
canActivate: [KanbanBoardGuard],
75-
component: KanbanBoardComponent,
75+
component: KanbanComponent,
7676
resolve: {
7777
data: KanbanBoardResolver,
7878
},
79+
loadChildren: () => import("./kanban/kanban.routes").then(c => c.KANBAN_ROUTES),
7980
},
8081
{
8182
path: "chat",

projects/social_platform/src/app/office/projects/detail/kanban-board/kanban-board.component.html

Lines changed: 0 additions & 117 deletions
This file was deleted.

projects/social_platform/src/app/office/projects/detail/kanban-board/models/board.model.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)