Commit graph

12 commits

Author SHA1 Message Date
Johan Le Baut
eecbde1d24 no elig link for aquilenet 2022-04-13 11:27:02 +02:00
Johan Le Baut
b02881720d call eligibility tools 2022-04-13 11:04:48 +02:00
Johan Le Baut
e6d6ba013b display per result 2022-04-12 23:17:40 +02:00
Johan Le Baut
4a6f063c1f Add script to fetch latest arcep data 2022-04-11 09:49:51 +02:00
Johan Le Baut
b9df2de12a ajout connexion Liazo 2022-03-23 22:54:04 +01:00
Félix Baylac-Jacqué
52e4ecb2a2 webapp: save map position/zoom state in the URL search string
Doing this provides the user a way to share the result of a
eligibility test with other people by sharing the browser URL.
2022-02-22 17:01:34 +01:00
Félix Baylac-Jacqué
b708c894be webapp: vendor leaflet 2022-02-22 16:05:15 +01:00
Félix Baylac-Jacqué
f98598718f webapp: fix absolute links
Some links were set as absolute. It's probablematic since we're
deploying the application at tools.aquilenet.fr/ftth-ipe-map/ instead
of the top-level of a sub-domain as I was expecting.
2022-02-22 15:53:42 +01:00
Félix Baylac-Jacqué
38c67ee588 Webapp: add real elig data query
When a acceptable zoom level is reached, the frontend is going to
query the DB for the eligibility data associated to the region the
user is viewing.

When requesting too much data, the frontend gets pretty slow. In order
to prevent that, we require a minimal zoom level before triggering the
actual request.
2022-02-22 14:24:41 +01:00
Félix Baylac-Jacqué
925d93fc58 Frontend: fix minor bug on the fetchEligData button 2022-02-21 19:00:40 +01:00
Félix Baylac-Jacqué
6c8c3b138d webapp: fetch eligibility data on backend
We fetch the eligibility data from the backend for the area the user
is currently viewing.

We don't want to trigger the search when the user is zoomed out, it
could be heavy on the backend CPU. Hence, we trigger the fetch after
the user searched for his real address or reached a good-enough zoom level.

The backend is currently returning a dummy answer.
2022-02-21 17:21:21 +01:00
Félix Baylac-Jacqué
8fbad8b7b1 webapp: display interactive map + geocoding
Adding an interactive map with a geocoding search bar. We use leaflet
with the openstreetmap.fr tiles. As for the geocoding part, we use
komoot's photon API for the time being.
2022-02-21 15:28:19 +01:00