From 047d52d77fc004727f0523e55a527e6630ac9f83 Mon Sep 17 00:00:00 2001 From: coolbot100s <76798835+coolbot100s@users.noreply.github.com> Date: Wed, 21 Oct 2026 22:13:09 -0700 Subject: [PATCH 01/11] fix: src req now inline with other toggles. --- .../moderation/src/data/issues/license.ts | 33 +++++++++---------- .../moderation/src/data/issues/versions.ts | 6 ++-- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/packages/moderation/src/data/issues/license.ts b/packages/moderation/src/data/issues/license.ts index 62515aa91df..1bd724a8734 100644 --- a/packages/moderation/src/data/issues/license.ts +++ b/packages/moderation/src/data/issues/license.ts @@ -32,31 +32,27 @@ export const licenseNoSourceIssue = issue({ suggestedStatus: 'rejected', }) -export const sourceRequiredSection = section({ +export const sourceRequiredToggle = toggle({ + issue: licenseNoSourceIssue, + label: 'No Source', shown: (ctx) => !ctx.projectV3.minecraft_server && promptSourceRequired(ctx.projectV3.license.id, ctx.projectV3.project_types), +}) + +export const sourceRequiredExtrasSection = section({ + label: 'Additional reason for source requirements?', + shown: (ctx) => ctx.selected.issueIds.includes(licenseNoSourceIssue.id), }).content( toggle({ shown: (ctx) => !ctx.projectV3.minecraft_server, issue: licenseNoSourceIssue, - label: 'No Source', - }), - section({ - label: 'Additional reason for source requirements?', - shown: (ctx) => - !ctx.projectV3.minecraft_server && ctx.selected.issueIds.includes(licenseNoSourceIssue.id), - }).content( - toggle({ - shown: (ctx) => !ctx.projectV3.minecraft_server, - issue: licenseNoSourceIssue, + label: 'No Source: Fork', + id: 'license-fork', + issueCardDisplay: { label: 'No Source: Fork', - id: 'license-fork', - issueCardDisplay: { - label: 'No Source: Fork', - }, - }), - ), + }, + }), ) export const licenseReviewPanel = panel({ @@ -83,5 +79,6 @@ export const licenseReviewPanel = panel({ label: 'Invalid Link: Custom License', }, }), - sourceRequiredSection, + sourceRequiredToggle, + sourceRequiredExtrasSection, ) diff --git a/packages/moderation/src/data/issues/versions.ts b/packages/moderation/src/data/issues/versions.ts index 8d4d1539267..a967be038a9 100644 --- a/packages/moderation/src/data/issues/versions.ts +++ b/packages/moderation/src/data/issues/versions.ts @@ -16,7 +16,7 @@ import unsupportedMessage from '../messages/checklist/messages/versions/unsuppor import vanillaAssetsMessage from '../messages/checklist/messages/versions/vanilla-assets.md' import { issue, panel, section, select, text, toggle } from './component-builders/builders' import { issueLocation } from './component-builders/locations' -import { sourceRequiredSection } from './license' +import { sourceRequiredToggle, sourceRequiredExtrasSection } from './license' export const versionsIncorrectAdditionalFilesIssue = issue({ id: 'versions-incorrect-additional-files', @@ -144,6 +144,8 @@ export const versionsReviewPanel = panel({ issue: metadataDependenciesIssue, label: 'Dependencies', }), + sourceRequiredToggle, + sourceRequiredExtrasSection, section({ shown: (ctx) => ctx.selected.issueIds.includes(versionsIncorrectProjectTypeIssue.id), }).content( @@ -210,6 +212,7 @@ export const versionsReviewPanel = panel({ ], }), ), + section({ shown: (ctx) => ctx.selected.issueIds.includes(versionsUnsupportedIssue.id), }).content( @@ -220,5 +223,4 @@ export const versionsReviewPanel = panel({ required: true, }), ), - sourceRequiredSection, ) From 23341cc7f1f1ba183a0a6891ff7277a70873eb55 Mon Sep 17 00:00:00 2001 From: coolbot100s <76798835+coolbot100s@users.noreply.github.com> Date: Thu, 22 Oct 2026 22:31:40 -0700 Subject: [PATCH 02/11] fix: remove redundant message from library --- packages/moderation/src/data/message-library.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/moderation/src/data/message-library.ts b/packages/moderation/src/data/message-library.ts index 9d4c5d86e59..40c10e8407f 100644 --- a/packages/moderation/src/data/message-library.ts +++ b/packages/moderation/src/data/message-library.ts @@ -81,15 +81,6 @@ export const messageLibrary: readonly MessageLibraryEntry[] = [ shown: ({ project }) => project.status === 'approved', fields: [{ token: '%STATUS%', label: 'What status is the project being set to?' }], }, - { - label: 'Temporary server', - body: temporaryServer, - shown: ({ project }) => - !!project.minecraft_server && - ['aternos', 'minekeep', 'minehut'].some((host) => - project.minecraft_java_server?.address?.includes(host), - ), - }, { label: 'Account issues', body: account }, ] From 0341cd8af46e09ef9bb04aa0815f43e0083bd11f Mon Sep 17 00:00:00 2001 From: tdgao Date: Fri, 23 Oct 2026 19:29:33 -0600 Subject: [PATCH 03/11] fix: queue bar project list tooltips --- .../components/project-review/queue-bar.vue | 13 +++++--- .../project-review/queue-project-list.vue | 30 +++++++++---------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/apps/frontend/src/components/project-review/queue-bar.vue b/apps/frontend/src/components/project-review/queue-bar.vue index 22214445788..1d5c7fbb983 100644 --- a/apps/frontend/src/components/project-review/queue-bar.vue +++ b/apps/frontend/src/components/project-review/queue-bar.vue @@ -74,15 +74,20 @@ :flip="false" theme="tooltip" :distance="4" + panelClass="!p-0" > {{ column.label }} {{ column.count }} @@ -216,9 +221,9 @@ const { } = navigation const disabled = computed(() => busy.value || isLoading.value || !queue.hydrated) +const queueSearches = ref>({ Complete: '', Skipped: '', Remaining: '' }) const queueColumns = computed(() => { const current = queue.currentQueue - const completedIds = new Set(current.completed) const skippedIds = new Set(current.skipped) return [ { @@ -226,7 +231,7 @@ const queueColumns = computed(() => { heading: 'Completed projects', empty: 'No completed projects yet', count: current.completed.length, - projects: current.projectOrder.filter((id) => completedIds.has(id)), + projects: [...current.completed].reverse(), }, { label: 'Skipped', diff --git a/apps/frontend/src/components/project-review/queue-project-list.vue b/apps/frontend/src/components/project-review/queue-project-list.vue index 720be5fc904..de4575a67b4 100644 --- a/apps/frontend/src/components/project-review/queue-project-list.vue +++ b/apps/frontend/src/components/project-review/queue-project-list.vue @@ -1,30 +1,30 @@ @@ -32,7 +32,7 @@ import { injectModrinthClient, Input } from '@modrinth/ui' import { useQuery, useQueryClient } from '@tanstack/vue-query' import { refDebounced, useVirtualList } from '@vueuse/core' -import { computed, onScopeDispose, ref, shallowRef, watch } from 'vue' +import { computed, onScopeDispose, shallowRef, watch } from 'vue' import { type QueueProjectPreview as ProjectPreview, @@ -49,7 +49,7 @@ const props = defineProps<{ const client = injectModrinthClient() const queryClient = useQueryClient() -const search = ref('') +const search = defineModel('search', { default: '' }) const debouncedSearch = refDebounced(search, 250) const projects = shallowRef(new Map()) From 92791ab434e62e45017b940b49bdb8090ce25cf6 Mon Sep 17 00:00:00 2001 From: tdgao Date: Fri, 23 Oct 2026 19:33:20 -0600 Subject: [PATCH 04/11] feat: add setting to sort disclosures by active first --- .../ui/moderation/settings/ModerationSettings.vue | 1 + .../ui/project-settings/disclosures/DisclosureCards.vue | 6 +++++- packages/moderation/src/data/settings.ts | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/components/ui/moderation/settings/ModerationSettings.vue b/apps/frontend/src/components/ui/moderation/settings/ModerationSettings.vue index 1e2d6f31fe1..865b4087bb1 100644 --- a/apps/frontend/src/components/ui/moderation/settings/ModerationSettings.vue +++ b/apps/frontend/src/components/ui/moderation/settings/ModerationSettings.vue @@ -93,6 +93,7 @@ const groups = [ title: messages.appearance, settings: [ general.GalleryColumns, + general.SortDisclosuresByActiveFirst, general.ExpandVersionDetailsByDefault, general.ExpandVersionDependenciesByDefault, general.ExpandVersionChangelogByDefault, diff --git a/apps/frontend/src/components/ui/project-settings/disclosures/DisclosureCards.vue b/apps/frontend/src/components/ui/project-settings/disclosures/DisclosureCards.vue index 8eb1b904db4..c7aa9de083a 100644 --- a/apps/frontend/src/components/ui/project-settings/disclosures/DisclosureCards.vue +++ b/apps/frontend/src/components/ui/project-settings/disclosures/DisclosureCards.vue @@ -1,8 +1,10 @@