Changing the email or phone number: Go back during a resend brings the code step back with no address

Abierto
#15,050 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
frontend

Línea de trabajo

Start from the Settings page's Account section, where the email and phone number tabs have a code step with a Go back button and a SendToken method that shows that step again. Reproduce the race by pressing Go back while a resend is pending, then check that the address is cleared and the code step is shown with an empty field. Done means either disabling Go back while a code is being sent or ignoring a send that answers after the user has gone back, with the code step no longer showing an empty address.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

On the Settings page's Account section, the email and phone number tabs' code step has a Go back button that stays enabled while a resend is on its way. If it's pressed then, the tab goes back to its first step and clears the address. When the resend answers, SendToken shows the code step again and copies the now empty address into it. The code step then has an empty, disabled email or phone number field, and the code can't be confirmed, as the address is required, until Go back is pressed again.

Go back shouldn't be available while a code is being sent, or a send that answers after it should leave the first step as it is.

Lenguaje dominante
C#
Estrellas
1.4k
Forks
264
Merge medio
7 h 38 min
PR fusionados (30 d)
544

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bitfoundation/bitplatform

Todos los issues de bitfoundation/bitplatform

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.