AOSSIE-Org / AOSSIE-Org/Ell-ena

FEATURE REQUEST: Add back button, fix Resend cooldown state, and improve OTP input UX

Ouverte
#327 0 commentaires 0 réactions 1 personne assignée Réclamée par @g-k-s-03 Voir sur GitHub
bug enhancement
Langage dominant
Dart
Étoiles
54
Forks
110
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Feature Description**
Improve usability of the OTP verification screen.

Problem Statement
- `VerifyOTPScreen` has no back/cancel button — a user who wants to leave has no in-app way to do so.
- The Resend button remains visually enabled during its 60s cooldown; tapping it silently no-ops instead of being disabled with clear feedback.
- The 6-box OTP input has no backspace-to-previous-box behavior and no paste support for a copied code.

Expected Outcome
- Add a Back/Cancel action consistent with `ForgotPasswordScreen`/`SetNewPasswordScreen`.
- Gate the Resend button's `onPressed` on the cooldown flag, not just loading state.
- Support backspace navigating to the previous box, and pasting a full code auto-filling all boxes.

Additional Context
Affects: `lib/screens/auth/verify_otp_screen.dart`.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on implementing this feature

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.