NCF to All Page - Mobile

Target release1.13
Epic SB-9293 - Getting issue details... STATUS
Document status
DONE
Document owner

Background

Today, the generic portal and the custodian org has NCF framework as the default framework. This isn't ideal because the NCF framework is a catch-all framework which doesn't have state specific nuances of subjects, classes and further concepts.

With more users anticipated on the custodian org with self sign up opening up and the launch, there is a need to ensure that users belonging to the custodian org will be allowed to choose from all boards and a medium, class and subject (as supported by the states).

Solution

In the mobile, after a user successful logs in if all the mandatory data is not available in profile then the user is shown a mandatory onboarding screen to select Board, Medium and Class.

User not belongs to custodian org (In this case user root org id will not be equals to custodian org id) or User belongs to custodian org (In this case user root org id will be equals to custodian org id and also for Guest user as well)

Step 1:
It will call Get channel api to get the frameworks associated with the custodian org and which will be populated in board dropdown as single select. Our assumption is that the framework name and board name will be same and each framework contains single board. The NCF framework will not be considered for the Custodian Org. 

Step 2: 
Once user selects single board in dropdown  we will call the get framework api to get the categories for that framework and board value (i.e framework name) will be replaced with actual board and associated medium, class and subject will be populated. Medium, class and subject which are multi select dropdowns.

Step 3:
When user selects all the required i.e board, medium, class then submit button will be enabled and app will call update user API with selected values along with the framework to validate at the API end.

Assumptions:

  1. User can only select in board, medium, class and subject in same respective order and after selected if higher priority field is selected with another value the next level fields will be reset to none. E.g.: If i select AP Board, Telugu medium, Class 9 and Maths Subject  if I change Board to TN Board  then medium , class and subject will be reset to none and user need to select them again.
  2. Filters for users belongs custodian org will continue to show custodian org's default framework categories and user from other than custodian org will show filters from there org's default framework(which is existing behaviour). In case of user belongs to a org which is not a custodian org then in step 1 with get channel api we will be taking default framework of that channel and populate same in the board dropdown and step 2, step 3 and assumptions are same as above.


Vinaya Kumar B