Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.
This repository was archived by the owner on May 26, 2025. It is now read-only.

[Polling stations] View polling stations list per county #222

@aniri

Description

@aniri

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

Backend implemented in code4romania/monitorizare-vot#255

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

Depends on #215
Related to #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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions