diff --git a/NUXT/components/Comments/commentThreadRenderer.vue b/NUXT/components/Comments/commentThreadRenderer.vue index 7381804..8079cf0 100644 --- a/NUXT/components/Comments/commentThreadRenderer.vue +++ b/NUXT/components/Comments/commentThreadRenderer.vue @@ -1,12 +1,22 @@ - + + +
+ + @@ -46,6 +60,7 @@ import dialogBase from "~/components/dialogBase.vue"; import commentsHeaderRenderer from "~/components/Comments/commentsHeaderRenderer.vue"; import commentThreadRenderer from "~/components/Comments/commentThreadRenderer.vue"; import continuationItemRenderer from "~/components/observer.vue"; +import mainCommentReplyRenderer from "~/components/Comments/mainCommentReplyRenderer.vue"; export default { props: ["defaultContinuation", "commentData", "showComments"], @@ -60,12 +75,15 @@ export default { commentsHeaderRenderer, commentThreadRenderer, continuationItemRenderer, + mainCommentReplyRenderer, }, data: () => ({ loading: true, comments: [], continuation: null, + showReply: false, + replyData: {}, }), mounted() { @@ -124,6 +142,11 @@ export default { return newContinuation; }, + + openReply(event) { + this.showReply = true; + this.replyData = { parent: event, replyContinuation: null }; + }, }, }; diff --git a/NUXT/components/Comments/mainCommentReplyRenderer.vue b/NUXT/components/Comments/mainCommentReplyRenderer.vue new file mode 100644 index 0000000..115315f --- /dev/null +++ b/NUXT/components/Comments/mainCommentReplyRenderer.vue @@ -0,0 +1,48 @@ + + + diff --git a/NUXT/components/CompactRenderers/compactChannelRenderer.vue b/NUXT/components/CompactRenderers/compactChannelRenderer.vue index 1afdda0..643b968 100644 --- a/NUXT/components/CompactRenderers/compactChannelRenderer.vue +++ b/NUXT/components/CompactRenderers/compactChannelRenderer.vue @@ -1,15 +1,28 @@ + + - - diff --git a/NUXT/components/ListRenderers/horizontalListRenderer.vue b/NUXT/components/ListRenderers/horizontalListRenderer.vue index d0ac32c..5e54c3b 100644 --- a/NUXT/components/ListRenderers/horizontalListRenderer.vue +++ b/NUXT/components/ListRenderers/horizontalListRenderer.vue @@ -3,7 +3,7 @@ diff --git a/NUXT/components/ListRenderers/verticalListRenderer.vue b/NUXT/components/ListRenderers/verticalListRenderer.vue index ae02ec5..6abfc24 100644 --- a/NUXT/components/ListRenderers/verticalListRenderer.vue +++ b/NUXT/components/ListRenderers/verticalListRenderer.vue @@ -1,13 +1,13 @@