feat: add password strength policy UI#3079
Conversation
Greptile SummaryThis PR adds a new
Confidence Score: 4/5The new strength policy component and load changes are straightforward; the main risk is in the refactored passwordPolicies.svelte where saved-state snapshots are written from local form values before the invalidate round-trip completes. The new passwordStrengthPolicy.svelte component has no saved-state snapshots — hasChanges derives directly from the live policy prop, so the form state is never explicitly reset after a successful save. The refactored passwordPolicies.svelte sets saved* values before await invalidate resolves, meaning server-normalised responses are not reflected in the baseline. passwordStrengthPolicy.svelte and passwordPolicies.svelte both warrant a closer look at the post-save state reset logic. Important Files Changed
Reviews (2): Last reviewed commit: "all five inlined" | Re-trigger Greptile |
What does this PR do?
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)