Modify hub and hub filtering for hub and rider auto assignment #607

Closed
opened 2021-07-30 07:43:34 +00:00 by korina.cordero · 6 comments
korina.cordero commented 2021-07-30 07:43:34 +00:00 (Migrated from gitlab.com)
  1. Add flag_hub_auto_assign and flag_rider_auto_assign to Hub entity so that we know if hub can be auto-assigned and/or rider auto-assigned.
  2. Add switches to UI for the 2 new flags.
  3. Add same flags to HubCriteria so that we can filter out the hubs according to flag value.
  4. Retain default values (false) for those two flags when dispatching a JO via admin panel. HubCriteria's values for those 2 flags should be false.
  5. In mobile app, set the HubCriteria flags for hub auto assign and rider auto assign to true (check the code on this one. this is the tricky one). But the point is, for auto assign rider, we should only select from hubs with auto assign rider == true. for auto assign hub, we only select from hubs with auto assign hub == true.
1. Add flag_hub_auto_assign and flag_rider_auto_assign to Hub entity so that we know if hub can be auto-assigned and/or rider auto-assigned. 2. Add switches to UI for the 2 new flags. 3. Add same flags to HubCriteria so that we can filter out the hubs according to flag value. 4. Retain default values (false) for those two flags when dispatching a JO via admin panel. HubCriteria's values for those 2 flags should be false. 5. In mobile app, set the HubCriteria flags for hub auto assign and rider auto assign to true (check the code on this one. this is the tricky one). But the point is, for auto assign rider, we should only select from hubs with auto assign rider == true. for auto assign hub, we only select from hubs with auto assign hub == true.
jankstudio commented 2021-07-30 07:45:15 +00:00 (Migrated from gitlab.com)
created branch [`607-modify-hub-and-hub-filtering-for-hub-and-rider-auto-assignment`](/jankstudio/resq/-/compare/master...607-modify-hub-and-hub-filtering-for-hub-and-rider-auto-assignment) to address this issue
korina.cordero commented 2021-07-30 08:03:53 +00:00 (Migrated from gitlab.com)

mentioned in commit 406568ab3d

mentioned in commit 406568ab3dcf89c6996ff75b1a13e6722493e762
korina.cordero commented 2021-07-30 08:34:22 +00:00 (Migrated from gitlab.com)

mentioned in commit 04e803510c

mentioned in commit 04e803510ca52a8a9b7f6237c3add47a61a95782
jankstudio commented 2021-07-30 09:17:30 +00:00 (Migrated from gitlab.com)

mentioned in commit 49fdfa9ea6

mentioned in commit 49fdfa9ea6ae6edc230bbd06e5c6c159b3f3e770
korina.cordero commented 2021-07-30 10:46:30 +00:00 (Migrated from gitlab.com)

mentioned in commit f54476a173

mentioned in commit f54476a1737a12c7faa19f1ecae2763aaaac16d6
korina.cordero commented 2021-07-30 11:02:10 +00:00 (Migrated from gitlab.com)

mentioned in merge request !722

mentioned in merge request !722
korina.cordero (Migrated from gitlab.com) closed this issue 2021-08-02 02:12:47 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: rgutierrez/resq#607
No description provided.