tui: 增加启动页,调整选择弹窗/对话区样式和交互细节#410
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
50dea83 to
4e18c23
Compare
|
/code 解决一下ci错误 |
处理结果已修复本 PR 的 CI 阻塞问题并推送到当前分支 本次修复
验证
未做事项:无。 |
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
…lution fix(tui): resolve startup view compile break and restore tick flow
|
@xgopilot 请按以下流程执行,且必须先做第 1 部分再做第 2 部分: 先确认总体方案设计是否成立 PR 描述 |
|
/code 请解决review提到的高,中风险问题,并且提升文件测试覆盖率到百分之九十五以上 |
处理结果已修复 review 提到的高/中风险问题,并补充了对应测试,代码已推送到当前 PR 分支 已完成项
本地验证
说明
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
…lution fix(tui): resolve startup and footer tick regressions
|
/code 解决review中提到的必要性问题,并作为TUI资深设计师给出对于上述review你是否进行修复,原因是什么 |
- remove unreachable startupVisible animation/render path - keep startupScreenLocked as single startup source of truth - avoid forcing global truecolor profile - cache picker delegate styles to reduce per-row allocations - align tests with current startup lifecycle Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
|
/review |
| a.footerErrorText = message | ||
| a.footerErrorUntil = a.now().Add(footerErrorFlashDuration) | ||
| // 新错误出现时主动补发一次 tick,确保空闲状态下也能驱动自动消失。 | ||
| a.deferredFooterTick = appTickCmd() |
There was a problem hiding this comment.
[Medium][Code Quality/Behavior] showFooterError only stores a deferred tick (deferredFooterTick) to be emitted at the start of a future Update call. When the error is produced late in the current update cycle (for example runFinishedMsg) and no further input/runtime event arrives, no tick is ever dispatched, so the footer error can stay visible indefinitely instead of auto-expiring. Consider scheduling appTickCmd() in the same update cycle that sets footerErrorUntil (or maintaining a persistent timer loop while the toast is active).
| transcriptContent string | ||
| transcriptScrollbarDrag bool | ||
| startupScreenLocked bool | ||
| startupIntroActive bool |
There was a problem hiding this comment.
[Low][Maintainability] startupIntroActive/startupIntroFrame/startupLoopFrame are added and reset in multiple paths, but there is no read-site in production code. This leaves dead state in the runtime model and increases cognitive load for future startup-screen changes. Recommend removing these fields now or wiring them into actual rendering/animation behavior with clear ownership.
|
/code 查看最近的review,修复这些问题 |
处理结果已修复最近 review 提到的必要性问题并推送到当前 PR 分支: 修复内容
验证
未执行项
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
处理结果已查看最近 review 并完成必要修复,代码已推送到当前 PR 分支 本次修复
测试
未执行项
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
…lution Fix/tui markdown render pollution
|
/code 解决现在的代码冲突 |
处理结果已解决当前 PR 的代码冲突并推送到分支 本次处理
验证
未执行项
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
|
/code 解决冲突后ci不通过了,请解决这个问题 |
处理结果已定位并修复这次“解决冲突后 CI 不通过”的问题,修复已推送到当前 PR 分支 根因失败并非来自 TUI 测试,而是 CI 的网关文档一致性检查:
本次修复
验证
未执行项
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
|
/code 请本次解决完ci问题和冲突后可以通过测试!!! |
处理结果已完成本次“冲突 + CI 问题”修复,并推送到当前 PR 分支 根因与修复CI 失败来自编译错误: 本次已在 校验结果
未完成项
|
…solution Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: creatang <165447160+creatang@users.noreply.github.com>
|
/code CI问题主要为一下,请解决
make: *** [Makefile:11: docs-gateway-check] Error 1 |
处理结果
阻塞项当前无法将提交推送到 PR 分支(fork 权限不足): 请为 |
背景
增加启动页,调整选择弹窗/对话区样式和交互细节
#398
本次改动
1) 增加启动页
NEOCODE2) Header 与全局信息层级优化
NeoCode / model / statuscwd: ...3) 选择弹窗(Select Menu)重制
neocode-select-menu.html重做 picker 的视觉:4) 对话区样式统一
YOU/NEO标签样式更新(更接近参考视觉)YOU与NEO消息统一左侧流式布局兼容性说明
测试
go test ./internal/tui/core/app通过go test ./internal/tui/...本地执行中存在上游既有失败(infra/services 若干用例),与本次样式改动无直接耦合,已在本地复现并记录