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}} {{/if}}
</div> </div>
{{#if {{#if (eq this.reviewable.type "ReviewableFlaggedPost")}}
(or
(eq this.reviewable.type "ReviewableFlaggedPost")
(eq this.reviewable.type "ReviewableChatMessage")
)
}}
{{#if (eq this.reviewable.status 0)}} {{#if (eq this.reviewable.status 0)}}
<h3 class="reviewable-item__context-question"> <h3 class="reviewable-item__context-question">
{{this.reviewable.flaggedPostContextQuestion}} {{this.reviewable.flaggedPostContextQuestion}}

View File

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

View File

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