chaynHQ / bloom-frontend

Code for the for the frontend of the Bloom service.
https://bloom.chayn.co/
MIT License
24 stars 38 forks source link

Refactor Session and Session_iba template #907

Open eleanorreem opened 1 month ago

eleanorreem commented 1 month ago

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 in pages/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:

Testing

It may make sense to split this ticket out into separate PRs as there could be a lot of changes.

Resources/Instructions

anmol-fzr commented 1 month ago

@eleanorreem I would like to contribute on this issue please assign me this issue

kyleecodes commented 1 month ago

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!