jwir3 / arbitrator

A synchronization engine for ArbiterSports to Google Calendar
GNU General Public License v3.0
3 stars 0 forks source link

Add more complex location determination #33

Closed jwir3 closed 9 years ago

jwir3 commented 9 years ago

Right now, we only add locations as the exact strings that are in AS. We should modify this to do the following:

  1. If the location name isn't in the preference store, then prompt the user for a set of possible locations (perhaps within X miles from their home) using google maps API.
  2. Once a valid location (with an address is obtained), store this in the preference store with the name of the location as the key.
  3. Allow users to modify these location preferences and do the following:
    • Change the address associated with them
    • Delete a given entry
    • Link two corresponding names (e.g. if one league entered "BIG" and another league entered "Bloomington Ice Garden", the user should be able to link these two as representing the same physical location).

The location address associated with the given name, once resolved, should be what is entered into google calendar (unless one can't be resolved for some reason, then the name should be used).