Commit Graph

11 Commits

Author SHA1 Message Date
MingNian
ede4a8d29e fix: audit issues - field mismatches, missing endpoints, data loss
- Report frontends: createdAt→uploadedAt field alignment with backend
- Dashboard: fix pending reports endpoint /api/reports/pending
- FollowUpListPage: status labels upcoming/cancelled
- MedicationController: add PUT/DELETE endpoints + service methods
- FollowUpController: add DELETE endpoint, Notes to CreateRequest
- Auth: UpdateProfileRequest includes doctor fields
- Auth: login restores soft-deleted users instead of crashing
2026-05-24 13:24:21 +08:00
MingNian
d6a432aec4 feat: extract secrets to .env, remove hardcoded credentials
- Backend: .env file for DB/JWT/Redis/MinIO config, appsettings.json cleared
- Backend: Program.cs loads .env at startup (no extra NuGet packages)
- Frontend: .env files for VITE_API_URL, api-clients use import.meta.env
- Added vite-env.d.ts type declarations for both frontends
- All hardcoded localhost:5000 replaced with env variable
- Added .env.example template for onboarding
2026-05-22 22:02:08 +08:00
MingNian
94da24572e fix: doctor can see patient-created follow-ups, camelCase JSON support
- FollowUpService: doctor query includes unassigned (DoctorId=null) follow-ups
- FollowUpController: doctor creates follow-up with correct patientId and sets DoctorId
- FollowUpCreateRequest/UpdateRequest: changed from positional record to class for System.Text.Json compat
- Program.cs: added PropertyNameCaseInsensitive for camelCase JSON deserialization
2026-05-22 15:38:08 +08:00
MingNian
90615a6cb3 fix: prevent duplicate consultations with db unique constraint, frontend init once guard, chat history preserved 2026-05-22 11:20:48 +08:00
MingNian
8caa374699 fix: prevent duplicate consultations in backend, health calendar shows medication dots 2026-05-22 10:59:46 +08:00
MingNian
0df75c35e9 refactor: single doctor, direct chat, any phone login, UI polish, fix animations 2026-05-21 16:05:21 +08:00
MingNian
bec65959a7 fix: notification click navigates to related page, report interpretation notifies patient 2026-05-21 15:54:16 +08:00
MingNian
204bc19ce5 fix: consultation notifications, profile edit hint, doctor report in Chinese, chat UI polish, tabbar badge 2026-05-21 15:40:17 +08:00
MingNian
3ef25e734f fix: bat uses dotnet directly, doctor frontend gets port 5174 2026-05-21 15:20:55 +08:00
MingNian
5d89dcceeb fix: doctor report list shows all patient reports, upload area supports file selection, start-dev.bat starts frontends 2026-05-20 17:02:25 +08:00
MingNian
435af55c4a Initial commit: HealthManager full-stack health management platform
Backend: .NET 10 + PostgreSQL + EF Core + JWT + SignalR
Frontend patient: React 19 + TypeScript + Vite (mobile H5)
Frontend doctor: React 19 + TypeScript + Vite (desktop web)
2026-05-20 16:18:56 +08:00