-
Notifications
You must be signed in to change notification settings - Fork 1
Merge main to next #1571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge main to next #1571
Conversation
…tment-number Hotfix ticketprinter fix appointment number
fix(zmskvr): fix memory problem
fix(zmskvr): fix memory problem
fix(zmskvr): fix user list
fix(zmskvr): fix user list
Caution Review failedThe pull request is closed. WalkthroughAdjusts user account search and reference resolution logic, removes cloning in department access filtering, and switches templates to use process.queue.number instead of process.displayNumber. Minor refactor in API search chain. No public interfaces changed. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor UI as UI
participant API as Zmsapi.UseraccountSearchByDepartment
participant DB as Zmsdb.Useraccount
participant Ent as DepartmentList
UI->>API: searchByDepartment(deptId, resolveReferences)
API->>DB: readCollectionByDepartmentIds(deptId, resolveReferences)
loop for each user
alt resolveReferences > 0 and user.id
DB->>DB: readAssignedDepartmentList(user.id, resolveReferences-1)
DB->>DB: user.departments = result
end
DB-->>API: add user to collection
end
API->>Ent: withAccessByWorkstation(...)
Note right of API: API no longer applies withLessData() before access filtering
API-->>UI: filtered user collection
sequenceDiagram
autonumber
actor Kiosk as Ticket Printer UI
participant Tmpl as Twig Templates
Kiosk->>Tmpl: render process page/print block
Tmpl->>Tmpl: resolve waiting number = process.queue.number
Tmpl-->>Kiosk: HTML with updated waiting number binding
Note over Tmpl: Replaces prior process.displayNumber usage
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request Checklist (Feature Branch to
next
):next
Branch in meinen Feature-Branch gemergt.Summary by CodeRabbit
Bug Fixes
Improvements
Refactor