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

Backend: Limit the number of nearest recycling bins displayed to 5 #199

Closed
neozhixuan opened this issue Oct 16, 2023 · 0 comments · Fixed by #205
Closed

Backend: Limit the number of nearest recycling bins displayed to 5 #199

neozhixuan opened this issue Oct 16, 2023 · 0 comments · Fixed by #205
Assignees
Labels

Comments

@neozhixuan
Copy link
Collaborator

Context
We are facing an issue; there are 12000 recycling bins in Singapore, and if the user selects an item belonging to a recycling bin (anything in RECYCLABLE category), it displays all recycling bins within 3km by default. We want to limit that to just 5 nearest bins for ease.

Task

  • Adjust the code in the hooks folder that calculates and saves the nearest recycling facilities as a JS object such that at most 5 Blue Bins can be added
  • Ensure that the change works, in the map page

Figma Link

Acceptance Criteria
npm run build works

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

Successfully merging a pull request may close this issue.

2 participants