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

Add *Fake* Missing trips survey #10

Open sebastianbarry opened 1 year ago

sebastianbarry commented 1 year ago

I created and implemented the Fake missing trips survey that takes the pre-existing places-notes code and adds the Missing Trip survey to that. The code as is mostly already handles it...

Testing:

Simulator Screen Shot - iPhone 11 - 2023-01-06 at 09 31 16 Simulator Screen Shot - iPhone 11 - 2023-01-06 at 09 31 24 Simulator Screen Shot - iPhone 11 - 2023-01-06 at 09 31 29 Simulator Screen Shot - iPhone 11 - 2023-01-06 at 09 31 34 Simulator Screen Shot - iPhone 11 - 2023-01-06 at 09 31 44

The only part that is not handled, is answer.js, meaning that the survey can never "Save"/complete because there is no code to handle this. My questions is: do we want to create a generic "Answer" to new surveys so that no matter what they can respond? Or will we need to create an answer in LABEL_FUNCTIONS (in answer.js) for each new survey we create, meaning that e-mission-phone will require an update for each new survey type we enter

sebastianbarry commented 1 year ago

@shankari and @JGreenlee adding for visibility