feat: show checklist summary on kanban cards

This commit is contained in:
kolaente 2021-10-04 22:05:40 +02:00
parent 813982e833
commit 99fb78dbd4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 11 additions and 3 deletions

View file

@ -51,6 +51,7 @@
v-for="u in task.assignees"
/>
</div>
<checklist-summary :task="task"/>
<span class="icon" v-if="task.attachments.length > 0">
<icon icon="paperclip"/>
</span>
@ -66,10 +67,12 @@ import {playPop} from '../../../helpers/playPop'
import PriorityLabel from '../../../components/tasks/partials/priorityLabel'
import User from '../../../components/misc/user'
import Labels from '../../../components/tasks/partials/labels'
import ChecklistSummary from './checklist-summary'
export default {
name: 'kanban-card',
components: {
ChecklistSummary,
PriorityLabel,
User,
Labels,

View file

@ -117,12 +117,17 @@ $filter-container-height: '1rem - #{$switch-view-height}';
display: flex;
flex-wrap: wrap;
align-items: center;
margin-top: .25rem;
.tag, .assignees, .icon, .priority-label {
margin-top: .25rem;
.tag, .assignees, .icon, .priority-label, .checklist-summary {
margin-top: 0;
margin-right: .25rem;
}
.checklist-summary {
padding-left: 0;
}
.assignees {
display: flex;
@ -142,7 +147,7 @@ $filter-container-height: '1rem - #{$switch-view-height}';
.priority-label {
font-size: .75rem;
height: 2rem;
height: 1.5rem;
.icon {
height: 1rem;