Open eleanorreem opened 1 month ago
@eleanorreem I would like to contribute on this issue please assign me this issue
Hey @anmol-fzr thank you for your interest! I can assign you after this PR is either closed or completed. As per our Issue Limit policies sometimes we have to limit the number of issues assigned to help keep a sustainable flow of issues for all contributors. Thank you!
Overview
We created a duplicate but slightly different template for our IBA course. There is now a large amount of shared loginc between the regular session template and the session_iba template.
The IBA session page can be found in
pages/courses/image-based-abuse/[sessionSlug].tsx
and the regular session page can be found inpages/courses/[slug]/[sessionSlug].tsx
This ticket is to pull out duplicated logic / code between the two pages into either separate components or functions that can then be shared by the two pages.
Action Items
Here are some suggestions for possible refactors. These are suggestions and you may take a different route:
callStartSession
can move into this componentuseEffect
to open transcript modal can also be moved to this componentTesting
It may make sense to split this ticket out into separate PRs as there could be a lot of changes.
Resources/Instructions