You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Re-sync the redaction field when a connection's patterns change #794
Severity: P1. The dialog says columns are hidden from agents when they are not.
What happens
Open ?mock=connected, then Tools → Agents….
Production (read-only) is Schema only, and "Also hide columns matching" reads email, *_token.
Set Production to Not shared, then back to Schema only.
The field still reads email, *_token.
Close and reopen the dialog: the field is empty. Revoking cleared the stored patterns, and the re-share saved none.
So the user believes email is hidden when it is not.
Cause
src/components/settings/AgentSettingsDialog.tsx:85: useState(connection.redact.join(", ")) seeds the field once per mounted row and never follows connection.redact after listAgentConnections() refreshes it.
Fix
Re-seed the field from connection.redact whenever it changes (in an effect, skipped while the input has focus), or key the input on connection.redact.join(",").
Activity
fix(agent): re-sync redaction field on change
release: 1.4.0 (#871)