mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
feat: global trace database frontend + improvements to tech review status sync (#6671)
* wip * ui edits * better logic for syncing tech review state in a single centralized place * never automatically finish a tech review report * fix css * fix clippy * prepr
This commit is contained in:
@@ -1833,6 +1833,19 @@ export namespace Labrinth {
|
||||
new_status: Projects.v2.ProjectStatus
|
||||
old_status: Projects.v2.ProjectStatus
|
||||
}
|
||||
| {
|
||||
type: 'tech_review'
|
||||
verdict: 'safe' | 'unsafe'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_entered'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_exited'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_exit_file_deleted'
|
||||
}
|
||||
| {
|
||||
type: 'thread_closure'
|
||||
}
|
||||
@@ -2234,7 +2247,7 @@ export namespace Labrinth {
|
||||
|
||||
export type UpdateGlobalIssueRequest = {
|
||||
detail_key: string
|
||||
verdict: 'safe' | 'unsafe'
|
||||
verdict: DelphiReportIssueStatus
|
||||
}
|
||||
|
||||
export type SearchGlobalIssueDetailsRequest = {
|
||||
@@ -2343,6 +2356,8 @@ export namespace Labrinth {
|
||||
decompiled_source: string | null
|
||||
data: Record<string, unknown>
|
||||
severity: DelphiSeverity
|
||||
local_status: DelphiReportIssueStatus | null
|
||||
global_status: DelphiReportIssueStatus | null
|
||||
status: DelphiReportIssueStatus
|
||||
}
|
||||
|
||||
@@ -2391,6 +2406,19 @@ export namespace Labrinth {
|
||||
new_status: Projects.v2.ProjectStatus
|
||||
old_status: Projects.v2.ProjectStatus
|
||||
}
|
||||
| {
|
||||
type: 'tech_review'
|
||||
verdict: 'safe' | 'unsafe'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_entered'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_exited'
|
||||
}
|
||||
| {
|
||||
type: 'tech_review_exit_file_deleted'
|
||||
}
|
||||
| {
|
||||
type: 'thread_closure'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user