Skip to content

feat(sidebar): 统一资源管理入口并支持快捷入口开关 - #768

Open
yovinchen wants to merge 1 commit into
mainfrom
feat/sidebar-resource-navigation
Open

feat(sidebar): 统一资源管理入口并支持快捷入口开关#768
yovinchen wants to merge 1 commit into
mainfrom
feat/sidebar-resource-navigation

Conversation

@yovinchen

Copy link
Copy Markdown
Contributor

Linked issue

Closes #767

Summary

资源入口原先分散在侧栏与设置中,侧栏也无法按使用习惯隐藏入口。现在「设置 → 资源与自动化」集中管理 Skills、MCP、定时任务、记忆与 Hooks,并在系统设置中提供四个快捷入口开关。

  • 侧栏打开四类资源时仅切换右侧内容,保留桌面侧栏与聊天草稿;窄屏沿用现有收起行为。
  • 开关默认全部开启,只影响本设备的入口可见性,不改变资源启用状态或任务运行;旧配置安全迁移,Gateway 同步保留本机偏好。
  • Skills/MCP 复用完整 Hub 管理页,四个资源页面统一减少顶部留白。

Change scope

  • Modules: agent-ui / agent-gui / agent-gateway WebUI
  • Key paths: 共享侧栏、ApplicationView、设置页与 Hub、settings 归一化/存储/同步,以及两端导航接线。
  • 更新资源导航和设置持久化测试,兼容上游侧栏搜索测试,并补充 docs/features/skills-and-mcp.md

Screenshots / preview

系统设置中的四个快捷入口开关,以及统一后的资源分组:

系统设置与资源分组

首页打开定时任务后的运行截图:左侧导航保留,右侧显示完整管理页,顶部留白缩小。工作空间和最近会话已收起,截图不包含个人数据。

保留主侧栏的定时任务管理页

Verification

  • pnpm --filter liveagent buildpnpm --filter @liveagent/gateway-webui build:通过。
  • pnpm --filter liveagent test:frontend:3039 项通过。
  • pnpm --filter @liveagent/gateway-webui test:718 项通过。
  • pnpm --filter liveagent test:release:9 项通过。
  • 共享 UI、GUI、WebUI 的 lint,pnpm typecheck:uipnpm check:ui-boundariesgit diff --check:通过。已有非阻塞 lint 提示与构建体积提示保留。
  • 浏览器和原生 macOS 开发窗口人工检查:四类入口切换、开关保存与刷新、设置页复用、窄屏布局和顶部间距。
  • 已 rebase 最新 origin/main,保留上游搜索导航与快捷键变更。

Pre-submit checklist

  • A requirement issue is linked (or this is a trivial fix that needs no issue, as explained in the summary).
  • Synced with the target branch; no merge conflicts.
  • The change is focused, with no unrelated modifications.
  • No secrets, tokens, or personal data included.
  • Docs are updated for changes affecting user behavior, deployment, or configuration.

复用 Skills、MCP、记忆与定时任务管理页面,在系统设置中提供本机侧栏入口开关,并统一桌面端与 WebUI 的内容切换和紧凑布局。

Refs #767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 统一资源管理入口并支持侧栏快捷入口开关

1 participant