Skip to content
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

Hl student UI update #2182

Closed
wants to merge 13 commits into from
Closed

Hl student UI update #2182

wants to merge 13 commits into from

Conversation

JayBae9903
Copy link
Contributor

@JayBae9903 JayBae9903 commented Feb 19, 2024

Here's what I did:

  1. Set the instructions box to open by default
  2. Disable input for the first applicant field.
  3. Add validation for the preferred hall, and preferences (I tried to add the validation function for email, but I think it's more like a backend function, so I couldn't complete it. So, right now, the validation only checks if the email ends with @gordon.edu.)
  4. Add submit completion snack bar
  5. Minor changes

Copy link
Contributor

@andrew-wzj andrew-wzj left a comment

Choose a reason for hiding this comment

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

Remove the code for first and last name

@JayBae9903 JayBae9903 added the 2 Points To measure progress label Mar 11, 2024
@JayBae9903
Copy link
Contributor Author

I added an email auto-complete function too. So, this branch has some minor improvements in the student UI.

@JayBae9903 JayBae9903 added 3 Points To measure progress and removed 2 Points To measure progress labels Mar 13, 2024
@ahwnsals1234 ahwnsals1234 self-requested a review March 18, 2024 19:11
@ahwnsals1234
Copy link
Contributor

As for the 3rd thing you did, that's exactly what I did couple months ago and we already have it implemented. if you weren't able to do full validation of the email, can you just remove the fixes you made for that function?

@JayBae9903
Copy link
Contributor Author

As for the 3rd thing you did, that's exactly what I did couple months ago and we already have it implemented. if you weren't able to do full validation of the email, can you just remove the fixes you made for that function?

The problem I found was when I tried to submit the application with invalid emails, I was able to submit it. So I think the email validation function is not working now.

Copy link
Contributor

Choose a reason for hiding this comment

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

align the code format, approved

Copy link
Contributor

Choose a reason for hiding this comment

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

I already made a few changes on the instruction page by removing some unnecessary text

<Typography variant="body1" paragraph>
<strong>5. Do I need to be registered for classes to complete the questionnaire?</strong><br/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Necessary text change starting from here

<br />
If you would like confirmation that your questionnaire has been received, you will need
to select the “Send me an email receipt of my responses” box at the bottom of the
questionnaire. No other confirmation will be provided.
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep a note here to reserve the text change until here

Copy link
Contributor

Choose a reason for hiding this comment

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

why you think here should to have a new variable to store the preference option as newloudorQuiet? I don't think it's neceesary

@@ -73,6 +73,11 @@ const Preference = ({ onPreferenceChange }) => {
}
}, []);

useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why add a new useEffect here to check valid for selected option?

Copy link
Contributor

Choose a reason for hiding this comment

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

Approve the change here

Copy link
Contributor

Choose a reason for hiding this comment

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

approved

Copy link
Contributor

Choose a reason for hiding this comment

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

don't save the code change here

Copy link
Contributor

@andrew-wzj andrew-wzj left a comment

Choose a reason for hiding this comment

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

Jay, please read my code review carefully. Since there are a few changed we already made in the senior project which causing your PR has conflicts with the current senior-project, I suggest you to create a new branch based on the senior-project and bring the code changes I marked as necessary into the new PR please. Thanks for your work

@JayBae9903 JayBae9903 closed this May 6, 2024
@JayBae9903 JayBae9903 deleted the hl-studentUI-update branch May 20, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 Points To measure progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants