-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mentor details #63
Comments
There is no direct relation between project and course. We can get project via mentors but Mentor - Project is many-many relation. Is there any other way or table to check if there is any project associated with a course?
I tried to check in the code to get this but couldn't find any reference of hours related to completed lessons. |
You're right, thanks for pointing that out. The table should actually be
We'll consider 1h per lesson for now, I'll update the task accordingly. |
From Edmond: We are only using the information from the users_courses (the start_date_time value) and users_courses_lessons_canceled tables to get the number of lessons completed. |
@edmondpr, could you please clarify how we are storing relations between testimonials and course? |
We are indeed keeping the students testimonials independent from the courses in our DB. |
Should we show testimonials here in that case? It will show same testimonials multiple times if student is in multiple courses. Maybe the Students page is fine for that? We can add a link to student details page. |
Most students enroll in a single course but it's still ok if the same student's testimonial appears in the details of multiple mentors because the students often acknowledge all their mentors in these testimonials. |
Design: https://www.figma.com/file/DgrKZX9mS13Zgf7k5pZ1WT/Partner-web-app?type=design&node-id=727-148&t=LPfyjEb31x9adSCp-4
When clicking on the details icon for a mentor in the mentors table, the list of courses conducted by that mentor will be retrieved, with the following details for each course:
If a project that has no association with a course was added for that mentor, the ID and name of that project will be retrieved as well.
The details will be made available at the
/api/v1/partners/{partner_id}/mentors/{mentor_id}
endpoint.The text was updated successfully, but these errors were encountered: