[Report & Block] Confirm block and invalidate visibility
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
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- dart, flutter, supabase
- Lĩnh vực
- authorization, mobile
Hướng nghiên cứu
Start in lib/screens/sessions/session_detail_screen.dart, which the prerequisite #117 reporting actions are expected to extend, and in lib/screens/home_screen.dart for the Discover and My sessions refresh. Confirm #117 is merged first, since the block action depends on it. Done means a confirmed block clears the blocked host's detail and refreshes both lists, a failed block keeps the existing content and shows an error, and test/screens/sessions/session_detail_screen_dp_r05_2_test.dart passes with flutter test and flutter analyze.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What to build
Ask for confirmation before blocking a person, then refresh affected screens. Previously visible content should disappear when the server’s updated permissions make it unavailable.
Files
lib/screens/sessions/session_detail_screen.dart(extend the prerequisite’s file)- Starting example: lib/screens/home_screen.dart
Steps
- Show confirmation for selected target; await blockUser using caller/targetUUID.
- On success clear matching profile/session detail and refresh Discover/My sessions so server visibility decides.
- Failure retains previous content/error; no notification to blocked person.
Example
Blocked host’s open detail disappears after success; failed block leaves data visible.
Check it works
In test/screens/sessions/session_detail_screen_dp_r05_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/sessions/session_detail_screen_dp_r05_2_test.dart and flutter analyze.
Before starting
- #117 — Open session/profile reporting actions
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ự
-
needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
melodic-software/claude-code-plugins#8405 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/cli P3 type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
NousResearch/hermes-agent#141420 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CKV_GCP_18 (GKEPublicControlPlane) passes when master_authorized_networks_config is absent, control plane is internet-reachableCó thể đã có người làm @Varshith-Kali đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bridgecrewio/checkov#7753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
e2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/rhdh-plugin-export-overlays#4435 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
apache/rocketmq-dashboard#7010 ·
Maintainer thường phản hồi trong vòng 3 ngày