@@ -606,9 +606,9 @@ export default {
}
},
- editTitle() {
- // emit an event to edit the task title
- emit('tasks:edit-appsidebar-title', true)
+ editSummary() {
+ // emit an event to edit the task summary
+ emit('tasks:edit-appsidebar-summary', true)
},
async openSubtaskInput() {
@@ -713,7 +713,7 @@ $breakpoint-mobile: 1024px;
&--closed .task-item__body .task-body__info {
opacity: .6;
- .title {
+ .summary {
text-decoration: line-through;
}
}
@@ -723,7 +723,7 @@ $breakpoint-mobile: 1024px;
}
&--non-started {
- .title {
+ .summary {
color: var(--color-text-maxcontrast);
}
@@ -831,7 +831,7 @@ $breakpoint-mobile: 1024px;
position: relative;
white-space: nowrap;
- .title {
+ .summary {
cursor: text;
display: inline-flex;
padding: 10px 10px 10px 0;
diff --git a/src/components/TaskCreateDialog.vue b/src/components/TaskCreateDialog.vue
index f5a5ad36b..38fbe0795 100644
--- a/src/components/TaskCreateDialog.vue
+++ b/src/components/TaskCreateDialog.vue
@@ -40,7 +40,7 @@ License along with this library. If not, see
-
@@ -116,7 +116,7 @@ export default {
ViewHeadline,
},
props: {
- title: {
+ summary: {
type: String,
default: '',
},
@@ -128,7 +128,7 @@ export default {
emits: ['close'],
data() {
return {
- pendingTitle: '',
+ pendingSummary: '',
pendingDescription: '',
pendingCalendar: null,
loading: true,
@@ -144,7 +144,7 @@ export default {
defaultCalendar: 'getDefaultCalendar',
}),
createdMessage() {
- return t('tasks', '"{task}" was added to "{calendar}"', { task: this.pendingTitle, calendar: this.pendingCalendar.displayName }, undefined, { sanitize: false, escape: false })
+ return t('tasks', '"{task}" was added to "{calendar}"', { task: this.pendingSummary, calendar: this.pendingCalendar.displayName }, undefined, { sanitize: false, escape: false })
},
},
@@ -153,7 +153,7 @@ export default {
},
mounted() {
- this.pendingTitle = this.title
+ this.pendingSummary = this.summary
this.pendingDescription = this.description
},
@@ -186,7 +186,7 @@ export default {
async addTask() {
this.creating = true
const task = {
- summary: this.pendingTitle,
+ summary: this.pendingSummary,
note: this.pendingDescription,
calendar: this.pendingCalendar,
}
diff --git a/src/talk.js b/src/talk.js
index 16b7daadc..a4630cbd9 100644
--- a/src/talk.js
+++ b/src/talk.js
@@ -81,7 +81,7 @@ window.addEventListener('DOMContentLoaded', () => {
const shortenedMessage = shortenedMessageCandidate === '' ? parsedMessage.substr(0, 255) : shortenedMessageCandidate
try {
await buildSelector(TaskCreateDialog, {
- title: shortenedMessage,
+ summary: shortenedMessage,
description: parsedMessage + '\n\n' + '['
+ t('tasks', 'Message from {author} in {conversationName}', { author: actorDisplayName, conversationName })
+ '](' + generateUrl('/call/' + conversationToken) + ')',
diff --git a/src/views/AppContent/Calendar.vue b/src/views/AppContent/Calendar.vue
index e9121d40e..e93e75cc5 100644
--- a/src/views/AppContent/Calendar.vue
+++ b/src/views/AppContent/Calendar.vue
@@ -31,7 +31,7 @@ License along with this library. If not, see
.
:disabled="calendar.readOnly"
collection-id="uncompleted" />
- {{ closedCountString }}
+ {{ closedCountString }}
.
class="grouped-tasks ui-droppable">
- {{ calendar.displayName }}
+ {{ calendar.displayName }}
.
:day="day.diff"
class="grouped-tasks ui-droppable">
- {{ dayString(day.diff) }}
+ {{ dayString(day.diff) }}
.
-->
-
- .
-
-
+ .
-
+
.
+ @click="editSummary(true)">
- {{ t('tasks', 'Edit title') }}
+ {{ t('tasks', 'Edit summary') }}
@@ -234,7 +234,7 @@ License along with this library. If not, see .