BigW Consortium Gitlab

Commit 5fb98734 by Regis

use more subtle datetime and title change for timeagoEl - use SCSS variable for timing on animation

parent 0c46b3b8
...@@ -70,8 +70,6 @@ export default { ...@@ -70,8 +70,6 @@ export default {
this.tasks = this.apiData.task_status; this.tasks = this.apiData.task_status;
this.descriptionFlag = { pre: true, pulse: false }; this.descriptionFlag = { pre: true, pulse: false };
} }
return { noTitleChange, noDescriptionChange };
}, },
setTabTitle() { setTabTitle() {
const currentTabTitleScope = this.titleEl.innerText.split('·'); const currentTabTitleScope = this.titleEl.innerText.split('·');
...@@ -109,9 +107,8 @@ export default { ...@@ -109,9 +107,8 @@ export default {
}, },
updateEditedTimeAgo() { updateEditedTimeAgo() {
const toolTipTime = gl.utils.formatDate(this.apiData.updated_at); const toolTipTime = gl.utils.formatDate(this.apiData.updated_at);
this.timeAgoEl.attr('datetime', this.apiData.updated_at); this.timeAgoEl.attr('datetime', this.apiData.updated_at);
this.timeAgoEl.attr('data-original-title', toolTipTime); this.timeAgoEl.attr('title', toolTipTime).tooltip('fixTitle');
}, },
}, },
computed: { computed: {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} }
.issue-realtime-trigger-pulse { .issue-realtime-trigger-pulse {
transition: opacity 0.2s ease; transition: opacity $fade-in-duration linear;
opacity: 1; opacity: 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment