[Report & Block] Bind unblock action in profile
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with the blocked-user list in lib/screens/profile_screen.dart and the blocks table in supabase/schemas/dogpack/tables/blocks.sql, but first check whether prerequisite #119 (the block list rendering) is merged. Add an Unblock button per own block that awaits unblockUser, then reloads the block list and visible feed, and keeps the row if the request fails. Done when test/screens/profile_screen_dp_r06_2_test.dart passes with flutter test and flutter analyze is clean.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to build
Add Unblock actions to the profile’s blocked-user list. After success, refresh the list and visible meetings; on failure, keep the entry available to retry.
Files
lib/screens/profile_screen.dart(extend the prerequisite’s file)- Starting example: supabase/schemas/dogpack/tables/blocks.sql
Steps
- Render own block IDs with label andUnblock button.
- Await unblockUser, then reload block list/visible feed; keep row on failure.
- Reuse existing profile navigation and scroll layout; do not remove incoming blocks.
Example
Successful unblock removes own row and refreshes feed;failed request leaves button/row.
Check it works
In test/screens/profile_screen_dp_r06_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/profile_screen_dp_r06_2_test.dart and flutter analyze.
Before starting
- #119 — Render own block list with safe identity fallback
References
Assign yourself before starting, or comment to claim the issue. Project setup.
- Ngôn ngữ chính
- PLpgSQL
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DevDogsUGA/DogPack
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
DevDogsUGA/DogPack#131 ·
-
polish
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
DevDogsUGA/DogPack#130 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DevDogsUGA/DogPack#119 ·
-
moderation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
DevDogsUGA/DogPack#113 ·
-
discover
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
DevDogsUGA/DogPack#106 ·
Tất cả issue của DevDogsUGA/DogPack
Issue tương tự
-
getCredentials fails on an unrecognized fingerprint while the biometric prompt is still openĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
auth0/Auth0.Android#1095 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing info Missing repro Platform: iOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
software-mansion/react-native-reanimated#10908 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
useagenthq/useagent#188 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
analytics good-first-issue mobile
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bridgelet-org/bridgelet#919 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
BenGWeeks/lightning-piggy-mobile#1600 ·