Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[Report & Block] Render authorized host profile detail

Offen
#116 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
40/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
dart, supabase

Rechercherichtung

Start with the schema in supabase/schemas/dogpack/tables/profiles.sql to see which columns are readable, then read the session code from #108 and the snapshot mapping from #26, since this issue depends on both. Create lib/screens/member_profile_screen.dart, query userId, displayName, classYear and major with the signed-in student's client using maybeSingle, and show an 'Profile unavailable' message when the result is null. Done when test/screens/member_profile_screen_dp_r04_test.dart passes for the authorized and unavailable cases and flutter analyze is clean.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

moderation

What to build

Show a host’s profile only when the current student is allowed to read it. An unavailable profile should show a neutral message instead of private fields or an invented name.

Files

Steps

  1. Select userId,displayName,classYear,major from profiles for target user with client using the signed-in student’s account/maybeSingle.
  2. Render visible plain snapshot, reporting/block callbacks with the target UUID; null produces Profile unavailable.
  3. Do not fetch via service key or show an invented host name.

Example

Authorized host Ada renders; hidden profile shows unavailable and no leaked fields.

Check it works

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

Before starting

  • #108 — Read authorized session detail
  • #26 — Map own profile to a plain snapshot

References

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

Vorherrschende Sprache
PLpgSQL
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DevDogsUGA/DogPack

Alle Issues in DevDogsUGA/DogPack

Ähnliche Issues

Weitere Issues zu Security

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.