[Report & Block] Render report reason and description fields
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 85/100
調査の方向性
lib/widgets/report_form.dart を作成し、保存される理由の文字列が supabase/functions/_shared/moderation/messages.ts にある合意済みの一覧と揃っているようにしてください。test/widgets/report_form_dp_r02_test.dart を書く前に、docs/guides/testing.md と Flutter のウィジェットテストのクックブックを読んでください。フォームは onSubmit コールバックを受け取り、説明文を検証します。8 つの理由が読みやすいラベルで表示され、Other/空、Spam/空、1001 文字のケースが記述どおりに動作し、flutter test test/widgets/report_form_dp_r02_test.dart と flutter analyze がどちらも成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What to build
Build the report form using the eight agreed reasons and an optional explanation. Require an explanation for “Other” and enforce the maximum length before sending anything.
Files
lib/widgets/report_form.dart(new file)- Starting example: supabase/functions/_shared/moderation/messages.ts
Steps
- Offer harassment, hate_speech, spam, sexual_content, violence, impersonation, off_topic and other, with readable dropdown labels. Keep the stored reason strings unchanged.
- Add the explanation field. For other, require nonblank text after trimming; every explanation must be at most 1000 characters.
- Pass the checked reason/explanation to onSubmit. Check Other with blank text, Spam without text and an explanation of 1001 characters.
Example
Other+blank blocks;Spam+blank valid;1001 characters blocks.
Check it works
In test/widgets/report_form_dp_r02_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/widgets/report_form_dp_r02_test.dart and flutter analyze.
Before starting
- #112 — Map report response/error outcomes
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- 主要言語
- 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 ·
-
discover
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
DevDogsUGA/DogPack#106 ·
-
discover
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DevDogsUGA/DogPack#99 ·
DevDogsUGA/DogPack の issue をすべて見る
似ている issue
-
[Website] Catalog: unknown sort value and mixed-case technology in the URL break the filters対応中かも @barbierajput378-pixel が今日担当しました。 オープンarea/website framework/jekyll help wanted language/css language/javascript language/markdown
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
meshery/meshery.io#3088 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AndreyBegma/glass-ui#160 ·
メンテナーはふだん 1 日以内に返信
-
product / auth product / console product / databases product / messaging product / self-hosted product / sites product / storage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue Hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Adnan9-63/life-tracker#46 ·
メンテナーはふだん 2 日以内に返信
-
Good First Issue Module: Analytics P2 Team S Type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
google/site-kit-wp#13881 ·
メンテナーはふだん 3 日以内に返信