refactor(gui): stabilize model feedback callback dependencies - #3984
refactor(gui): stabilize model feedback callback dependencies#3984yansigit wants to merge 1 commit into
Conversation
Extracted and adapted from fork commit 4d36c91. Co-authored-by: Yumi <automation@sbyoon.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
리뷰 · 우선순위 36 / 80이 PR은 라인 gui/src/pages/Models.tsx · publishFeedback useCallback - 빈 deps 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
Wrap the setter-only feedback publisher in useCallback and include it in the display-name save callback dependencies. This makes the callback contract explicit without changing displayed feedback or save behavior.
No user-facing behavior change; existing documentation remains accurate. Screenshot shows the verified existing editor.
Verification
Root
bun run typecheck, GUIbun run lint, andbun run buildpassed. GUI tests: 1921 passed, zero failures. Browser verification saved and reopened a friendly name using synthetic API data.All runtime checks used a fresh temporary OPENCODEX_HOME and alternate port; production config fingerprint and backup inventory remained unchanged. Full root-suite and review-readiness gates have not been completed for this head; this is intentionally a draft.
Checklist
Review readiness
Co-authored-by: SB Yoon 44089734+yansigit@users.noreply.github.com
Co-authored-by: Yumi automation@sbyoon.com
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.