lukasz-kaniowski / spotter-app

0 stars 0 forks source link

Present mission tasks after user accepts mission #16

Open lukasz-kaniowski opened 9 years ago

lukasz-kaniowski commented 9 years ago

After user accepts and then start a mission he should be presented with Task Screen: I've added prototype here http://localhost:8100/#/app/missionsTasks - it was generate using ionic creator Api is described here http://docs.spotters.apiary.io/#reference/missions/mission-tasks/retrieve-a-mission-tasks

Answers will have to be saved into local starage and only uploaded to server when user clicks submit #15 At the moment there will be 3 types of tasks but later there can be more. Number of tasks will be different for different missions.

lukasz-kaniowski commented 9 years ago

consider using localForage instead of localstorage as it supports blob and we will have to store pictures locally. https://github.com/ocombe/angular-localForage

michelhabib commented 9 years ago

so i am going to rewrite the task to confirm some details, in comparison with the Task Spotting app. When the user starts the mission, he is taken to a page where he gets the different tasks and can either answer the questions in case of yes/no or text, or upload a photo. should that be similar to the original app? i mean in terms of app flow? When the user accepts the mission or start it, the mission will still appear in the missions list on the home page? because it disappears in the original app and can be only accessed from my missions menu item. When the user starts mission, the counter will start? it is now running anyway, i didn't check the counter code yet. when the mission is started, should it expire? should it alert the user when it is about to expire? what should happen if the mission fails?

I can iterate on the code as we go, but the more info i get now the less time it will take eventually :)

I will get the first iteration done anyway, and will take it from there.

lukasz-kaniowski commented 9 years ago
  1. please check the prototype that is already there for the task lists
  2. all the tasks will be presented in one page
  3. at home page it will not appear, this will be done on the backand so the result from the list api call will not return it - no need for you to change anything there
  4. there are 2 counters: one is due time for mission in general, the other for user to finish it once accepted
  5. after the counter runs out of time it should alert the user and go back to list view

Can you do presentation of tasks as a first step, please.