9c9a51263c
汇总未提交工作区:Servers 列表 site_url 链接、终端页与选机器 UI、SSH 连通性与 Telegram 通知、agent/offline/unset_path 后台调度与 gate_ai_review 门控;更新 AGENTS 与 agent-exploration 规则(仅本机 commit);同步 web/app 构建产物与相关文档。
1.3 KiB
1.3 KiB
2026-06-17 — 终端 UI 优化与右键菜单加速
摘要
终端页深色界面统一、字符重叠修复、可折叠服务器侧栏、轻量右键菜单;脚本进度条不再遮挡终端顶栏。
动机
生产终端页浅色工具栏与黑底 xterm 割裂;lineHeight: 1.2 导致 Linux 下行重叠;Vuetify v-menu 右键菜单弹出慢;全局脚本进度条与终端页 padding-top !important 冲突导致标签栏被挡。
变更
frontend/src/pages/TerminalPage.vue:深色 chrome、侧栏折叠、自定义右键菜单frontend/src/components/terminal/TerminalContextMenu.vue:Teleport 固定菜单,无过渡动画frontend/src/composables/terminal/useTerminalSessions.ts:rescaleOverlappingGlyphs、Linux lineHeight 1.1、fit 重算frontend/src/components/ShellHighlightField.vue:多行高亮层 scroll 同步frontend/src/App.vue:--nexus-exec-bar-offset修复终端顶栏留白
涉及文件
见上;纯前端静态资源,无需重启 API。
迁移 / 重启
cd frontend && npx vite build 后 deploy/deploy-production.sh 同步 web/app/。
验证
cd frontend && npm run type-check && npx vite build
bash scripts/local_verify.sh
浏览器:#/terminal 强刷 — 右键菜单即时弹出、SSH 输出无行重叠、侧栏可折叠。