Trent-Computer-Science-Club-Association / ClubWebsite

This repo is the home of our club's main website.
https://tcsca.ca
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Refactor Contact form #32

Open Kara-Zor-El opened 1 month ago

Kara-Zor-El commented 1 month ago

The contact form is designed in a way where it is extensible and such but the code currently is messy. Needs fixing. Something like:

FormTypes
FormConstructionFunctions
Break Somehow (use comments)
Everything todo with the actual component
spotandjake commented 3 weeks ago

The contact form implemented by #28 is currently built in an extensible way unfortuntatly because of the needs of our use case this results in a really hard to understand module. It might make more sense to use a standard ui component or build a specalized form. The current implementation is not bad it is just hard to follow and hard to maintain.