[Polish] Retry observable launch failure only
@SY077 がすでに取り組んでいます。
2026年10月12日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- dart, flutter
- 領域
- authentication, mobile
調査の方向性
lib/screens/sign_in_screen.dartと初回コントリビューションのセットアップガイドを読み、その後、サインイン失敗時の処理を調べてください。純粋なメッセージのマッピングをlib/auth/sign_in_messages.dartに追加し、キャンセル、拒否、オフライン、不明なエラーをtest/sign_in_messages_test.dartで網羅してください。各ケースでTry againボタン付きの短いメッセージが表示され、生の例外テキストが隠され、flutter testが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What to build
Show a useful error when the sign-in page fails to open, then let the student retry. The next tap should make a new attempt rather than leave the button disabled.
Files
Steps
- In the existing error branch render Try again with onPressed:_signIn when not busy.
- _signIn already clears _error before launch; reuse it rather than a new auth path.
- Pump RetryLaunch: first call returning false shows error, tap retry, second call returning true clears error.
Example
Two button taps create exactly two signIn calls; successful retry hides prior error.
// In the named test/screens file:
import '../support/fake_gateway.dart';
class RetryLaunch extends FakeGateway {
@override
Future<bool> signIn() async {
signInCalls++;
return signInCalls > 1;
}
}
Check it works
In test/screens/sign_in_screen_4_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/sign_in_screen_4_test.dart and flutter analyze.
References
Assign yourself before starting, or comment to claim the issue. Project setup.
If you have already started, keep equivalent working code names and coordinate any shared-file changes with the dependent contributors.
- 主要言語
- PLpgSQL
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DevDogsUGA/DogPack のほかの issue
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DevDogsUGA/DogPack#131 ·
-
polish
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
DevDogsUGA/DogPack#113 ·
-
discover
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
DevDogsUGA/DogPack#106 ·
DevDogsUGA/DogPack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
apache/rocketmq-dashboard#6895 ·
メンテナーはふだん 3 日以内に返信
-
New Blacklist Entityオープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
StevenBlack/hosts#3272 ·
-
enhancement frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Albertinesilva/backend-engineering-journey-java-springboot#46 ·
-
Snyk: vulnerabilities in jackson-databind 2.21.5対応中かも @harrywu23 が今日担当しました。 オープンbug
難易度 1/5 1〜3時間 初心者へのやさしさ 80/100
SOFTENG-310-Group-4/Project-A1-310-Group-4#115 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信