feat: add contextual retention guidance
This commit is contained in:
@@ -8,6 +8,10 @@ const panel = readFileSync(resolve(webuiRoot, "src/features/policy/RetentionPoli
|
||||
|
||||
assert.match(panel, /<RetentionPolicyScopeManager/, "Policy delegates effective-policy blockers and provenance to the shared Core contract");
|
||||
assert.match(panel, /contextId: "policy\.retention"/, "retention exposes stable contextual documentation");
|
||||
assert.match(panel, /policy\.retention\.action\.dry-run/, "retention dry runs expose exact contextual help");
|
||||
assert.match(panel, /policy\.retention\.action\.apply/, "destructive retention exposes exact contextual help");
|
||||
assert.match(panel, /policy\.retention\.confirm-apply/, "retention confirmation exposes consequence and recovery help");
|
||||
assert.match(panel, /helpModuleId="policy"/, "retention confirmation retains Policy as its documentation owner");
|
||||
assert.match(panel, /disabledReason=\{actionDisabledReason\}/, "retention execution explains unavailable actions");
|
||||
assert.match(panel, /<ConfirmDialog/, "destructive retention uses shared confirmation");
|
||||
assert.match(panel, /<DataGrid/, "retention outcomes use the shared data-grid pattern");
|
||||
|
||||
Reference in New Issue
Block a user