Skip to content

[Feature] About New UI Plan after v0.6.0 / v0.6.0版本后的新UI计划 #161

@SunYanbox

Description

@SunYanbox

UI系统的重构 / UI System Refactoring

Start After v0.6.0 / 将在v0.6.0版本后开始

  1. 提取相似功能控件

  2. 使用gettext对UI文本进行国际化

  3. 添加便捷粘贴并提交按钮,自动粘贴剪切板文本并提交与解析,简化粘贴模型回复的流程

  4. 需要探索如何解决不纵向拉长终端,就很难看到SKILL列表、审核按钮等的问题

  5. 添加链接到项目/.ManualAid/Logs/log.log的日志,使用logging模块,使用轮转

  6. Extract similar functional components.

  7. Use gettext to internationalize UI text.

  8. Add a convenient "Paste and Submit" button that automatically pastes clipboard text and submits/parses it, simplifying the workflow for pasting model responses.

  9. Need to explore solutions to the issue where it's hard to see the SKILL list, approval buttons, etc., without vertically stretching the terminal.

  10. Add logging to project/.ManualAid/Logs/log.log, using the logging module with rotation.

1. Tool Calls & Shell Results

计划变更内容

  • 标签页合并:将原有的 Tool CallsShell Results 两个独立标签页合并为一个新的 Results 标签页。
  • 二级标签页结构:在 Results 标签页内部,放置 ToolShell 两个二级标签页。
  • 内容结构
    • Tool 标签页下,分为 Current Session(当前会话)和 All Sessions(全部会话)两个内部分页。
    • Shell 标签页下,同样分为 Current SessionAll Sessions 两个内部分页。

依赖项(Blocked by)

  • 重构UI系统:需先完成UI系统的重构(>v0.6.0),将相似逻辑(如会话切换、数据来源切换、标签页状态管理等)抽象为可复用的组件模式。

预期收益

  • 减少顶部标签页数量,降低用户认知负担。
  • 统一 ToolShell 的展示逻辑,提升界面一致性。
  • 为后续扩展其他“Results”类型(如 PluginAgent 等)提供可复用的架构基础。

Plan Change Description

  • Tab Merge: Merge the existing Tool Calls and Shell Results tabs into a single new tab named Results.
  • Nested Tab Structure: Inside the Results tab, place two secondary tabs: Tool and Shell.
  • Internal Layout:
    • Under the Tool tab, split into two sub‑pages: Current Session and All Sessions.
    • Under the Shell tab, also split into two sub‑pages: Current Session and All Sessions.

Blocked by

  • UI System Refactoring: Must first refactor the UI system (after v0.6.0) to extract similar logic (e.g., session switching, data source switching, tab state management) into a reusable component pattern.

Expected Benefits

  • Reduces the number of top‑level tabs, lowering cognitive load.
  • Unifies display logic between Tool and Shell for a more consistent UI.
  • Provides a reusable architecture for future “Results” types (e.g., Plugin, Agent, etc.).

2. Result Widget

Extract result display control to enable reuse of collapsible, scrollable, copy-friendly result components across Tool Calls and Shell Results tabs.

提取显示结果的控件,让Tool Calls和Shell Results标签页复用可折叠可滚动可便捷复制的结果显示控件

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestnot startAn issue in plan but not start due to some things

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions