From 72bbf32e73090bc7d0ffdaff8041a02a008f2f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Thu, 22 Nov 2018 17:04:57 +0100 Subject: [PATCH] Improve Taskboard UX. Issues block separation --- app/locales/taiga/locale-en.json | 2 +- app/partials/includes/components/sprint-summary.jade | 1 - app/styles/modules/backlog/taskboard-table.scss | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/locales/taiga/locale-en.json b/app/locales/taiga/locale-en.json index a5470cf1..a1befc6f 100644 --- a/app/locales/taiga/locale-en.json +++ b/app/locales/taiga/locale-en.json @@ -1409,7 +1409,7 @@ "WARNING_ISSUES_NOT_MOVED_TITLE": "You just moved all user stories and taks, and the sprint'll be closed", "WARNING_ISSUES_NOT_MOVED": "The issues'll remain in the sprint and don't be removed", "WARNING_SPRINT_STILL_OPEN_TITLE": "{total, plural, one{You just moved # item!} other{You just moved # items!}}", - "WARNING_SPRINT_STILL_OPEN": "Please note that the sprint {{sprintName}} will remain open as long as it contains unfinished items." + "WARNING_SPRINT_STILL_OPEN": "Please note that the sprint {{sprintName}} will remain open as long as it contains unfinished items." } }, "TASK": { diff --git a/app/partials/includes/components/sprint-summary.jade b/app/partials/includes/components/sprint-summary.jade index 7b41edd4..ddba4618 100644 --- a/app/partials/includes/components/sprint-summary.jade +++ b/app/partials/includes/components/sprint-summary.jade @@ -16,7 +16,6 @@ div.summary.large-summary span.description(translate="BACKLOG.SPRINT_SUMMARY.COMPLETED_POINTS") div.summary-stats.summary-open-tasks - tg-svg(svg-icon="icon-bulk") span.number(ng-bind="stats.openTasks|default:'--'") span.description(translate="BACKLOG.SPRINT_SUMMARY.OPEN_TASKS") div.summary-stats.summary-closed-tasks diff --git a/app/styles/modules/backlog/taskboard-table.scss b/app/styles/modules/backlog/taskboard-table.scss index 20e303c4..562c405d 100644 --- a/app/styles/modules/backlog/taskboard-table.scss +++ b/app/styles/modules/backlog/taskboard-table.scss @@ -178,9 +178,11 @@ $column-padding: .5rem 1rem; } } &.issues-row { + margin-top: 1em; .taskboard-cards-box { align-content: flex-start; align-items: flex-start; + border-top: 3px solid $gray-light; display: flex; flex-direction: row; flex-wrap: wrap; @@ -205,6 +207,7 @@ $column-padding: .5rem 1rem; .card { cursor: default; height: auto; + margin: .3rem .1rem .3rem .5rem; } } &.issues-row:not(.row-fold) {