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

This commit is contained in:
Regis 2017-05-04 15:18:59 -06:00
parent 0c46b3b8ad
commit 5fb98734d5
2 changed files with 2 additions and 5 deletions

View File

@ -70,8 +70,6 @@ export default {
this.tasks = this.apiData.task_status;
this.descriptionFlag = { pre: true, pulse: false };
}
return { noTitleChange, noDescriptionChange };
},
setTabTitle() {
const currentTabTitleScope = this.titleEl.innerText.split('·');
@ -109,9 +107,8 @@ export default {
},
updateEditedTimeAgo() {
const toolTipTime = gl.utils.formatDate(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: {

View File

@ -23,7 +23,7 @@
}
.issue-realtime-trigger-pulse {
transition: opacity 0.2s ease;
transition: opacity $fade-in-duration linear;
opacity: 1;
}