Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polling stations import / export #129

Open
2 tasks
RaduCStefanescu opened this issue Jun 6, 2019 · 0 comments
Open
2 tasks

Polling stations import / export #129

RaduCStefanescu opened this issue Jun 6, 2019 · 0 comments

Comments

@RaduCStefanescu
Copy link
Contributor

RaduCStefanescu commented Jun 6, 2019

As an admin user I want to be able to import a list of Polling stations in the application and export a csv with the example format needed for importing.

Option only allowed for the master admin account (an ngo admin belonging to an ngo that has the organizer flag set to true)

Backend needed. To be implemented when code4romania/monitorizare-vot#237 is done.

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

Add two new button on top of the counties page (depends on #215).

Needed functionalities:

  • add the button for exporting the current polling stations list, the button should be available on top of the counties list; use the endpoint GET api/v2/polling-station/csvFormat - downloads existing polling stations in csv format
  • add the button for importing the polling stations list, the button should be available on top of the counties list; use the endpoint POST api/v2/polling-station/import - for importing the csv file

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 aniri changed the title [Polling Stations:FE] Feature to load information about polling stations [Not ready for dev] Polling stations management Jan 12, 2020
@aniri aniri removed the UI-needed label Feb 18, 2020
@aniri aniri changed the title [Not ready for dev] Polling stations management [Not ready for dev] Polling stations import / export Feb 29, 2020
@aniri aniri changed the title [Not ready for dev] Polling stations import / export Polling stations import / export Oct 25, 2020
@aniri aniri removed the autumn-2020 label Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants