Files
pages/packages/moderation/src/data/tech-review-quick-replies.ts
Calum H. a869086ce9 polish(frontend): technical review QA (#5097)
* feat: filtering + sorting alignment

* polish: malicious summary modal changes

* feat: better filter row using floating panel

* fix: re-enable request

* fix: lint

* polish: jump back to files tab qol

* feat: scroll to top of next card when done

* fix: show lock icon on preview msg

* feat: download no _blank

* feat: show also marked in notif

* feat: auto expand if only one class in the file

* feat: proper page titles

* fix: text-contrast typo

* fix: lint

* feat: QA changes

* feat: individual report page + more qa

* fix: back btn

* fix: broken import

* feat: quick reply msgs

* fix: in other queue filter

* fix: caching threads wrongly

* fix: flag filter

* feat: toggle enabled by default

* fix: dont make btns opacity 50

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2026-01-20 19:56:24 +00:00

38 lines
1.1 KiB
TypeScript

import type { Labrinth } from '@modrinth/api-client'
import type { QuickReply } from '../types/quick-reply'
export interface TechReviewContext {
project: Labrinth.Projects.v3.Project
project_owner: Labrinth.TechReview.Internal.Ownership
reports: Labrinth.TechReview.Internal.FileReport[]
}
export default [
{
label: '⚠️ Unclear/Misleading',
message: async () => (await import('./messages/tech-review/unclear-misleading.md?raw')).default,
private: false,
},
{
label: '📝 Request Source',
message: async () => (await import('./messages/tech-review/request-source.md?raw')).default,
private: false,
},
{
label: '🔒 Request Source (Obf)',
message: async () => (await import('./messages/tech-review/request-source-obf.md?raw')).default,
private: false,
},
{
label: '📦 Request Source (Bin)',
message: async () => (await import('./messages/tech-review/request-source-bin.md?raw')).default,
private: false,
},
{
label: '🚫 Malware',
message: async () => (await import('./messages/tech-review/malware.md?raw')).default,
private: false,
},
] as ReadonlyArray<QuickReply<TechReviewContext>>