Skip to content

Commit

Permalink
feat: add new task due card
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerenzella committed Sep 30, 2022
1 parent 33e6095 commit 3ade5ea
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/doubtfire-angular.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ import { TransitionHooksService } from './sessions/transition-hooks.service';
import { EditProfileComponent } from './account/edit-profile/edit-profile.component';
import { UserBadgeComponent } from './common/user-badge/user-badge.component';
import { TaskStatusCardComponent } from './projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component';
import { TaskDueCardComponent } from './projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component';

@NgModule({
// Components we declare
Expand Down Expand Up @@ -241,6 +242,7 @@ import { TaskStatusCardComponent } from './projects/states/dashboard/directives/
EditProfileComponent,
UserBadgeComponent,
TaskStatusCardComponent,
TaskDueCardComponent,
],
// Module Imports
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>task-due-card works!</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { TaskDueCardComponent } from './task-due-card.component';

describe('TaskDueCardComponent', () => {
let component: TaskDueCardComponent;
let fixture: ComponentFixture<TaskDueCardComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ TaskDueCardComponent ]
})
.compileComponents();

fixture = TestBed.createComponent(TaskDueCardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'f-task-due-card',
templateUrl: './task-due-card.component.html',
styleUrls: ['./task-due-card.component.scss']
})
export class TaskDueCardComponent implements OnInit {

constructor() { }

ngOnInit(): void {
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ task-dashboard {
margin-bottom: 15px;
}
}
.panel-body.has-pdf {
// overflow: hidden;
}
@media (min-width: $screen-xs) {
.panel-footer {
padding: 0;
Expand Down

0 comments on commit 3ade5ea

Please sign in to comment.