BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
13 stars 10 forks source link

D-Cog game #824

Open sarithapillai8 opened 2 months ago

sarithapillai8 commented 2 months ago

D-Cog game sample - https://development.d29wtym67es164.amplifyapp.com/

D-COG SHORT Options (chosen by researcher through the Lamp portal) Display: iPAD (this will parallel the iBOCA3 website game) Smartphone (smaller screen and maxes out at 10 squares)

If correct: Increase by 2 squares and 1 dog If incorrect: Decrease by 2 squares and 1 dog Stops: For Smartphone version at 10 squares.

Data Collected: Same as iBOCA3 website game Scoring: Same as the iBOCA3 website game

sarithapillai8 commented 2 months ago

As we are facing issues with dashboard staging update, the game updates are updated in https://lamp-dashboard.zcodemo.com/#/

evinkalengaden commented 1 month ago

Hi @kijote0 ,

 We have updated the Dashboard Staging with these changes. Could you please review and let me know your comments.

Thanks, Evin K Alengaden

kijote0 commented 1 month ago

Hi @evinkalengaden, where should I navigate to find the D-Cog game on the staging dashboard? I looked under activities, but there does not seem to be any new activities in the dropdown menu

evinkalengaden commented 1 month ago

Hi @kijote0 Thankyou for the feedback. Please try after clearing the browser cache of the browser and try Dashboard Staging. Here the game is listed and for the reference, I am attaching a document in which we have added a D-Cog sample game screenshots. D-cog Reference.docx

If you are still facing any trouble on adding the D-Cog game, Let me know.

Thanks, Evin K Alengaden

kijote0 commented 1 month ago

Hi @evinkalengaden, I was able to see the D-Cog game in the dropdown menu after clearing my browser cache as you said, but when I tried opening the activity on a test user account on the desktop version of mindLAMP, I got the following error message: d_cog_error I also noticed that when creating a new D-Cog activity there is no default option for which tab the activity is shown under; I selected the "Assess" tab, but I am unsure of whether this might have caused the error message.

sarithapillai8 commented 1 month ago

@kijote0 Could you please pull the image in dashboard staging? Previously created activities are working here. Some update seems missing in staging.

image

kijote0 commented 1 month ago

@sarithapillai8 We have restarted the lamp_dashboard server and pulled the image in the staging dashboard, so hopefully the updates should now be reflected in staging.

sarithapillai8 commented 1 month ago

@kijote0 https://github.com/BIDMCDigitalPsychiatry/LAMP-dashboard/commit/63133d30823a5df6b77d7a3db08865ca44b092f3 - these changes are not reflected in staging. I tried to update the repo again. Can you update the staging image again?

kijote0 commented 1 month ago

@sarithapillai8 Sure thing, just updated the staging image again.

sarithapillai8 commented 1 month ago

@kijote0 Game is loading now. Could you check?

kijote0 commented 1 month ago

@sarithapillai8 Just checked and I still get a screen with "about:blank".

sarithapillai8 commented 1 month ago

@kijote0 You need to create a new activity with D-cog spec after clearing cache.

kijote0 commented 1 month ago

@sarithapillai8 Just tried again after clearing the cache, and I was able to test the game. The game seems like it works as intended

kijote0 commented 1 month ago

@sarithapillai8 Is there a timeline for when the d-cog game will be added to production?

sarithapillai8 commented 1 month ago

@kijote0 We can release it to production if everything working as expected. We need to create activity_spec for D-cog while doing the release. Please let me know if I need to do the release.

sarithapillai8 commented 1 week ago

2-min duration for the game implemented as suggested.