Closed omaralhasan closed 10 months ago
@omaralhasan it's a demo mode. I find it unnecessary to save data when testing the website. maybe i can find a way to save data somewhere without saving it to the data base
@omaralhasan so now we are able to add data in demo mode. I used local storage to make it possible. so now we are able to add only one patient and only one group to show user how our website works without saving unnecessary data to the database. (in addition to the dummy data retrieved from the JSON file)
@omaralhasan note that:
(Ps: I added your pie chart to demo and normal mode)
Why are we constantly limiting ourselves to demo functionality? It's about having a functional application, and in many places, it seems to me that this is not implemented. The demo should not be an important specific goal of our system. I thought our application (the code) should be capable of saving new patients and groups in the database, but we haven't implemented this logic anywhere! If we want to hand over or release the software, then can users create new groups and patients and save them permanently? Or was the demo idea just a way out so we don't have to do complicated tasks?
done
Why can't new groups or new patients be added in demo mode? When I start a session and conduct an experiment, regardless of whether I have completed the session, I should have data stored somewhere at the end and see this under patient info. Is there backend implementation for this?