Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Discover + Join/Leave] Map session full/closed/unavailable join errors

Open Beginner friendly
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
dart, flutter, postgresql, supabase
Domain
mobile

Research direction

Start with the schema in supabase/schemas/dogpack/tables/session_members.sql to confirm the error codes session_full, session_closed and session_unavailable. Create lib/sessions/join_errors.dart with joinErrorMessage(String reason), mapping each code to its exact sentence and returning the generic 'Couldn't join. Refresh and try again.' for anything else. Done when test/sessions/join_errors_dp_d04_2_test.dart passes under flutter test and flutter analyze is clean.

Written by the indexing model from the issue text.

Description

discover

What to build

Explain when joining fails because a meeting is full, closed or unavailable. Refresh its details rather than showing a successful join that did not happen.

Files

Steps

  1. Map session_full→This session is full.; session_closed→This session is closed.; session_unavailable→This session is unavailable.
  2. Unknown reason → Couldn’t join. Refresh and try again.
  3. UI requests a refresh after those three results; never expose the raw DB object.

Example

Each stable server error code has an exact sentence; unknown remains generic.

Check it works

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

Before starting

  • #31 — Join with a plain own-membership insert

References

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

Dominant language
PLpgSQL
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DevDogsUGA/DogPack

All issues in DevDogsUGA/DogPack

Similar issues

More Mobile Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.