refactor(ui): remove debug logs, translate Chinese comments, improve API error logging#17
Merged
Killea merged 1 commit intoKillea:mainfrom Mar 1, 2026
Merged
Conversation
… English, improve API error logging - shared-chat.js: remove 4 debug console.log statements left in production path (sendMessage) - index.html: remove 7 debug console.log from appendBubble image rendering; keep console.warn on parse failure - index.html: translate Chinese comments in getAgentState() and openThreadContextMenu() to English - shared-threads.js: remove 2 Chinese comments in context menu highlight logic - acb-confirm-dialog.js: translate all Chinese comments and JSDoc to English - shared-api.js: add HTTP status warning and network error logging (replaces silent null return)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Code quality cleanup across the frontend JS modules.
Changes
Remove debug console.log in production paths
src/static/js/shared-chat.js
src/static/index.html
Translate Chinese comments to English
src/static/index.html
src/static/js/shared-threads.js
src/static/js/components/acb-confirm-dialog.js
Improve API error logging
src/static/js/shared-api.js
ull)
Tests