Beernerd.app - Week 7 Release Notes
This week we were laser-focused 🚨 on implementing the user feedback we received from our first tournament!
🚀 Features Shipped
Monday, November 24th
- 🐞 Bug fixes:
- Only show edit and delete options on tournament info tab on the
/stat/overview
- Fixed player rating calculation bug,
team2 player2 rating was being displayed wrong.
/404 image not being shown for users who are signed out, switched image to be hosted from our S3 bucket.
- Remove delete option for individual activities with parentId (only want a cascade delete of parent).
- Moved sticky cell logic to prop level to fix accidental sticky header in stat table.
- Fixed comment error when user is not active member of game. The solution was to add owner of game to user map on
/record/beerdie/[gameId]
- Added abandon game functionality from the record beerdie game menu.
- Restyled the game menu on
/record/beerdie/[gameId] to be more polished.
- Added shop link to our global nav bar.
Tuesday, November 25th
- Big 🍑 refactor of
masterTimeline logic when statting a game.
- Player and teams were specified by a number index (0,1,2,3).
- This system was for the old data structure where
teamnames and playerIds were stored in text arrays.
- The refactor moved everything in master timeline to a
uuid system. Where each team and player is directly mapped to their uuid.
- Sent in application for Founder's Inc winter sprint 🤞
Wednesday, November 26th
- Shiny new feature ✨ per user feedback. You can now re-arrange where players and teams are located on
/record/beerdie/[gameId]
- This involved adding a state variable
layoutOverride.
- This override was the final
team1 and team2 data variable. The teamData is what maps where each player and team sits on the table.
- The initial easy approach in my head was to modify the team data in the database for the override but I didn't want it to appear out of order in the tournament bracket.
- To preserve layout between page refreshes, I added a query param that stores each swap as a binary number.
- i.e.
101 binary would represent swap player position of team1, leave teams on the same side, and swap team2 player position.
Thursday, November 27th 🦃
- Happy Thanksgiving! Took the day off to surf, cook, and have an awesome meal with friends :)
Friday, November 28th 🎁
Saturday, November 29th
Sunday, November 30th
- Fixed issue where user couldn't scroll
/record/beerdie/[gameId]
- Added feature where a user can view their notifications from
/record/beerdie/[gameId] page. This allows the user to not have to navigate to /home to approve a statting request while statting a game.
- Added a
NotificationsProvider for reusability when new pages will need to access notifications.
- Refactored error handling with a new
ErrorProvider component.
This week was all about implementing user feedback from our tournament and ironing out bugs. Really crushed it, excited for week 8 sprint where we will be shipping all sorts of new shiny code!
Thanks for reading :)