Skip to content

refactor: 收口 TUI 工作台并修复已知交互问题#65

Closed
creatang wants to merge 3 commits into1024XEngineer:mainfrom
creatang:codex/tui-bubbletea-sync
Closed

refactor: 收口 TUI 工作台并修复已知交互问题#65
creatang wants to merge 3 commits into1024XEngineer:mainfrom
creatang:codex/tui-bubbletea-sync

Conversation

@creatang
Copy link
Copy Markdown
Collaborator

@creatang creatang commented Mar 26, 2026

概述

这个 PR 主要重构了 TUI 工作台结构,让它更贴近 Bubble Tea 的组织方式,同时一并修复了此前 issue #57 中提到的一批交互和布局问题。

改动内容

  • conversationcontextcomposertodo 收口到统一的 Bubble Tea pane 路由
  • 删除一部分已经被替换掉的旧手写控制逻辑
  • 收口 help、status、composer、context 的工作台渲染逻辑
  • 修复滚动、窗口变化、help 切换时的 viewport 和布局刷新问题
  • 修复 footer/help 换行导致 composer 输入区被挤掉的问题
  • 增加 persona 路径回退,保证从 cmd/tui 等子目录启动时也能正确加载默认人设

同时修复的问题

这个 PR 也包含了此前 issue 中提到的几类问题修复,包括:

  • /help 中无法直接继续输入和执行的问题
  • help 切换后页面截断、布局异常的问题
  • 长行不换行、内容显示不完整的问题
  • 思考/完成状态反馈不清晰的问题
  • 滚轮滚动后底部输入区和 footer 布局异常的问题

@creatang creatang changed the title Codex/tui bubbletea sync refactor: 收口 TUI 工作台并修复已知交互问题 Mar 26, 2026
- replace duplicated TUI control paths with unified Bubble Tea pane routing
- consolidate help, status, composer, context, and todo workbench behavior
- fix viewport and footer layout regressions triggered by scrolling and resize
- add persona path fallback so cmd/tui can load the default persona from nested directories
@creatang creatang force-pushed the codex/tui-bubbletea-sync branch from 03f43b2 to 0b4c15b Compare March 26, 2026 04:31
@creatang creatang closed this Mar 26, 2026
@creatang creatang deleted the codex/tui-bubbletea-sync branch April 10, 2026 05:40
pionxe pushed a commit that referenced this pull request May 1, 2026
test: improve coverage for plan/build runtime changes
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.

1 participant