Skip to content

Conversation

annagav
Copy link
Contributor

@annagav annagav commented Sep 30, 2025

What are the relevant tickets?

Fix https://github.com/mitodl/hq/issues/8492

Description (What does it do?)

adds all required fields (that are currently blank) to the dialog requesting to fill out missing fields.

Screenshots (if appropriate):

Screenshot 2025-09-30 at 9 39 25 AM

How can this be tested?

Create a user account
make sure not to fillout the "create-profile" form
enroll yourself in a current course
click go to Course
fillout the missing fields
NOTE: it should only ask for missing required fields
Go to profile and verify that the fields got saved into the profile.

@annagav annagav changed the title Ag/profile missing fields Fix Provide More Info Dialog to save to profile Sep 30, 2025
@annagav annagav changed the title Fix Provide More Info Dialog to save to profile Fix Provide More Info dialog to save to profile Sep 30, 2025
@pdpinch
Copy link
Member

pdpinch commented Sep 30, 2025

Why are first name and last name required fields?

@annagav
Copy link
Contributor Author

annagav commented Sep 30, 2025

The First and Last name are required fields in filling out the profile. I don't know why.

@rhysyngsun
Copy link
Collaborator

See https://github.com/mitodl/hq/issues/8492#issuecomment-3353753166, explicit code was added to always reject blank names

@annagav
Copy link
Contributor Author

annagav commented Oct 1, 2025

If we want to allow First and Last name to be blank why are they required fields in the profile form?

htmlFor="legal_address.last_name"
isRequired={true}
label="Last Name"
subLabel="Name that will appear on emails"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this subLabel is correct. Can we just omit it, like we do on https://mitxonline.mit.edu/create-profile/

@pdpinch
Copy link
Member

pdpinch commented Oct 1, 2025

We need to make sure that adding this doesn't interrupt the UAI "one-click enrollment" flow. That said, we will probably need to add firstname and lastname to the Learn dashboard UI, in addition to the existing support for country and age.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants