Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 5.63 KB

CHANGELOG.md

File metadata and controls

74 lines (51 loc) · 5.63 KB

Change Log

All notable changes to this project's code will be documented in this file.

Check Keep a Changelog for recommendations on how to structure this file.

[0.0.6] Prototype - 2024/04/12

This update is mostly bug fixes and quality-of-life improvements. Here are the main changes:

  • Fixed the "Current Age" in the Patient Data section. It now accurately checks the remaining months until the next birthday (finally...), and the age is now calculated from the user's birth date, not entered separately.
  • The code now doesn't retrieve and refresh the data constantly, it currently checks if the patient's data has been updated in the database, if yes, it fetches the rest and refreshes normally. But if not, it doesn't do anything. This vastly improves the code's performance by not constantly fetching the same data over and over again.
  • Changed the frequency of refreshing the data to 30 seconds.
  • Removed "Current Age" from the database schema and added patient sections.
  • Added "Date Added" data to the schema to get when the patient was added to the database.
  • Added "Last Updated" data to the schema to get when was the last time this patient's data was updated.
  • Cleaned the code and improved performance.

[0.0.5] Prototype - 2024/03/25

By far the biggest update to this prototype yet. It should've been split into four different releases (I literally refactored the code about four or three times in this version alone), but I've decided just to combine all of them and get it over with.

This is basically my vision of how the prototype should be. Not a full, complete product, no need for a fancy UI, and without the advanced planned features. Just a proof of concept and a test to learn how writing the actual project's code should be and how to deal with the underlying infrastructure that the codebase is going to be built on. I will, of course, improve the prototype itself more. But now that I've got a feel of how working on the code should look like and how to build it, I'll initiate the plan for the actual project.

Anyway, here are the main changes:

  • [MAJOR] Reworked the whole networking and API code to make it much, much better. You now don't need to open another localhost just to connect the client to the server, you can just type https://localhost:3000 in your browser and it'll connect to the server and view the webpage. (why was that even there in the first place?? It's like using another link that accesses Facebook for you instead of just opening it yourself directly).
  • [MAJOR] Added the ability to add new patients to the database.
  • [MAJOR] Added the ability to add random heart rate and SpO2 data when adding a new patient to the database.
  • Improved the error handling, especially for the graphs.
  • Modified the CSS to make it look a bit more comfortable.
  • Removed the ID field in the displayed patient data (was not useful and made it look more cluttered, you could just look at the input to get the ID). You can re-enable it by uncommenting the code for it, but I don't recommend it.

There are also a lot of improvements under the hood and the codebase itself also improved a lot. I suggest checking it out and comparing the source code with past versions for reference, especially with the first one to see how far this project has come!

[0.0.4] Prototype - 2024/03/17

So, turns out I uploaded the files for v0.0.2 instead of v0.0.3 and now I've lost all the files of that version ;-;. This was supposed to be a big update but now it's lost ;;;-;;;. Well, let's look at the bright side, at least this would make this version appear a lot bigger.

Here's the changelog:

  • Improved the graphs.
  • Added SpO2 data (oxygen percentage in blood) to the database schema.
  • Added a SpO2 graph.
  • Reverted Chartist (the graph library) to an older version (0.11.4) for better features and documentation.
  • Modified the timing of the notification to appear for a little longer to be more readable.

I would've recommended comparing this version with the previous one but now it's lost so there's not much need to do that anymore since the differences are now clearly visible. But you can still do it to get a more accurate view of the development progress.

[0.0.3] Prototype - 2024/03/15

  • Improved the performance and optimized the speed of the prototype.
  • Added a graph that visualizes the patient's heart rate data.
  • Fixed an error in the package.json file (because I messed it up in the last version...).
  • Modified a part of the style of the HTML a bit.

As I said before, some of the changes are little details in the code, so I recommend comparing this version's source code with the previous one using tools like the compare functionality in vscode to get an accurate idea of the changes. And I'd love to hear your feedback and recommendations on how to improve it!

[0.0.2] Prototype - 2024/03/14

  • Added a changelog!
  • Cleaned and polished the code a bit.
  • Added a notification that would alert you if you requested an ID that's not in the database (because normal alerts are boring and annoying).
  • Overhauled the database schema to be more accurate and versatile, and added the schema's new structure in schema.json.
  • Changed the date format to YYYY/MM/DD to be more standardized.
  • Added a "Current Age" info that displays the patient's current age and how many months until the next birthday.
  • Most of the changes are little details in the code, so I recommend comparing this version's source code with the previous one using tools like the compare functionality in vscode to get an accurate idea of the changes (the source code is still pretty small so it's easy to check and follow).

[0.0.1] Prototype - 2024/03/11

  • Initial release