Resume rows no longer bold matched letters
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- cli, documentation, testing-qa
Hướng nghiên cứu
Start in internal/tui3/resume.go at roster.rank and roster.rows, then compare hit painting in internal/tui3/palette.go and picker.rowHit in internal/tui3/picker.go. Run the listed tmux /resume capture and inspect the existing unit and e2e coverage. Done means matching indexes render bold while selection and truncation remain intact, controls stay bold, and the manual page and change entry are updated.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
Cosmetic REGRESSION seen on commit 17ae56d34 (staging-20260921-17ae56d3496f) on 2026-09-21. Lane B1, item B1-08, typed ba in /resume; the matching Bash row had no bold escape sequence. On v0.3.0 (9258f7052), the capture contained:
\e[1mBash\e[0m
/model and settings search still bold their matched letters. The regression is likely related to docs/changes/unreleased/1321-fuzzy-match-highlight.md.
Replication
Deterministic (no model).
No no-model reproduction is established; lane B1 seeded the saved conversation with a live model.
Field (real models).
Set OPENROUTER_API_KEY, seed one saved conversation under a fresh home, then capture /resume:
root="$(mktemp -d)"; export CODEAF_HOME="$root/home"; repo="$root/repo"
mkdir -p "$CODEAF_HOME" "$repo" && git -C "$repo" init -q
git -C "$repo" -c user.name=Test -c [email protected] commit --allow-empty -m base
cd "$repo" && codeaf chat --no-host --yolo --model deepseek/deepseek-v4-flash --once "say Bash"
tmux new-session -d -s resume-style -x 160 -y 44 "cd '$repo' && CODEAF_HOME='$CODEAF_HOME' codeaf chat --no-host --yolo"
tmux send-keys -t resume-style '/resume' Enter 'ba'; tmux capture-pane -ep -t resume-style
Today the matching row contains plain Bash, not \e[1mBash\e[0m.
Budget under one minute and $0.01. As controls, type the same fragment in /model and settings search and capture their bold matched letters.
Where
roster.rank and roster.rows in internal/tui3/resume.go score and render resume matches. Compare the established hit painting in paintHit in internal/tui3/palette.go and picker.rowHit in internal/tui3/picker.go. This identifies the rendering seam, not a proven cause.
The fix
Render the matched characters in each /resume result with the same bold styling used by /model and settings search, while preserving selection and truncation behavior.
Acceptance
- e2e: Through
/resumein a tmuxcodeaf chat, typeba, capture ANSI output, assert the matching row contains\e[1mBash\e[0m, and exit 0. - e2e: Through
/modeland settings search in the same tmux session, assert their matchingBashtext remains bold after navigating and resizing. - Unit: Resume-row rendering receives fuzzy hit indexes and emits bold spans for exactly those indexes, including a noncontiguous-match case.
- The manual page
internal/manual/chat/home.mddescribes highlighted/resumematches, and the change entry'sinvalidatesnames the old belief that scoring a resume row also painted its hit.
Filed from the 2026-09-21 staging verification of 17ae56d34; the lane reports, frames and e2e logs are in the owner's handoff folder for this promotion.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 37 phút
- Pull request đã merge (30 ngày)
- 755
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Agent-Field/CodeAF
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Agent-Field/CodeAF#1592 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:headless bug sev:critical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1566 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1510 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tests bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1489 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1470 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
Remove CAAPFĐang mởkind/chore kind/cleanup needs-area
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
rancher/turtles#2848 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low 🌱 type: enhancement 💅🏼
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
nebari-dev/llm-serving-pack#199 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
kedacore/keda#8225 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày