Standardize mutation pending states and Supabase error surfaces
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- supabase, typescript
- 领域
- full-stack
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 5
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Taleef7/CorvEd 的其他 Issue
-
DevOps P0 Task
难度 2/5 1-3 小时 新手友好度 68/100
-
Epic P2 question
难度 5/5 一周以上 新手友好度 35/100
-
enhancement Epic P2
难度 5/5 一周以上 新手友好度 25/100
-
Admin enhancement Epic P2 Payment Sessions WhatsApp
难度 5/5 一周以上 新手友好度 25/100
-
Admin P1 Task Tutor WhatsApp
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
callstackincubator/rozenite#518 ·
维护者通常 1 天内回复
-
Area/Workflow Priority/Blocker Type/Bug
难度 2/5 1-3 小时 新手友好度 76/100
wso2/product-integrator#2622 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
area:bash bug has repro platform:macos
难度 2/5 1-3 小时 新手友好度 78/100
anthropics/claude-code#98644 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
allure-framework/allure-js#1603 ·
维护者通常 1 天内回复