Repository navigation
chore: remove orphaned UI helpers, obsolete checks and unused config - #10
Merged
Merged
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
AutoClicker-Pro / 本批清理范围
沿“功能 → 实际调用方 → 专项测试 → 配置”的链路核对后,只移除确认已脱离现役产品的对象:
StatusBar:移除无实际调用方的set_ready/set_loading/set_saving/clear及仅供测试调用的加密提示隐藏开关。真实状态更新、录制与点击事件、错误/成功显示和始终可见的加密安全提示保留。ActionList:移除无人调用的get_selected_action/delete_selected/clear;现役动作范围选择、编辑、刷新保持原样。ControlButtons:移除没有调用方的reset,保留现役按钮启停与状态更新。EncryptionManager:删除没有 UI 或调用方、会直接删掉旧密钥和盐、导致历史加密宏文件难以恢复的reset_key()。未删除任何用户密钥、盐或数据文件;真实加密/解密、旧宏格式兼容完全保留。config/constants.py:移除 25 行完全无人引用、未被config.__all__导出的过期常量;有效的验证规则和配置值不动。StatusBar并更改状态的 GUI 冒烟测试。PROJECT_STRUCTURE.md不再固定过去的测试总数。7 files、+3/-107,净减少 104 行。
验证和界限
python -m unittest tests.test_validation tests.test_settings_store tests.test_macro_library tests.test_macros tests.test_encryption -q:55 passed。compileall、git diff --check全部通过;精确 Git tree02a576596bfeb06ef6165ed6ef81ceb8b5e952b0与 GitHub 提交相符。pynput与可用图形桌面,无法声称完整 GUI/Windows 套件通过。以此 PR 精确 HEAD 的 Windows CI(测试 + PyInstaller)作为合并门禁。core/engine.py/utils/hotkey_manager.py/ui/app.py,不触碰 fix: make macro stop interruptible and release held inputs #8 宏中断修复与 fix: make global hotkeys and emergency stop reliable #9 快捷键紧急停止修复。后续若这些 Draft 合并,需重新确认无冲突。