Skip to content

street-level zones: Migration + Admin

Vincent Agnano requested to merge feature/street-level-zones into master

Created by: adipasquale

https://trello.com/c/q2eaS2XJ/1108-secto-support-des-zones-de-niveau-rue

  • add street fields to zones table

image

  • New interactive zone form to toggle between city level and street level and give contextual informations

sect

  • Densified zones list display in sectors#show

Screenshot_2020-10-28_at_13 22 41

  • handle street informations in zone files imports, refactored instructions

Screenshot_2020-10-28_at_13 34 15

  • handle zone level streets in user searches

  • extracted a row-level object from the ImportZoneRowsService that was getting too big. this could/should have been extracted as a preliminary PR, sorry

  • fixed somewhat unrelated edge case of Users::GeoSearch attributions: when two sectors matched for a search, one attributed to the full organisation O1 and the other attributed to specific agents of the O1 organisation => the second match is redundant and should not show up at all.

left for future optional improvements :

  • ad-hoc interface that takes a list of city names and returns the matching BAN ids to help importing big lists
  • debug interface : enter an address and show which zones were matched and what attributions there are

Merge request reports