-
Notifications
You must be signed in to change notification settings - Fork 1
Heedls 686 prn add to edit details for delegates #803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heedls 686 prn add to edit details for delegates #803
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions and things I think could be tidied up
...arningSolutions.Data.Tests/DataServices/UserDataServiceTests/DelegateUserDataServiceTests.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Controllers/MyAccountController.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/EditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still needs some tweaks to how we display error messages on the radio buttons, but the other changes are good.
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some changes to be made to how we display errors on the view
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
c785587 to
07d9772
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few really small things to fix but overall looks great.
DigitalLearningSolutions.Web/Helpers/CentreCustomPromptHelper.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/MyAccountEditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/EditDetails.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic stuff
DigitalLearningSolutions.Web/Helpers/CentreCustomPromptHelper.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Data/Models/User/MyAccountDetailsData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_EditRegistrationNumber.cshtml
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_MyDetailsCard.cshtml
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/MyAccountEditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/MyAccountEditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/MyAccountEditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/ViewModels/MyAccount/MyAccountEditDetailsFormData.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Attributes/RunValidateMethodAttribute.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Helpers/ProfessionalRegistrationNumberHelper.cs
Outdated
Show resolved
Hide resolved
DigitalLearningSolutions.Web/Views/MyAccount/_MyDetailsCard.cshtml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of things I'd tweak just. Nice test cases!
JIRA link
https://softwiretech.atlassian.net/browse/HEEDLS-686
Description
Added new radio buttons and professional registration box which will only be required when user selects Yes
Professional registration has validation (must be between 5 and 20 characters allowed, only alphanumeric and hyphens allowed)
Professional registration also added to details card (this is not mentioned in the ticket)
Screenshots
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have: