CORREZIONI:
- Badge confrontato ESATTAMENTE come stringa (rimosso .lstrip("0"))
- Success modal si chiude quando arriva nuovo badge (fix dipendenze useCallback)
- Polling ogni 30s per invalidare sessione se server riparte
- Area carosello allargata per testi lunghi (es. russo)
DOCUMENTAZIONE:
- API_SPECIFICATION.md aggiornata: badge come stringa esatta
- Creata TEST_CHECKLIST.md con 22 test manuali
- Aggiornati piani backend e frontend
Badge sono STRINGHE, non numeri:
- "0008988288" != "8988288" (zeri iniziali significativi)
26 lines
565 B
JSON
26 lines
565 B
JSON
{
|
|
"validator_password": "focolari",
|
|
"room": {
|
|
"room_name": "Sala Assemblea",
|
|
"meeting_id": "VOT-2024"
|
|
},
|
|
"users": [
|
|
{
|
|
"badge_code": "0007399575",
|
|
"nome": "Laura",
|
|
"cognome": "Rossi",
|
|
"url_foto": "https://randomuser.me/api/portraits/women/2.jpg",
|
|
"ruolo": "Votante",
|
|
"ammesso": true
|
|
},
|
|
{
|
|
"badge_code": "0000514162",
|
|
"nome": "Giuseppe",
|
|
"cognome": "Verdi",
|
|
"url_foto": "https://randomuser.me/api/portraits/men/3.jpg",
|
|
"ruolo": "Tecnico",
|
|
"ammesso": false
|
|
}
|
|
]
|
|
}
|