Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Statement 1

As of now we are showing all records , once we have more data api call , page loading will take more time, so we need to introduce pagination here


Previous Implementation 
GET  /v1/dashboard/progress/course/:batchId?Period=LAST7/LAST14


New Implementation

...

  1. If new data comes up in between of next query then data will be mismatch 

OuputOutput

Code Block
"result" :{ data :  [{
	batchEndsOn: "2019-02-04"
	enrolledOn: "2019-01-29 06:51:36:440+0000"
	firstName: "User"
	lastAccessTime: null
	lastName: "twotwo"
	org: "Sunbird"
	progress: 0
	user: "c06222b0-e17e-4763-a8e9-371f30e51886"
	orgName:""
	phoneNumber:""
}]
offset:
totalCount:
totalCompletionCount:

}


Issues: Portal team is not working on this ticket and we are changing the parameters so to support both 

  1. We can create a v2 request. 
  2. We can keep the earlier code itself and add extra code to handle both parameters.


Problem Statement 2

In the current process, the download extract is sent to the course mentor’s email ID. We will continue sharing the extract in the email mode to the course mentors' email id.

...