Standardize mutation pending states and Supabase error surfaces
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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
- Ít trao đổi
- Công nghệ
- supabase, typescript
- Lĩnh vực
- full-stack
Hướng nghiên cứu
Read docs/plan-CorvEd.md section 4.4, advisor_update.md, and docs/GAP_ANALYSIS.md first, then inventory the student, tutor, and admin mutation flows named in the issue. Check request creation, payment proof, matching, session, rescheduling, and tutor update paths for pending states and Supabase errors; done means high-traffic flows have safe messages, clear progress or disabled states, and focused tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
The gap docs say route-level loading states and many toasts are now in place, but docs/plan-CorvEd.md still calls out partial Supabase error handling, and advisor_update.md notes mutation flows can block without clear progress indicators.
Acceptance criteria
- Inventory student, tutor, and admin forms/server actions for pending UI, disabled submit states, and user-visible errors.
- Ensure Supabase errors are converted to safe, actionable messages instead of raw console-only failures.
- Add focused fixes for high-traffic flows: request creation, package/payment proof submission, admin payment actions, matching, session generation, rescheduling, tutor session update.
- Keep secret/service-role details out of user-visible messages and logs.
- Add tests where behavior can be asserted without brittle UI timing.
References
docs/plan-CorvEd.mdsection 4.4 reliability and error handlingadvisor_update.mdUX / polish: No loading/optimistic UI for mutationsdocs/GAP_ANALYSIS.mdC6 accepted risk
- Ngôn ngữ chính
- TypeScript
- Star
- 5
- 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
- Không 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 Taleef7/CorvEd
-
DevOps P0 Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Epic P2 question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
enhancement Epic P2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Admin enhancement Epic P2 Payment Sessions WhatsApp
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Admin P1 Task Tutor WhatsApp
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của Taleef7/CorvEd
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
getsentry/sentry-conventions#732 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:in-linear status:team-assigned team:nodes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
n8n-io/n8n#41548 · 2 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 82/100
motiondivision/motion#3955 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DQ assisgnment closing at CRĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
equinor/prisma-decision-web#919 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
自荐 / Suggestion: Prisma ComputeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100