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

[Counties] Add or edit counties #216

Open
3 tasks
aniri opened this issue Feb 22, 2020 · 6 comments
Open
3 tasks

[Counties] Add or edit counties #216

aniri opened this issue Feb 22, 2020 · 6 comments

Comments

@aniri
Copy link
Member

aniri commented Feb 22, 2020

Add the option of adding new counties and editing of existing ones.

The add option should only be available for master admins (organizer flag set to true).

The edit option should only be available for master admins (organizer flag set to true).
Other admins will only have a view option that opens the edit county details page in view mode.

Backend part was implemented in code4romania/monitorizare-vot#254 . The endpoint for editing counties is POST api/v1/county/{id}

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

  • display the add county button above the counties list
  • add a new page for adding / editing county details

Capture

  • add the available actions button&dropdown in the counties list - available actions are edit, delete and set as first

Counties data model:

  • id, code, name, numberOfPollingStations, Diaspora flag, Order

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.

@Botosio
Copy link
Contributor

Botosio commented Oct 19, 2021

Oh since I am doing the list view, you might as well add me to this too.

@Botosio
Copy link
Contributor

Botosio commented Nov 2, 2021

@aniri sorry I missed hacktoberfest on this one however, I was trying to finish it up today. I'll let you know if I run into any issues.

@surdu
Copy link
Member

surdu commented Oct 3, 2022

Is this up for grabs, or is @Botosio still working on it ?

@Botosio
Copy link
Contributor

Botosio commented Oct 3, 2022

Oh sorry this was assigned last year and I must not have finished it. Please take it for this year Hacktoberfest!

@aniri aniri assigned surdu and unassigned Botosio Oct 4, 2022
@surdu
Copy link
Member

surdu commented Oct 16, 2022

Well, crap ... Only now I realised this project is written in Angular :(

Sorry, but I'm going to drop this issue @aniri

If you want it, it's all yours @Botosio

@Botosio
Copy link
Contributor

Botosio commented Oct 16, 2022

Oh ok.

@surdu surdu removed their assignment Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Monitorizare vot - API and Web Admin
  
To do - NGO Platform
Development

No branches or pull requests

3 participants