Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Report & Block] Render report reason and description fields

オープン 初心者向け
#113 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
85/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
dart, flutter
領域
frontend

調査の方向性

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 の本文から書いたものです。

説明

moderation

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

Steps

  1. Offer harassment, hate_speech, spam, sexual_content, violence, impersonation, off_topic and other, with readable dropdown labels. Keep the stored reason strings unchanged.
  2. Add the explanation field. For other, require nonblank text after trimming; every explanation must be at most 1000 characters.
  3. 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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DevDogsUGA/DogPack のほかの issue

DevDogsUGA/DogPack の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。