[1005E] - #8830
Conversation
WalkthroughPassword fields now use ChangesPassword input constraints
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@studio-ui/ui/app/src/components/AccountManagement/AccountManagement.tsx`:
- Around line 283-285: Update the password input configurations in
AccountManagement to set autocomplete tokens: use current-password for the
current-password field and new-password for the confirmation field, including
the additional field referenced by the repeated location. Preserve the existing
maxLength slotProps.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 96aebe3d-c2bd-4923-aa07-1e748a577627
📒 Files selected for processing (4)
studio-ui/ui/app/src/components/AccountManagement/AccountManagement.tsxstudio-ui/ui/app/src/components/LoginView/LoginView.tsxstudio-ui/ui/app/src/components/PasswordTextField/PasswordTextField.tsxstudio-ui/ui/app/src/components/ResetPasswordDialog/ResetPasswordDialog.tsx
|
@coderabbitai can you check if everything looks good? Please give it a final review before I hand over for human review |
|
✅ Action performedFull review finished. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@studio-ui/ui/app/src/components/PasswordTextField/PasswordTextField.tsx`:
- Around line 72-87: Update PasswordTextField’s slotProps construction to
support callback-valued slotProps.htmlInput and slotProps.input by resolving and
preserving their returned props before applying overrides. Merge the existing
htmlInput ref with inputRef rather than replacing it, and retain
visibilityAdornment/InputProps behavior for the input slot.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: c06b3657-5518-460a-bf47-319f96caa30b
📒 Files selected for processing (4)
studio-ui/ui/app/src/components/AccountManagement/AccountManagement.tsxstudio-ui/ui/app/src/components/LoginView/LoginView.tsxstudio-ui/ui/app/src/components/PasswordTextField/PasswordTextField.tsxstudio-ui/ui/app/src/components/ResetPasswordDialog/ResetPasswordDialog.tsx
|
@coderabbitai can you check if everything looks good? Please give it a final review before I hand over for human review |
|
✅ Action performedReview finished.
|
https://github.com/craftersoftware/craftercms-e/issues/1005
Summary by CodeRabbit
current-passwordvsnew-password) during login and password reset.