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

Replace areaMap endpoint #826

Open
dinukadesilva opened this issue Aug 25, 2020 · 1 comment
Open

Replace areaMap endpoint #826

dinukadesilva opened this issue Aug 25, 2020 · 1 comment
Assignees
Labels

Comments

@dinukadesilva
Copy link
Member

Currently, using this endpoint only the area mappings of the tally sheet listings are taken care of. Consequently, it has so many redundant data.

I propose, let's make the area get all endpoint to take a list of areaIds and a list of parentAreaIds. So, that based on the tally sheet listing, we could retrieve the required list of mappings only.

I see following tasks in high level.

  1. Enable the additional parameters in area get all.
  2. Adding a service provider [1]for areas in front end.
  3. Replace all the instanced in the frontend where areaMap is used.

[1] https://github.com/ECLK/results-tabulation/tree/master/results-tabulation-ui/src/services

umayangag added a commit to umayangag/results-tabulation that referenced this issue Sep 4, 2020
dinukadesilva added a commit that referenced this issue Sep 8, 2020
area map replacement endpoint #826
@dinukadesilva
Copy link
Member Author

Let's get the UI also refactored accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants