DEV: Nuke plugin related code from core (#20928)

Plugin related code should be not polluting core's code base.
This commit is contained in:
Alan Guo Xiang Tan 2023-04-04 07:33:31 +08:00 committed by GitHub
parent e54359c135
commit b82cd6c148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 13 deletions

View File

@ -68,12 +68,7 @@
{{/if}}
</div>
{{#if
(or
(eq this.reviewable.type "ReviewableFlaggedPost")
(eq this.reviewable.type "ReviewableChatMessage")
)
}}
{{#if (eq this.reviewable.type "ReviewableFlaggedPost")}}
{{#if (eq this.reviewable.status 0)}}
<h3 class="reviewable-item__context-question">
{{this.reviewable.flaggedPostContextQuestion}}

View File

@ -25,7 +25,6 @@ export default {
custom_fields: {},
muted_category_ids: [],
dismissed_banner_key: null,
akismet_review_count: 0,
can_review: true,
ignored_users: [],
groups: [

View File

@ -232,12 +232,7 @@
color: var(--secondary);
border-radius: 8px;
background-color: var(--secondary-high);
&.-flagged-post,
&.-flagged-chat-message,
&.-akismet-flagged-post,
&.-akismet-flagged-user,
&.-ai-flagged-post,
&.-ai-flagged-chat-message {
&.-flagged-post {
background-color: var(--danger-medium);
}
&.-queued-post,