File tree Expand file tree Collapse file tree 5 files changed +26
-13
lines changed
Expand file tree Collapse file tree 5 files changed +26
-13
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export const TaskTypeIcons = {
5454 [ TaskType . BUG ] : 'assets/images/tasks/bug.svg' ,
5555 [ TaskType . TASK ] : 'assets/images/tasks/task.svg' ,
5656 [ TaskType . STORY ] : 'assets/images/tasks/story.svg' ,
57+ [ TaskType . SWIMLANE ] : 'assets/images/tasks/story.svg' ,
5758} ;
5859
5960export interface MixTaskNew {
Original file line number Diff line number Diff line change 66 >
77 {{ TaskStatusDisplay[status] }}
88 </ div >
9+
10+ < div class ="add-btn ">
11+ < mix-icon-button name ="add "> </ mix-icon-button >
12+ </ div >
913</ div >
Original file line number Diff line number Diff line change 1313 border-left : 6px solid var (--color );
1414 border-radius : 0.125rem ;
1515 }
16+
17+ .add-btn {
18+ background-color : var (--task-list-bg );
19+ border-radius : 0.125rem ;
20+ width : 60px ;
21+ display : flex ;
22+ justify-content : center ;
23+ align-items : center ;
24+ }
1625}
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ import {
55 TaskStatusColors ,
66 TaskStatusDisplay ,
77} from '@mixcore/lib/model' ;
8+ import { MixIconButtonComponent } from '@mixcore/ui/icon-button' ;
89
910@Component ( {
1011 selector : 'mix-task-header' ,
1112 standalone : true ,
12- imports : [ CommonModule ] ,
13+ imports : [ CommonModule , MixIconButtonComponent ] ,
1314 templateUrl : './task-header.component.html' ,
1415 styleUrls : [ './task-header.component.scss' ] ,
1516} )
Original file line number Diff line number Diff line change 1- < button class ="mix-button "
2- type ="button "
3- [appearance] ="'icon' "
4- [disabled] ="loading || disabled "
5- [showLoader] ="loading "
6- [size] ="size "
7- tuiButton >
8- <!-- <span class="material-symbols-outlined">
9- {{ name }}
10- </span> -->
11-
12- < span class ="material-symbols-outlined ">
1+ < button
2+ class ="mix-button "
3+ type ="button "
4+ [appearance] ="'icon' "
5+ [disabled] ="loading || disabled "
6+ [showLoader] ="loading "
7+ [size] ="size "
8+ tuiButton
9+ >
10+ < span class ="mix-icon ">
1311 {{ name }}
1412 </ span >
1513</ button >
You can’t perform that action at this time.
0 commit comments