docs: follow-up Qodo fixes for PR #21 (README snippet + comment accuracy)#22
Conversation
Two findings, both legit: 1. README settings.json snippet contradicted its preceding comment — comment talked about "disabling the passthrough" but the snippet set the flag to true (enable). Rewrote the prose to be unambiguous: the snippet is an explicit opt-in for older 3.x cores; mention `false` as the disable case in the same comment. 2. pad-select-server.js / pad-toggle-server.js comments framed the warning case as "explicit operator opt-out", but the runtime check is `=== true`, so the false branch also fires when the flag is absent (pre-flip cores, or operators who removed the key). Reworded to cover both cases — "absent on pre-flip cores, or explicitly false on current ones" — so future maintainers debugging padWideSupported off don't chase a phantom opt-out. Behavior unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Review Summary by QodoClarify padOptions flag behavior in docs and comments
WalkthroughsDescription• Clarify README snippet to unambiguously show explicit opt-in for older 3.x cores • Distinguish between absent flag and explicitly false in server comments • Improve accuracy of runtime flag behavior documentation • No behavioral changes, documentation and comments only Diagramflowchart LR
A["README settings.json snippet"] -->|"reworded for clarity"| B["Explicit opt-in for older 3.x cores"]
C["pad-select-server.js comment"] -->|"expanded scope"| D["Covers absent flag and explicit false"]
E["pad-toggle-server.js comment"] -->|"improved framing"| F["Accurate runtime flag behavior"]
B --> G["No behavior change"]
D --> G
F --> G
File Changes1. pad-select-server.js
|
Code Review by Qodo
1. Misleading settings key path
|
Two more findings, both legit: 1. README "settings.enablePluginPadOptions === true" could be read as implying a nested settings object — but the helper reads it from `args.settings` root as a top-level key. Reworded to "as a top-level key in settings.json" to remove the ambiguity. 2. Client-side warning strings still hardcoded "settings.enablePluginPadOptions is false", but server-side gating is `=== true` — so the warning fires for both absent (older cores, key removed) AND explicitly-false. The strings now say "is not true (missing or false)" which matches the real semantics. Both pad-toggle.js and pad-select.js updated. No behavior change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Follow-up to #21 (already merged) — Qodo flagged two doc/comment issues seconds before the squash-merge, so my fix commit didn't make the cut. Cherry-picking it now on top of main.
What Qodo flagged
Fix
Both findings tagged in 378997b:
Test plan
🤖 Generated with Claude Code