monitorizare-vot-ong icon indicating copy to clipboard operation
monitorizare-vot-ong copied to clipboard

[Polling stations] View polling stations list per county

Open aniri opened this issue 4 years ago • 0 comments

As an admin user I want to be able to view the list of Polling stations in the application.

Backend implemented in https://github.com/code4romania/monitorizare-vot/issues/255

UI available here: https://www.figma.com/file/61NHR7fwmV1Dsv4Pb6F8T7/code4ro_mv_user-management_2018.04.21-(Copy)?node-id=754%3A0

Depends on https://github.com/code4romania/monitorizare-vot-ong/issues/215 Related to https://github.com/code4romania/monitorizare-vot-ong/issues/216

When clicking on a county in the list or using the edit county option, a separate page should open that displays to county info and the polling station list for that county (use GET api/v2/polling-station).

Permissions:

  • master admin (organiser) can view and also edit counties and polling stations
  • ngo admin (ngoadmin) can only view the counties and polling stations lists

Needed functionalities:

  • show the paginated list of polling stations per county
  • display an empty state if no polling stations are returned by the API
  • add the possibility of filtering polling stations by number (exact number and range)

Polling stations data model:

  • id, address, coordinates, adminTerritoryCode, IdCounty, TerritoryCode, Number

Please use bootstrap classes as much as possible and avoid adding custom css styles to keep the codebase clean & consistent. The new UI should be as similar as possible to the one in figma, not pixel perfect.

Also, make sure all texts are extracted in translation files.

aniri avatar Feb 29 '20 12:02 aniri