From 8b681e4a2e6d4192ef7106fef555ca9d262232a2 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Sun, 17 May 2026 23:33:06 +0800 Subject: [PATCH] refactor(GlobalCommandPalette): streamline template structure for improved readability Consolidated the template structure in GlobalCommandPalette.vue to enhance code clarity and maintainability. Adjusted the layout of various elements for better alignment without altering existing functionality. This refactor aims to improve the overall readability of the component for future development. Refs: #1303 --- .../src/components/GlobalCommandPalette.vue | 235 +++++------------- frontend/src/stores/menu.ts | 16 +- internal/router/router.go | 156 ++++++------ 3 files changed, 158 insertions(+), 249 deletions(-) diff --git a/frontend/src/components/GlobalCommandPalette.vue b/frontend/src/components/GlobalCommandPalette.vue index b499a873..3476bf74 100644 --- a/frontend/src/components/GlobalCommandPalette.vue +++ b/frontend/src/components/GlobalCommandPalette.vue @@ -1,16 +1,6 @@