Maybe I'm too ambitious with my time.
A lot of work was put into adding tests because I had been trying to move as fast as possible.
I've learned a lot from this, and I'll be developing using a Test Driven Development (TDD) approach from now on to ensure features are developed and tested to not break existing stuff.
I'll also be continually adding tests to increase code coverage in the future, so development is really going to slow down a lot more before it picks up speed again.
Improvements to existing features
Navbar selection
The navbar now shows which navigation was last selected to provide additional tips on where users currently are on the website.
There are still a few issues, but I'll fix them in the next patch.
Session order
Clubs' past sessions were listed by ids and were not always in chronological order, which was an issue if someone backdated a session.
Profile list and user profile page load
Database queries to populate the list of profiles, and user profile pages have been significantly improved, resulting in a fraction of the load times.
Logo redirect to index page
Clicking on the logo no longer takes users to their own profile. It now takes users to the site’s landing page.
However, this will further change in the future when a home page is developed.
Article layout
Articles were previously quite clunky, displaying the whole article in a box.
Articles now show as boxes with the title, date, and kind of article/post which users can click into.
They’re also now in chronological order.
Bug fixes
Profit and Loss table width
If you weren't aware, each session has its own Profit and Loss statement to help organisers stay on top of finances.
That's right, badminton sessions are often run on shoestring budgets.
In mobile mode, the width was not being adjusted to fit into the screen, and it also wasn't scrollable to the side.
This has now been fixed and usable in mobile form.
Profit and Loss no longer accessible without logging in.
Previously it was possible to access the profit and loss statement of socials if you had the right link (there were thankfully no links on page, though you could guess it through the URL).
Now it's no longer possible.
Phew!
Editing session notes would remove existing notes
Each session has notes to tell others more about the session.
Each time session details were edited, the existing notes were being removed.
This has also been fixed.