Building this website was a fun challenge especially when I was dealing with the math logic of the tracking terminal. At first I had all my code for the project in one file, which became incredibly messy. My biggest recent win with the tracking terminal was refactoring the project into separate clean HTML files CSS files and JavaScript files for the website. This made debugging the tracking terminal much easier.
I also spent a lot of time completely rewriting the CSS for the website from scratch. I wanted to move from generic layouts and build a clean dashboard for the project that felt personal to my league. The technical hurdle with the tracking was writing the JavaScript to make the Supabase database dynamically adjust the points scale depending on whether 5 or 6 managers submitted scores that week in the tracking terminal. After tweaking the array sorting logic and fixing a few silent database bugs, in the tracking terminal the live sync is finally running perfectly.