github monkeytypegame/monkeytype v1.3

latest releases: v24.20.1, v24.20.0, v24.19.0...
3 years ago

This is mostly a backend update, preparing the whole structure for the future. Hopefully nothing breaks! Lots of new features will now be possible and/or easier to implement thanks to these changes.

New features:

  • Added a button to restart the test with the same wordset. The results for repeated tests are not saved to the database.
  • Added an option to hide the notification dot from the discord icon.
  • The account icon will now turn into a loading icon to indicate when the website is waiting for a response from the server.

Bug fixes:

  • Fixed a bug that would show the error points when hovering, even if the data was 0.
  • Fixed a bug where the graph labels would overlap.

Backend:

  • Changed the way results are stored to improve performance and reduce the number of database reads.
  • To prepare for future features each user must have a unique username with no special characters. If you need to change your name you will receive a notification at the top of the screen.
  • You will now no longer be able to register without a username, with a username that includes invalid characters or that is a copy of another.
  • Moved completion to the server to include security. The website will no longer fully trust the client that the data is correct. The data is validated to make sure its in the correct format. This will help with leader boards in the future, but might introduce a delay between you completing a test and seeing it on the account page since the server must send a response if that test was valid.
  • Changed the way PB's are stored and moved them to the server - this speeds up the checking of personal bests, and increases security. To make the UI feel more snappy, a local copy of pbs is stored on the client, and then compared with the client when a response is received to make sure everything is alright.

Other changes and improvements:

  • Added 'og' tags, meaning that now you will see an image when you link monkey type to your friends.
  • Changed the way config is stored, and also made sure the config is reset to default when no data is found.
  • Removed 'send a message'. This worked well in the beginning, but didn't allow for me to respond to messages. Discord is a more efficient way of contacting me, and is now the only real way to do so.
  • The database snapshot that is taken when the website is first loaded is now in a different format. This allows for more data to be stored for future features.
  • Duration of incompleted tests is now stored in the database to make sure the 'estimated time typing' number is more accurate.
  • Removed 'signed in' notification.

Don't miss a new monkeytype release

NewReleases is sending notifications on new releases.