-
Notifications
You must be signed in to change notification settings - Fork 93
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
Feat: View members list #59
Feat: View members list #59
Conversation
Update @anitab-org/bridgeintech-maintainers . here's the PR for View members list. Please review when you have time. Thanks |
f6e0d5a
to
f21e390
Compare
</thead> | ||
<tbody> | ||
{members.map((member) => ( | ||
<tr key={member.id}> |
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.
Is it possible to have a loop over member attributes rather than specifically writing member.attribute? I just feel that's more generic and scalable.
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.
mmm... I'm not sure tbh. I'll discuss this with @meenakshi-dhanani in her office hour tonight.
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.
Although, @ramitsawhney27 . It might not be straight forward to loop over attrributes of member as the Program Completed
column does not come from the member data within the members list, but abstracted from all programs that the member's would've done by the time logged-in user view the members list.
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.
It's okay I think. It's readable. You can use Object.values() to iterate over the values in the object. But I feel this is fine. And like Maya mentioned, there are two things that don't come from the member list.
2831716
to
65505e6
Compare
add default value to is_organization_rep Fix if else and fetch bug Fix POST and PUT additional info Fix bug defaultChecked checkbox is_organization_rep fix bug timezone not selected Refactor api requests to PUT for both create and update additional info
Displaying need_mentoring and available_to_mentor as booleans True and False is too technical. We could have labels for member profiles. But I'm fine with this for now as MVP. We can make it beautiful later, with some profile icon maybe |
65505e6
to
2615f3d
Compare
Update @anitab-org/bridgeintech-maintainers . I've just force pushed the fix on constant SERVICE_UNAVAILABLE_ERROR. |
Add availabilities column add tba on Program completed and Current Availability columns Fix service unavailable constant
2615f3d
to
5ab20f7
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.
The changes made in this PR were tested locally. Following are the results:
Description
Allow user to see list of members
Fixes #58
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Members
pageMembers
pageChecklist:
Code/Quality Assurance Only