[Discover + Join/Leave] Refresh Discover while keeping previous data
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 50/100
Hướng nghiên cứu
Start in lib/screens/discover_screen.dart, which depends on the Discover feed from #104 being in place, and use lib/screens/home_screen.dart as the reference for the existing loader and refresh pattern. Wrap the always-scrollable list in a RefreshIndicator, keep the current cards while the refresh is pending, and on failure keep them and show a short error. Done when flutter test test/screens/discover_screen_dp_d03_2_test.dart passes for the one-card-plus-failed-refresh case 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 pull-to-refresh to Discover without clearing the current list while loading. On failure, keep the previous meetings visible and show a retry message.
Design
Home wireframe. Pull-to-refresh applies to the list under the search box. The search box, Filter button, calendar grid and Recent Groups are later work (Future milestones); don't build them here. The bottom bar comes from #133.
The wireframes are layout guidance: where they differ from this issue, this issue wins. Use the app theme rather than hard-coding the brief's colours or fonts, and say "study group" in UI text (code and the schema keep session).
Files
lib/screens/discover_screen.dart(extend the prerequisite’s file)- Starting example: lib/screens/home_screen.dart
Steps
- Wrap a scrollable always-scrollable list in RefreshIndicator and reuse loader.
- On refresh keep previous cards while pending; replace on success.
- On failure retain previous cards plus short refresh error; finally stop indicator.
Example
Existing one card+failed refresh still shows one card and error; no realtime subscription.
Check it works
In test/screens/discover_screen_dp_d03_2_test.dart, check the example above and the failure or limit described in the steps. Run flutter test test/screens/discover_screen_dp_d03_2_test.dart and flutter analyze.
Before starting
- #104 — Render the Discover feed and states
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-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
bherbruck/solvecraft#4493 ·
-
level/task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
wazuh/wazuh-dashboard-plugins#9472 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Standalone dash flashes as its own RSVP step (e.g. Russian dialogue)Có thể đã có người làm @bezig01 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
daniel-pimenta-cc/ledor#53 ·
-
Iteration CounterĐang mởenhancement firebase
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
brysonddelozier/scribbles#24 ·
-
bug category:security effort:s priority:p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LanternOps/breeze#9550 ·
Maintainer thường phản hồi trong vòng 1 ngày