Closed TenDRILLL closed 1 year ago
Changes so far. Broke utils.ts into multiple files which each contain functions that belong together or call each other. Moved css files to html/styles Changed some function names to be more intuitive e.g. updateStatRoles, updateStatRolesUser -> updateAllUserRoles, updateUserRoles. Moved these 2 functions to dbUserUpdater handler. Tested that the frontend works, discord related functions are harder to test -> Automatic tests?
Sounds like some work overlaps with #9, please check out if it can be closed.
Utils file started out as a storage for a few commonly referenced functions, and has definitely grown too large. It has to be re-evaluated and possibly modularized.