karya-inc / KaryaAndroid-Features

2 stars 0 forks source link

[BUG]: Journey state `TEST_TASK_FAILED_END` UI #34

Open criticalAY opened 2 months ago

criticalAY commented 2 months ago

Purpose

The rejected state is not reflected in the card, create/fix the dashboard card

thedroiddiv commented 2 months ago

@atharvaTyagi Can you check if the card is present or not? If not can we get it implemented.

thedroiddiv commented 2 months ago
/ /**

 * Worker journey state, it happens for each task. User can skip at any state.

 * INTRO: Introduction to the task

 * CONFIG: Kind of metadata that is required before proceeding to the next states from worker side

 * TUTORIAL: Tutorial task, it teaches the worker how to do the task

 * TEST_TASK: Test task, it is used to evaluate the worker's readiness to do the main task

 * MAIN_TASK: Main task

 * SUCCESS_END: Worker has successfully completed the task

 * TEST_TASK_FAILED_END: Worker has been rejected at Test Task phase after validating worker's test task responses. Basically  we are assigning this state when there is scope to reattempt the test task

 * REFUSED_END: User has refused to do the task

 * TASK_COMPLETED: Admin has marked the task as completed explicitly via platform portal

 * EXPIRED_END: User has not completed the task within the deadline

 */

export const WorkerJourneyStates = [

  'INTRO',

  'CONFIG',

  'TUTORIAL',

  'TEST_TASK',

  'TEST_TASK_VALIDATION',

  'TEST_TASK_FAILED_END',

  'MAIN_TASK',

  'SUCCESS_END',

  'REFUSED_END',

  'TASK_COMPLETED',

  'EXPIRED_END',

  'SURVEY',

] as const;
atharvaTyagi commented 2 months ago

@thedroiddiv I'll check this.

thedroiddiv commented 1 month ago

@atharvaTyagi Any updates on this?

atharvaTyagi commented 1 month ago

@thedroiddiv I'll check this today, got involved in other things

atharvaTyagi commented 1 month ago

@thedroiddiv There's no card design present in the design handover for this state, I'll talk to Adi and Nitin about it.