diff --git a/src/changelog.js b/src/changelog.js index 6f06b9e..38584f5 100644 --- a/src/changelog.js +++ b/src/changelog.js @@ -1,4 +1,21 @@ const config = [ + { + title: 'Typing Indicator', + shortTitle: 'Typing Indicator', + date: '08/02/2019', + new: [ + 'See who\'s typing with the new typing indicator!', + 'Online and offline friends now have their own category.', + 'Timestamps for each message.' + ], + fix: [ + 'Some bugs with the message list scrolling.', + 'Added some margin and padding to some places.' + ], + next: [ + 'Message notifications.', + ] + }, { title: 'Avatar', shortTitle: 'Avatar', diff --git a/src/components/app/LeftPanel.vue b/src/components/app/LeftPanel.vue index c033296..74a7c97 100644 --- a/src/components/app/LeftPanel.vue +++ b/src/components/app/LeftPanel.vue @@ -1,11 +1,19 @@ @@ -17,13 +25,20 @@ import PendingFriends from './relationships/PendingFriends.vue' import AddFriendPanel from './relationships/AddFriendPanel.vue' import OnlineFriends from './relationships/OnlineFriends.vue' import OfflineFriends from './relationships/OfflineFriends.vue' +import RecentFriends from './relationships/RecentFriends.vue' export default { components: { MyMiniInformation, PendingFriends, AddFriendPanel, OnlineFriends, - OfflineFriends + OfflineFriends, + RecentFriends + }, + data() { + return { + isFriendsTab: true + } } } @@ -35,7 +50,8 @@ export default { width: 300px; flex-shrink: 0; display: flex; - flex-direction: column + flex-direction: column; + z-index: 1; } .list{ margin: 10px; @@ -43,6 +59,39 @@ export default { overflow: auto; } +.tabs{ + display: flex; + color: white; + flex-shrink: 0; + margin-top: 20px; + position: relative; +} +.tab{ + flex: 1; + text-align: center; + margin: auto; + flex-shrink: 0; + user-select: none; + cursor: default; + padding: 10px; + background: rgba(0, 0, 0, 0.171); + margin-left: 1px; + margin-right: 1px; +} +.selector { + background: rgba(255, 255, 255, 0.137); + width: 148px; + height: 39px; + top: 0; + left: 1px; + position: absolute; + z-index: -1; + transition: 0.3s; +} +.right{ + left: 151px; +} + /* ------- SCROLL BAR -------*/ /* width */ .list::-webkit-scrollbar { diff --git a/src/components/app/MessageTemplate.vue b/src/components/app/MessageTemplate.vue index b1e481f..54d06b1 100644 --- a/src/components/app/MessageTemplate.vue +++ b/src/components/app/MessageTemplate.vue @@ -1,11 +1,14 @@