Skip to content
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

Projects: Better representation for project timeline #3

Open
shiveshcodes opened this issue Oct 15, 2023 · 0 comments
Open

Projects: Better representation for project timeline #3

shiveshcodes opened this issue Oct 15, 2023 · 0 comments
Labels
backend Related to the backend enhancement New feature or request frontend Related to the frontend

Comments

@shiveshcodes
Copy link
Contributor

Is your feature request related to a problem? Please describe.
A project has a tentative timeline that helps event admin and mentees gauge the flow of the projects. Currently, this is taken as a single long TextField, but this makes it difficult to generate HTML tables like the ones shown below.
image

Describe the solution you'd like
A method to store the different weeks as different rows in the database would make segregation and storage of the fields trivial. One possible implementation would be to create a table that has a reference to the project, and stores the timeline data:

  • Weeks (could be a single week, or a range)
  • Work to be done

This would then have to be reflected in a similar manner in the front-end also, where mentors during registration are able to add weeks one by one to their registration form.
Describe alternatives you've considered
While parsing and splitting the TextField data every time it is requested is possible, it feels like more of a hot-fix than a solution

Additional context
N.A

@shiveshcodes shiveshcodes added enhancement New feature or request frontend Related to the frontend backend Related to the backend labels Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the backend enhancement New feature or request frontend Related to the frontend
Projects
None yet
Development

No branches or pull requests

1 participant