vuhuy194779 / Agile-Web-Dev-CITS5505

Web Application for Training Tracking
0 stars 0 forks source link

Issues with Interactive Calendar Implementation and Data Upload #24

Closed OliviaZ12 closed 4 weeks ago

OliviaZ12 commented 1 month ago

I've written some js code to make the calendar on the dashboard clickable, but it didn't work—possibly due to minor issues with the database connection. I tried uploading data, but it failed. It might be because my computer is malfunctioning, as it has been acting strangely with various issues over the past few days. Could someone else please check if data upload works normally? Thanks!! Image

Image

FakePicasso1 commented 4 weeks ago

looks like an python value error, maybe could have a check process if isinstance(value, str): value = int(value)

vuhuy194779 commented 4 weeks ago

my fault, I forgot to cast heart rate type before sending it to backend

OliviaZ12 commented 4 weeks ago

I finally figured out that the dashboard page didn't work properly because I didn't call api.py correctly. Now I have solved this problem.

OliviaZ12 commented 4 weeks ago

The problem with uploading data now is that it can succeed without uploading heart rate information, but an error will still be reported if heart rate information is uploaded.

Image

OliviaZ12 commented 4 weeks ago

My computer system is in Chinese, so the upload part displays Chinese. This is a system issue, not related to other languages in the code.