e-mission / nrel-openpath-deploy-configs

Configurations for current OpenPATH deployments, published for transparency
BSD 3-Clause "New" or "Revised" License
2 stars 9 forks source link

Adding Harvard Program #31

Closed Abby-Wheelis closed 10 months ago

Abby-Wheelis commented 10 months ago

We are in contact with partners at Harvard that wish to collect data using openPATH. This PR will add the config for their study. They only wish to support English as of right now, and want to include a custom survey. The file is in draft state for now, as we await clarification and submission of a custom form.

Abby-Wheelis commented 10 months ago

Preview of the Join Page:

Screenshot 2023-08-31 at 8 58 30 AM

Some of the commit churn is from adjusting the config file to prevent an "unknown subgroup" error on the join page, this was resolved by marking the config as a study and setting token_generate to true in the admin-dashboard section

Abby-Wheelis commented 10 months ago

Sample of the intro screen in the emulator:

I can't get past accepting permissions, but I think I'm remembering that happening last time? If that's expected behavior, let me know, and I'll add a note in the documentation for testing!

shankari commented 10 months ago

I can't get past accepting permissions, but I think I'm remembering that happening last time? If that's expected behavior, let me know, and I'll add a note in the documentation for testing!

That is likely because the stage is set up to require one of the valid tokens and the autogenerated ones are not.

Abby-Wheelis commented 10 months ago

That is likely because the stage is set up to require one of the valid tokens and the autogenerated ones are not.

I'm not sure I understand what you mean. Should I try logging into the emulator again with a different token? I'm not getting an invalid opcode popup, which I have sometimes when I structure an opcode I make for testing differently than the config expects. The app just won't progress when I tap "accept" after turning the permissions green, and I see log statements about the consent being stored.

shankari commented 10 months ago

The app just won't progress when I tap "accept" after turning the permissions green, and I see log statements about the consent being stored.

It is because the server has not yet been created. But they can't create the server until the config is ready. So let's go ahead with this config (after the rename) and then re-test once the server is ready