diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.css b/src/renderer/components/watch-video-comments/watch-video-comments.css index d821bd7cd2ba8..c6e6a11fbb625 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.css +++ b/src/renderer/components/watch-video-comments/watch-video-comments.css @@ -117,6 +117,15 @@ height: 14px; } +.commentSubscribedIcon { + content: var(--logo-icon); + height: 14px; + width: 14px; + vertical-align: middle; + margin-left: 0.25em; + margin-right: 0.25em; +} + .commentLikeCount { font-size: 11px; margin-left: 70px; diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.js b/src/renderer/components/watch-video-comments/watch-video-comments.js index 00aef08c0c083..4099b1286250f 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.js +++ b/src/renderer/components/watch-video-comments/watch-video-comments.js @@ -117,6 +117,10 @@ export default defineComponent({ canPerformMoreCommentLoading: function () { return this.commentData.length > 0 && !this.isLoading && this.showComments && this.nextPageToken }, + + subscriptions: function() { + return this.$store.getters.getActiveProfile.subscriptions + } }, mounted: function () { // region No comment detection diff --git a/src/renderer/components/watch-video-comments/watch-video-comments.vue b/src/renderer/components/watch-video-comments/watch-video-comments.vue index 7eac90e7c80d8..071fc1e80c30a 100644 --- a/src/renderer/components/watch-video-comments/watch-video-comments.vue +++ b/src/renderer/components/watch-video-comments/watch-video-comments.vue @@ -107,6 +107,13 @@ class="commentMemberIcon" alt="" > + {{ comment.time }} @@ -209,6 +216,13 @@ class="commentMemberIcon" alt="" > + {{ reply.time }} diff --git a/src/renderer/helpers/api/local.js b/src/renderer/helpers/api/local.js index 12be58023e547..95fdf4afbcc38 100644 --- a/src/renderer/helpers/api/local.js +++ b/src/renderer/helpers/api/local.js @@ -789,6 +789,7 @@ export function parseLocalComment(comment, commentThread = undefined) { dataType: 'local', authorLink: comment.author.id, author: comment.author.name, + authorId: comment.author.id, authorThumb: comment.author.best_thumbnail.url, isPinned: comment.is_pinned, isOwner: comment.author_is_channel_owner, diff --git a/static/locales/en-US.yaml b/static/locales/en-US.yaml index 52b4f1595c7b9..ee44b7c8ba163 100644 --- a/static/locales/en-US.yaml +++ b/static/locales/en-US.yaml @@ -808,6 +808,7 @@ Comments: No more comments available: No more comments available Pinned by: Pinned by Member: Member + Subscribed: Subscribed Hearted: Hearted Up Next: Up Next