15ddb9aac2
feat(voice): adapt voice entry to the stacked-jobs prosthesis model
...
Authored by the /orchestrate builder agent, committed unrepaired so the
fixes that follow are reviewable against it.
Backend: replaces the flat prosthesisDefaultType/prosthesisOverrides wire
shape with a prosthesis: ProsthesisAssignment[] list whose targets can be a
tooth or a jaw; adds resolveAssignmentTarget / classifyTypeCode /
resolveProsthesisAssignment for leaf-vs-category classification, region
validity with mixed-region deferral, and assignmentIndex on unresolved
items; adds PROSTHESIS_CATEGORY and PROSTHESIS_SUBCATEGORY to
CatalogEntityKind with a migration and seeded fa/en/nl translations; and
rewrites the extraction prompt to render the catalog as a tree.
Frontend: merged "teeth and prosthesis" row, stack preview through the
existing applyLeafToJobs, three chip-fold paths, rewritten applyVoiceResult
and voiceForEditor, and the two carried-forward recording fixes — the
container fallback that refused Safari and the render gate that never
checked isMediaRecorderSupported().
Adds Vitest for the frontend's pure helpers, and updates CLAUDE.md.
Gate was green: backend 16 suites / 209 tests, nest build, prisma validate;
frontend 37 Vitest tests, tsc --noEmit, next build.
KNOWN DEFECTS, fixed in the commits that follow:
- VoiceReviewSheet.tsx:169 — a picked tooth chip is dropped on Apply
- VoiceReviewSheet.tsx:213 / TreatmentWorkspace.tsx:2215 — decision 41's
type-row lock is missing, so unticking it saves prosthesis lab rows on a
non-prosthesis detail
Reviewed on the correctness lens only; regression-risk never ran. The
migration was validated but never applied.
Spec: docs/specs/voice-treatment-entry/spec.md
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-07 12:23:58 +08:00
72f885d9dd
improvement: all confirmed suggestions implemented
2026-09-04 17:04:48 +03:30
7f92e735fb
improvement: Some improvements done. some bugs fixed.
2026-09-02 17:24:01 +03:30
a3c14a18c1
improvement: new prosthesis type data structure implemented and finally working!
2026-09-01 21:03:04 +03:30
e6c236f1a0
package-locks and prisma migration update.
2026-08-20 11:30:14 +03:30
8bfa8c88fe
improvement: v1 standalone treatment/case creation made possible.
2026-08-19 15:05:58 +03:30
d6958b2e48
bugfix: the flow for trial and accept invitation (org + staff)is now unified. all navigate to dshboard if succesfull.
2026-08-19 00:39:31 +03:30
538121d653
improvement: pdf generation added to cases feature.
2026-07-18 22:00:44 +03:30
408b2c3329
improvement: task assignment notif added to notifications feature.
2026-07-18 17:23:47 +03:30
9f6ec193d2
feature: version one notification feature implemented.
2026-07-18 01:09:54 +03:30
0740493384
improvement: fdi tooth chart selection modes polished. bugs related to teeth selecyion fixed.
2026-07-18 00:02:40 +03:30
68fc9d5d6d
improvement: treatment plan turned into a wizard. shift+click control added to FDI tooth chart for cunnected prosthesises.
2026-07-17 00:39:32 +03:30
08df2f71ea
improvement: QRcode and shared link added to cases inorder to make it possible for staff users to share a case info with other staffs or other clinics.
2026-07-14 21:07:05 +03:30
2ad572f4c8
improvement: notify counter badge added to treatment and tasks tabs for upadted and edited cases.
2026-07-13 17:44:44 +03:30
08a1f34c4f
improvement: duedate added for shipped cases. cases and tasks ui and ux updated accordingly.
2026-07-13 16:30:36 +03:30
a391eee15f
improvement: task assignment flow added. cases and tasks feature updated accordingly.
2026-07-13 15:47:32 +03:30
83f6003a2b
Positioning, sizing and sorting of the gadgets improved.
2026-07-11 22:32:37 +03:30
65cd548a9a
add password toggle icon for all password inputs & use share folder checkbox for remember password in login page.
2026-07-10 19:04:10 +03:30
be4ac3426e
Merge branch 'master' into feature/cases
2026-07-10 15:26:36 +03:30
8d334833ff
improvement: all demo bugs fixed. give me more baby.
2026-07-08 02:53:47 +03:30
86b1e3afff
improvement: attachment selection for lab dispatch added. attachment preview added to cases feature.
2026-07-07 18:43:10 +03:30
b2d40b3e97
improvement: users can now comment on a case and it's details and have an option to make it visible for clinics too.
2026-07-07 17:14:31 +03:30
329d3f122c
delpoyment with fully dockerized project on wixur.ir, dyolink docker hub created beside backend and frontend image is uploaded.
2026-07-07 15:32:25 +03:30
cb63ced4e3
improvement: tasks and cases feature updated based on the new prosthesis types and their steps. the whole assignment proccess removed from the flow.
2026-07-07 15:31:09 +03:30
ed7e7b1d8f
improvement: all clinic side ui components related to treatment types updated based on the new real world data.
2026-07-07 13:13:04 +03:30
667b08ed0c
TreatmentType and ProsthesisType database shcema and data updated. Lab dispatch wired through new data.
2026-07-06 20:40:19 +03:30
3f7364dbf0
forgot password in login page and account info implemented, sms.ir service works fine with sandbox key.
2026-07-04 00:01:58 +03:30
2a48946a51
feature: Tasks tab added for lab organizations. tasks now can be assigned and their status can be updated by the assignee.
2026-06-28 22:56:56 +03:30
feb0b26ad0
improvement: treatment preview and treatment history components overhauled. draft & completed status for treatment plan completely removed from the flow.
2026-06-28 21:45:33 +03:30
7b19d6953c
feature: Phase4 - Clinic two-step treatment UI
2026-06-28 17:14:02 +03:30
21f545ebdb
feature: Phase3 - Task templates + generation on send
2026-06-28 16:46:42 +03:30
8b4ef6195d
feature: Phase 2- splitting the treatment schema into TreatmentDetail and LabCase.
2026-06-28 15:34:56 +03:30
dc965b2528
feature: phase1 - org-type navigation, Cases permissions, staff filtering, and route guards.
2026-06-28 14:59:06 +03:30
64c7e5a257
feature: phase0 - Global patients + mobile normalization
2026-06-28 14:49:37 +03:30
284fbd08aa
feature: localization's first implmentation
2026-06-20 12:37:38 +03:30
48ecfd05e1
feature: users with treatment edit permission should now have working hours defined. the appointment grid is now being drawn based on the doctor's working hours.
2026-06-10 19:44:09 +03:30
f743046b38
feature: a minimal v1 backend implemented for treatments feature.
2026-05-19 22:29:29 +03:30
046257c071
bugfix: copy/regenerate link for invitation action added to connection request lis in orgs feature.
2026-05-17 13:13:59 +03:30
8123a94a3d
feature: a minimal implementation of the appointment feature done.
2026-05-06 23:05:37 +03:30
adfb5b436e
feature: clinic & lab invitation flow added. minimal ui implemented for organizations tab.
2026-05-05 19:50:07 +03:30
b6bd4b47be
improvement: dashboard UX improved
2026-04-30 18:49:23 +03:30
64215f07e6
improvement: newly created organization's subscriptions flow improved.
2026-04-30 18:15:40 +03:30
1b8856f64e
feature: sending invitation link for newly created staff implemented.
2026-04-30 12:55:39 +03:30
c39bd872bd
feature: a minimal implementation of staff management is done.
2026-04-30 00:52:05 +03:30
7a847d5326
improvement: account setting added to header in order to choose organizations/subscribtions/etc
2026-04-29 21:55:46 +03:30
ca9e684ab4
improvement: multi organization possibility implemented for users (owners and staffs)
2026-04-29 20:19:40 +03:30
6a3addd1ca
feature: a very minimal patients feature implemented. it needs lots of improvments though
2026-04-29 13:32:22 +03:30
26bd35ae3c
Initial commit: Full project structure
...
- Backend: NestJS with Docker
- Frontend: Next.js with Docker
- Nginx configuration for reverse proxy
- PostgreSQL setup
- Docker compose for orchestration
- Development environment configuration
2026-04-23 15:33:11 +03:30