fix: always show raw config in settings (fixes #94202)#94531
fix: always show raw config in settings (fixes #94202)#94531xiaoping1988 wants to merge 1 commit into
Conversation
Previously, the raw config textarea was hidden when sensitive values were detected, making the JSON completely invisible. This change forces the textarea to always be visible, aligning with user expectations that the JSON should be displayed (at least after scrolling). The reveal button remains but is no longer required to view the raw config. Issue: openclaw#94202
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close as superseded: the linked Raw config visibility bug is already fixed by the merged scroll-reset replacement, while this branch would bypass the sensitive raw-config reveal gate. Canonical path: Keep the merged scroll-reset implementation from #96145 and preserve hidden-until-reveal behavior for sensitive raw config values. So I’m closing this here and keeping the remaining discussion on #96145. Review detailsBest possible solution: Keep the merged scroll-reset implementation from #96145 and preserve hidden-until-reveal behavior for sensitive raw config values. Do we have a high-confidence way to reproduce the issue? Yes for the PR regression by source inspection: forcing Is this the best way to solve the issue? No. The safer and already-merged solution is the Form-to-Raw scroll reset, which solves the visibility symptom while keeping the sensitive-value reveal gate intact. Security review: Security review needs attention: The diff can expose sensitive raw config values before the existing reveal action.
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 4ecb45bf7729; fix evidence: release v2026.6.11-beta.1, commit 63874fa0d119. |
|
ClawSweeper applied the proposed close for this PR.
|
Previously, the raw config textarea was hidden when sensitive values were detected, making the JSON completely invisible. This change forces the textarea to always be visible, aligning with user expectations that the JSON should be displayed (at least after scrolling). The reveal button remains but is no longer required to view the raw config.
Issue: #94202
Summary
Linked context
Real behavior proof
Tests and validation
Risk checklist
Current review state