Commit graph

18 commits

Author SHA1 Message Date
Johan Le Baut
3e69f83b66 factorise spinner & css result.html 2022-02-13 16:53:04 +01:00
Johan Le Baut
68b137c8f9 add button spinner 2022-02-13 12:54:39 +01:00
Félix Baylac-Jacqué
d0715b0d15 autocomplete: switch autocomplete.js
Turns out implementing a autocomplete widget from scratch is more
tricky than expected. It's a shame no such widget has been implemented
part of the HTML standart :(
2022-02-13 12:24:43 +01:00
Johan Le Baut
68434bf446 handle axione erreur 2022-02-13 12:12:58 +01:00
Johan Le Baut
8c7ff6a11b send codeRivoli to back 2022-02-13 00:26:31 +01:00
Félix Baylac-Jacqué
bd24f9044c Autocomplete: set input to selected value when 1 option 2022-02-12 23:51:17 +01:00
Félix Baylac-Jacqué
c9a0a898aa frontend: implement fetchwithBackoff
We're fetching too soon and too often stuff from the backend. Making
the search input behaviour a bit flaky.

Implementing a backoff fetching strategy. We'll trigger the query only
after 500ms of inactivity and will cancel the previous requests before
triggering a new one.
2022-02-12 23:32:32 +01:00
Johan Le Baut
3fe2a4af9c fix selection commune/voie 2022-02-12 21:31:23 +01:00
Johan Le Baut
7672a52239 cancel promise on keyup 2022-02-12 20:04:05 +01:00
Johan Le Baut
3f7d4b6331 fantoir voie: limite de recherche et recherche '' 2022-02-12 18:39:08 +01:00
Félix Baylac-Jacqué
3acd1dd349 Adapt backend to new fantoir data schema
We updated the fantoir DB schema. See
https://git.alternativebit.fr/NinjaTrappeur/fast-fantoir/src/branch/master
for more informations.
2022-02-12 16:30:07 +01:00
Johan Le Baut
46aeaf7da4 adresses API: add limit param 2022-01-28 15:42:08 +01:00
Johan Le Baut
71229491f7 remove logging 2022-01-27 23:59:53 +01:00
Johan Le Baut
202fda826f complete parcours 2022-01-27 23:53:19 +01:00
Johan Le Baut
2d4b428093 remove duplicates communes 2022-01-26 21:36:28 +01:00
Johan Le Baut
50dd783b57 frontend: enter commune 2022-01-26 15:57:46 +01:00
Johan Le Baut
c8d2e1868d init front with bootstrap 2022-01-26 10:00:01 +01:00
Félix Baylac-Jacqué
2daf6ab8e2
PTO lookup webapp
We add a small flask-powered web application in charge of retrieving
the PBO-related data from axione.
2021-10-18 19:49:35 +02:00