Add identity verification to frontend
The profile page of a guest now shows a verification button if the guest has a passport or national identificaiton number that has not been verified. Clicking the button shows a dialog, with a confirmation button which triggers a PATCH request to the backend and reloads the page when it returns. Resolves: GREG-101
parent
4ae7757f
No related branches found
No related tags found
Showing
- frontend/src/components/confirmDialog/index.tsx 50 additions, 0 deletionsfrontend/src/components/confirmDialog/index.tsx
- frontend/src/components/identityLine/index.tsx 56 additions, 0 deletionsfrontend/src/components/identityLine/index.tsx
- frontend/src/hooks/useGuest/index.tsx 5 additions, 3 deletionsfrontend/src/hooks/useGuest/index.tsx
- frontend/src/hooks/useGuests/index.tsx 4 additions, 3 deletionsfrontend/src/hooks/useGuests/index.tsx
- frontend/src/interfaces/index.ts 18 additions, 2 deletionsfrontend/src/interfaces/index.ts
- frontend/src/routes/sponsor/guest/guestInfo/index.tsx 13 additions, 5 deletionsfrontend/src/routes/sponsor/guest/guestInfo/index.tsx
- frontend/src/utils/index.ts 15 additions, 1 deletionfrontend/src/utils/index.ts
- gregui/api/views/person.py 14 additions, 1 deletiongregui/api/views/person.py
- gregui/views.py 14 additions, 1 deletiongregui/views.py
Please register or sign in to comment