opensrp / opensrp-web

The OpenSRP Admin Web Interface
Apache License 2.0
6 stars 1 forks source link

Household Register View #21

Open hngondoki opened 5 years ago

hngondoki commented 5 years ago

The design of the household view is as below

Screenshot 2019-08-16 at 12 49 33

The link to the styles and assets: https://marvelapp.com/53ij8g0/screen/59032776/handoff

sarfaraz0075 commented 5 years ago

@hmakandi , we need the following clarifications on this issue:

  1. Are we pulling all the data for HH register view in a single request? If so, it would be very slow considering the large number of HHs in our projects.
  2. Is searching going to be client side searching? If yes, will this searching be on the whole data set or just on what is viewed on the first page?
  3. On selecting the level in the drop-down, the breadcrumb for location will be adjusted to the appropriate level and on selecting a particular location from the breadcrumb will filter the HH data accordingly. Is this the case?
hngondoki commented 5 years ago

@sarfaraz0075

  1. OpenSRP's API limits requests to 1000, pagination is preferred. We shall discuss and update on the design for pagination.

  2. For search, it should be for the whole dataset, which means the search API will need to change so that this is reflected and sorting as well

  3. Yes, the breadcrumb should be adjusted and the data filtered accordingly

peterMuriuki commented 5 years ago
* The search bar should be able to search any matching records within the table

@hmakandi @tobiasmakai Isn't the second search redundant if its goal is just to search records in the current view.