Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Problem Statement 1

Show 200 records in one page view with title ‘Displaying 200 out of <total records in the batch>. The various tabs - ‘LAST 7 DAYS LAST 14 DAYS LAST 5 WEEKS FROM BEGINING ‘ are not needed. Please remove these tabs.


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


New Implementation
Approach 1
GET /v1/dashboard/progress/course/:batchId?limit=200&offset=0
  1. With the help of limit we can define the data size.
  2. offset will help in getting the starting point.

With the help of limit and offset the details of the user progress in the desired batch will be fetched and calculate the progress of user 

Pros

  1. Limit will be dynamic, so we can change limit anytime

     Cons

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

Ouput

{
	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:""
}


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.

The current csv file has the following fields:
Loginid
Name
CreatedDate
Language
Subject
Grade
Progress

Now updated csv wil have 





  • No labels