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

[Report & Block] Render own block list with safe identity fallback

Open Beginner friendly
#119 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
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
dart, flutter, supabase
Domain
mobile

Research direction

Read lib/moderation/block_repository.dart and the schema at supabase/schemas/dogpack/tables/blocks.sql to see the existing block repository and table shape. Add the blockedUserIds method filtering by blockerId, then update the screen to show a cached name or Blocked user <shortID>. Run flutter test test/moderation/block_repository_dp_r06_test.dart and flutter analyze; done when the test covers the hidden-profile fallback and passes.

Written by the indexing model from the issue text.

Description

moderation

What to build

Load the current student’s own block list and show a safe label for each entry. The list must still support unblocking when the blocked person’s profile is hidden.

Files

  • lib/moderation/block_repository.dart (extend the prerequisite’s file)
  • Starting example: supabase/schemas/dogpack/tables/blocks.sql
    Code to add or extend: Future<List<String>> blockedUserIds(client,blockerId).

Steps

  1. Select blockedId from blocks filtered by caller blockerId, not all rows.
  2. Screen renders each own block using known cached name only when authorized, otherwise Blocked user .
  3. Do not fetch hidden profiles with administrator credentials to fill names.

Example

Hidden profile still has an unblock row with safe fallback, not guessed name.

Check it works

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

Before starting

  • #115 — Delete a caller-owned block
  • #73 — Show profile loading/error and Home navigation

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.