From 3e6420d48e67e6020976b2112fee5c7a35eb30bd Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Sun, 30 Aug 2026 13:26:40 -0700 Subject: [PATCH 1/2] prevent users from requesting draft status --- apps/labrinth/src/models/v3/projects.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/labrinth/src/models/v3/projects.rs b/apps/labrinth/src/models/v3/projects.rs index 03e05e51b6..08640b1fcf 100644 --- a/apps/labrinth/src/models/v3/projects.rs +++ b/apps/labrinth/src/models/v3/projects.rs @@ -572,8 +572,9 @@ impl ProjectStatus { ProjectStatus::Approved => true, ProjectStatus::Unlisted => true, ProjectStatus::Private => true, - ProjectStatus::Draft => true, + // `draft` used to be requestable for some reason, now considered a bug. + ProjectStatus::Draft => false, // `archived` is represented by a disclosure, not a status, so it // can no longer be requested or set as a status. ProjectStatus::Archived => false, From 7fb55ab51b5a459faaffcaa38e6c56b340c7fb89 Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Mon, 31 Aug 2026 15:57:45 -0700 Subject: [PATCH 2/2] prepr --- apps/app/src/main.rs | 2 +- apps/labrinth/src/models/v3/projects.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/src/main.rs b/apps/app/src/main.rs index 0f89a9a6e9..2593a6bdb5 100644 --- a/apps/app/src/main.rs +++ b/apps/app/src/main.rs @@ -147,7 +147,7 @@ fn main() { #[cfg(target_os = "macos")] { builder = builder - .menu(|app| macos::menu::create(app)) + .menu(macos::menu::create) .on_menu_event(macos::menu::handle_event); } diff --git a/apps/labrinth/src/models/v3/projects.rs b/apps/labrinth/src/models/v3/projects.rs index 08640b1fcf..888d3a5d18 100644 --- a/apps/labrinth/src/models/v3/projects.rs +++ b/apps/labrinth/src/models/v3/projects.rs @@ -573,7 +573,7 @@ impl ProjectStatus { ProjectStatus::Unlisted => true, ProjectStatus::Private => true, - // `draft` used to be requestable for some reason, now considered a bug. + // `draft` used to be requestable for some reason, now considered a bug. ProjectStatus::Draft => false, // `archived` is represented by a disclosure, not a status, so it // can no longer be requested or set as a status.