Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Report & Block] Show restricted-account recovery state

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

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
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
dart, flutter
Lĩnh vực
authentication, frontend

Hướng nghiên cứu

Start in lib/screens/retry_screen.dart and find where the existing network-retry message is rendered, then locate the feature/auth error mapping that yields account_restricted and reporter_not_allowed. Read issue #121 first, since it is listed as a prerequisite. Done means a restricted account sees Retry and Sign out with no moderation details, a network failure keeps its current message, and flutter test test/screens/retry_screen_dp_r07_2_test.dart and flutter analyze pass.

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

Mô tả

moderation

What to build

Show a safe recovery screen when account restrictions prevent an action. Offer Retry and Sign out without exposing moderation details or promising that data deletion removes the restriction.

Files

Steps

  1. Map account_restricted/reporter_not_allowed to account restriction text at the feature/auth error limit.
  2. Render Account actions are unavailable right now. with Sign out/Retry callbacks; never say deleting data lifts restriction.
  3. Keep raw server exception and moderation details out of UI.

Example

A restricted account sees Retry and Sign out; a normal network failure still uses the existing network-retry message.

Check it works

In test/screens/retry_screen_dp_r07_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/retry_screen_dp_r07_2_test.dart and flutter analyze.

Before starting

  • #121 — Replace unavailable/quarantined session detail

References

Assign yourself before starting, or comment to claim the issue. Project setup.

Ngôn ngữ chính
PLpgSQL
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 DevDogsUGA/DogPack

Tất cả issue của DevDogsUGA/DogPack

Issue tương tự

Thêm issue về Security

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.