Skip to main content

Weeks 24 + 25

date: 2025-03-17

Changes to the codebase

  • Rebuilt the frontend using vite instead of create-react-app as it is did not work with our frontend tests.
  • Unit testing on both frontend and backend have been implemented.
    • alt text
    • alt text
    • alt text
  • Readme updated and improved to include precise instructions on how to run the project.
  • Auto generate documentation for the backend. But do not have time to work on the frontend documentation.

Implemented Bug Fixes

  • Reporting map jittering when typing a new report bug fixed.
  • Fixed bug when the user drags the marker on the reporting map and saves it but the marker does not save the new location.
  • Grey sidebar bug after viewing a report from the home page map fixed.
  • LLM disabled on mobile due to performance issues.
  • Upload pdf to events page leads to runtime error if there is no image. Fixed this by checking if the uploaded file is an image. If its an image then store it, if not then dont.
  • Featured events empty date for POI events leads to N/A output. Fixed this change through the backend in views.py as it was returning "N/A" if there was no openTime.
  • When showing our project to Professor Yun, he pointed out that there is no header on detailed Events pages. This was immediately fixed.

Website report

We have been working on the website report. Each person has been assigned specific sections to work on. Whoever implemented a specific feature is responsible for writing the documentation for that feature.

Evaluation

  • We believe we have fixed all known bugs apart from the like button functionality not working on the for you section of the home page. We do not plan on fixing this as it is not a priority.
  • We have tested the ReadMe file to ensure that it is easy to follow and understand.
  • We have tested the project on different Operating Systems such as Windows, MacOS, and Linux to ensure that it works on all of them.
  • We believe our project is ready to be handed over to our client.

What We Will Be Doing

  • We will continue working on the website report.
  • Ensure our code is ready to be handed over to our client.