From ca8629a3ac742c02aa0a1f1720b57dcce461b7a5 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Tue, 29 Jul 2025 13:02:33 -0300 Subject: [PATCH] refactor: reorganize meta plugins table to show Meta Name first and remove Type column Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) --- src/modes/status.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/modes/status.rs b/src/modes/status.rs index a063c81..3288618 100644 --- a/src/modes/status.rs +++ b/src/modes/status.rs @@ -122,12 +122,11 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table } meta_plugin_table.set_titles(row!( - b->"Type", + b->"Meta Name", b->"Found", b->"Enabled", b->"Binary", - b->"Args", - b->"Meta Name")); + b->"Args")); for meta_plugin_type in MetaPluginType::iter() { let mut meta_plugin = meta_plugin::get_meta_plugin(meta_plugin_type.clone()); @@ -159,7 +158,7 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table }; meta_plugin_table.add_row(Row::new(vec![ - Cell::new(&meta_plugin_type.to_string()), + Cell::new(&meta_plugin.meta_name()), match is_supported { true => Cell::new("Yes").with_style(Attr::ForegroundColor(color::GREEN)), false => Cell::new("No").with_style(Attr::ForegroundColor(color::RED)), @@ -173,7 +172,6 @@ fn build_meta_plugin_table(enabled_meta_plugins: &Vec) -> Table _ => Cell::new(&binary_display), }, Cell::new(&args_display), - Cell::new(&meta_plugin.meta_name()), ])); }