logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 9421501c1e871129b11c42a672b12b70b0db4c4a
parent 5834790d0b38d487e314e8419509d162abbd6a80
Author: Henry Jameson <me@hjkos.com>
Date:   Fri, 11 Jun 2021 11:52:50 +0300

lint & cleanup

Diffstat:

Msrc/components/rich_content/rich_content.jsx4----
Msrc/components/status/status.vue16++++++++--------
Msrc/components/status_body/status_body.vue4+---
3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx @@ -320,7 +320,3 @@ export const preProcessPerLine = (html, greentext) => { return { newHtml, lastMentions } } - -export const getHeadTailLinks = (html) => { - // Exported object properties -} diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -222,15 +222,15 @@ </span> </div> <div - class="heading-reply-row" v-if="isReply || hasMentionsLine" - > + class="heading-reply-row" + > <span - class="glued-label" v-if="isReply" + class="glued-label" > <StatusPopover - v-if="!isPreview" + v-if="!isPreview" :status-id="status.parent_visible && status.in_reply_to_status_id" class="reply-to-popover" style="min-width: 0" @@ -301,6 +301,7 @@ </div> <StatusContent + ref="content" :status="status" :no-heading="noHeading" :highlight="highlight" @@ -309,23 +310,22 @@ @mediaplay="addMediaPlaying($event)" @mediapause="removeMediaPlaying($event)" @parseReady="setHeadTailLinks" - ref="content" /> <div v-if="inConversation && !isPreview && replies && replies.length" class="replies" - > + > <span class="faint">{{ $t('status.replies_list') }}</span> <StatusPopover v-for="reply in replies" :key="reply.id" :status-id="reply.id" - > + > <button class="button-unstyled -link reply-link" @click.prevent="gotoOriginal(reply.id)" - > + > {{ reply.name }} </button> </StatusPopover> diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue @@ -52,9 +52,7 @@ :hide-mentions="hideMentions" :greentext="mergedConfig.greentext" @parseReady="setHeadTailLinks" - ref="text" - > - </RichContent> + /> <MentionsLine v-if="!hideMentions && lastMentions.length > 0 && firstMentions.length === 0" :mentions="lastMentions"