Location enhancement
Location should be applied in all pages consistantly, ie if a location is applied it should not be lost when I change page:
- the location applied (ex: Lyon) should clearly appear in the user interface
- the displayed results should be filtered accordingly
- the user must have the possibility to clear the location (a cross is there but it doesn't work properly) Distance should be managed similarly.
Location by order of priority would be:
- empty (then distance should be empty too, or even not shown)
- setup by instance admin (##933)
- setup by user (already in place in user parameters but not applied consistantly) - which would override the admin instance setup
- choosen by the user at any time, either by using "get my location" or by entering a value manually. Get my location already exist (small pin) but it should stand out more (a button with text "Use my location")
Nice to have: Having the possibility to select the location of the homepage in the URL (ex: URL https://mobilizon.fr/?locationName=Île-de-France&lat=48.8534951&lon=2.3483915&distance=25_km&page=1)
Note: after this change is done, "logged home page" should only show the agenda ("events nearby" are not needed anymore)
Edited by Lahax