From 8693857cfbdba86112ad8dac8ecd1529f9669ba0 Mon Sep 17 00:00:00 2001 From: Kevin Griffin Date: Tue, 7 Jul 2026 13:27:31 -0700 Subject: [PATCH] =?UTF-8?q?feat(manage):=20surface=20About=20in=20the=20ri?= =?UTF-8?q?bbon=20=E2=80=94=20Application=20group=20(#302)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ABOUT command and its version-reporting window already exist, but the ToolDef sat dead-code in the draw module with no ribbon entry, so the only way in was typing ABOUT. Move it to the manage module and give it an Application group on the Manage tab, as a discoverable fallback for version diagnostics. Co-Authored-By: Claude Fable 5 --- src/modules/draw/mod.rs | 1 - src/modules/{draw => manage}/about.rs | 1 - src/modules/manage/mod.rs | 6 ++++++ 3 files changed, 6 insertions(+), 2 deletions(-) rename src/modules/{draw => manage}/about.rs (93%) diff --git a/src/modules/draw/mod.rs b/src/modules/draw/mod.rs index 1e2bb0a1b..ac419385a 100644 --- a/src/modules/draw/mod.rs +++ b/src/modules/draw/mod.rs @@ -1,6 +1,5 @@ // Draw module — Draw, Modify, Annotation and Layer tools. -mod about; mod changelog; pub mod clipboard; pub mod defaults; diff --git a/src/modules/draw/about.rs b/src/modules/manage/about.rs similarity index 93% rename from src/modules/draw/about.rs rename to src/modules/manage/about.rs index cd6e19ffb..854cf2f57 100644 --- a/src/modules/draw/about.rs +++ b/src/modules/manage/about.rs @@ -1,6 +1,5 @@ use crate::modules::{IconKind, ModuleEvent, ToolDef}; -#[allow(dead_code)] pub fn tool() -> ToolDef { ToolDef { id: "ABOUT", diff --git a/src/modules/manage/mod.rs b/src/modules/manage/mod.rs index 55f765018..f1a66e7aa 100644 --- a/src/modules/manage/mod.rs +++ b/src/modules/manage/mod.rs @@ -1,5 +1,6 @@ // Manage module — customization and drawing cleanup tools. +mod about; mod audit; mod cui_export; mod cui_import; @@ -75,6 +76,11 @@ impl CadModule for ManageModule { RibbonItem::Tool(audit::tool()), ], }, + // ── Application ─────────────────────────────────────────────────── + RibbonGroup { + title: "Application", + tools: vec![RibbonItem::LargeTool(about::tool())], + }, ] }) }