gcivil-nyu-org / nycCivilServiceJobs

4 stars 3 forks source link

It takes longer time when users try to find all jobs. #128

Closed Huanjin-Zhang closed 3 years ago

Huanjin-Zhang commented 3 years ago

Expected Behavior

When users try to find all jobs by simply clicking on "search" under the "job" tab. It should show all the information ASAP.

Current Behavior

For now, it will take a longer time to load filters than I expect if there are lots of data(in this case, 656 jobs). Also, it takes some time to reload the result after clicking on the sort function.

Ideas for Improvement.

It may be better to redesign the method to get the data or something else.

Steps to Reproduce

  1. I click the search under "Job" tab.
  2. I click other sorting functions.

Context (Environment)

image

gsavitha commented 3 years ago

Longer load time is due to large number of jobs being loaded. Added Pagination to fix this issue. Deployed to staging,