Skip to content

refactor: 提取重复渲染辅助函数 (refs #578) - #579

Merged
aiofc-nx merged 1 commit into
mainfrom
refactor/578-duplicate-helpers
May 26, 2026
Merged

aiofc-nx merged 1 commit into
mainfrom
refactor/578-duplicate-helpers

Conversation

@aiofc-nx

Copy link
Copy Markdown
Collaborator

closes FDE-GROUP/uncodenow#196 — 提取 focus_prefix / duration_text / truncation_hint_line 消除 12+ 处重复代码

- focus_prefix / focus_prefix_colored: 6 处 ▸/▾ 模式 → 2 个辅助函数
- duration_text: 3 处 ms/s 格式化 → 统一
- truncation_hint_line: 3 处 Space to expand 提示 → 统一
- 修复 test_tool_card_indices 适配新增 Assistant 焦点
@aiofc-nx
aiofc-nx merged commit af8d271 into main May 26, 2026
@aiofc-nx
aiofc-nx deleted the refactor/578-duplicate-helpers branch May 27, 2026 01:35
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