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

[Discover + Join/Leave] Display cancelled and past card states

オープン
#100 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, supabase
領域
frontend, mobile

調査の方向性

Start in lib/widgets/session_card.dart, which the issue says to extend after #99 (host-counted seats and full state) is done, and read supabase/schemas/dogpack/tables/sessions.sql for the scheduled/cancelled status values. Add an optional now DateTime that defaults to the current time, and classify cancelled before past or full. Done means cancelled cards show Cancelled with a struck-through title even when past, past cards show Past with Join disabled, and test/widgets/session_card_14_4_test.dart passes under flutter test and flutter analyze.

索引モデルが issue の本文から書いたものです。

説明

discover

What to build

Make cancelled and past meetings visibly different from joinable meetings. Show cancelled meetings as cancelled even when they are also in the past, and disable joining in both cases.

Files

Steps

  1. Add optional DateTime now for tests, default current DateTime in widget; classify cancelled before past/full.
  2. Cancelled shows Cancelled and title crossed out; endsAt<=now shows Past and disables Join.
  3. Keep DB status values scheduled/cancelled rather than inventing stored full/past.

Example

Cancelled test example stays Cancelled even if past; fixed now makes tests deterministic.

Check it works

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

Before starting

  • #99 — Display host-counted seats and full state

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 を短くまとめたダイジェスト。