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
[#9438] Use newly introduced Gender enum in frontend #9440
[#9438] Use newly introduced Gender enum in frontend #9440
Conversation
Hi @amrut-prabhu, these parts of your pull request do not appear to follow our contributing guidelines:
|
de960e6
to
c677ff8
Compare
@xpdavid Any other changes required? Also, not having the But, adding How do I fix this? |
Please take a look at |
Fix ReferenceError
3f0e9fc
to
9ad4a59
Compare
Add enumToArray dependency to unit test
9ad4a59
to
991995d
Compare
@xpdavid Ready for review |
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.
Looks good. Have you tried and checked the page is working as intended?
src/web/app/pages-student/student-profile-page/student-profile-page.component.ts
Outdated
Show resolved
Hide resolved
@xpdavid Made necessary changes. The page seems to be working, as shown in the gif added to the PR description. |
...web/app/pages-student/student-course-details-page/student-course-details-page.component.html
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.
Looks good. Just some nits.
src/web/app/pages-instructor/student-profile/student-profile.component.ts
Outdated
Show resolved
Hide resolved
src/web/app/pages-student/student-course-details-page/student-course-details-page.component.ts
Outdated
Show resolved
Hide resolved
src/web/app/pages-student/student-profile-page/student-profile-page.component.ts
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.
LGTM!
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.
LGTM
Fixes #9438
Outline of Solution
Changed gender field from string to enum in frontend
Student profile page:
Instructor course student details page:
student course details page: