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

Đang mở
#15,050 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
1.4k
Fork
264
Merge trung bình
7 giờ 38 phút
Pull request đã merge (30 ngày)
544

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bitfoundation/bitplatform

Tất cả issue của bitfoundation/bitplatform

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.