Conversation
… fields Fixes form validation to properly track both name and email field validity independently, ensuring the form is only valid when both fields are valid. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1506 (linux/amd64, linux/arm64) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1506", name: che-dashboard}]}}]" |
|
/retest |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1506 +/- ##
==========================================
+ Coverage 92.24% 92.27% +0.03%
==========================================
Files 562 562
Lines 54906 55039 +133
Branches 4082 4113 +31
==========================================
+ Hits 50646 50786 +140
+ Misses 4213 4206 -7
Partials 47 47 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@vinokurig We have another approach to changing the configuration using the "Import Git Configuration" button that should be fixed: |
| private isNameValid = true; | ||
| private isEmailValid = true; |
There was a problem hiding this comment.
please move these fields to component state.
In constructor:
this.state = {
isNameValid: true,
isEmailValid: true,
};In handler:
this.setState({ isNameValid: isValid });There was a problem hiding this comment.
this.setState({ isNameValid: isValid }) will not update the state object instantly, so the
const isFormValid = this.state.isNameValid && this.state.isEmailValid will not work
Add validation for git config user.name and user.email fields with length limits (128 chars) and email format regex. Include tests for invalid email, empty name, and excessive length scenarios. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
done |
|
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1506 (linux/amd64, linux/arm64) kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1506", name: che-dashboard}]}}]" |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: olexii4, vinokurig The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retest |

… fields
What does this PR do?
Fixes form validation to properly track both name and email field validity independently, ensuring the form is only valid when both fields are valid.
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://redhat.atlassian.net/browse/CRW-10296
Is it tested? How?
User preferencespage -> Gitconfig tab.Import Git Configurationdialog and check theusernameandemailproperties in the same way.Release Notes
Docs PR