From 1b02031d4ac68dd7a307af8ea678adee7e4e05b9 Mon Sep 17 00:00:00 2001
From: linshen <32978552+linshenkx@users.noreply.github.com>
Date: Sat, 7 Mar 2026 14:23:00 +0800
Subject: [PATCH] fix(ui): refactor model manager layout and cards
- Tab panel: switch to segment style with fixed header
- Scroll area: isolate panel scroll from tabs
- Card styling: unify text/image/function model cards with rounded corners
- Actions: add tooltips for compact icon-only buttons
---
.../src/components/FunctionModelManager.vue | 34 +-
.../ui/src/components/ImageModelManager.vue | 194 ++++++++----
packages/ui/src/components/ModelManager.vue | 104 ++++++-
packages/ui/src/components/TextModelList.vue | 293 +++++++++++-------
4 files changed, 415 insertions(+), 210 deletions(-)
diff --git a/packages/ui/src/components/FunctionModelManager.vue b/packages/ui/src/components/FunctionModelManager.vue
index 35b35d1b..45664989 100644
--- a/packages/ui/src/components/FunctionModelManager.vue
+++ b/packages/ui/src/components/FunctionModelManager.vue
@@ -1,11 +1,16 @@