Repository navigation
feat(appointments): in-person check-in and live queue position - #188
Conversation
|
@GloryKene Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@GloryKene This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-core.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared files like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@GloryKene CI is failing on this branch, so it can't be merged yet. The errors from the latest run: Backend (typecheck + test + build) Please reproduce this locally, fix the errors above and push. CI will re-run on your next push. This PR also has merge conflicts with |
|
@GloryKene This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-core.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared files like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@GloryKene CI is failing on this branch against the latest Backend (typecheck + test + build) Reproduce this locally on the latest This PR also conflicts with |
|
@GloryKene This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-core.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@GloryKene CI is failing on this branch against the latest Backend (typecheck + test + build) Reproduce this locally on the latest This PR also conflicts with |
|
@afeezorobsco-cyber — this PR is ready for another review. I resolved the merge conflicts with the main branch (pushed 124bff1). |
|
@GloryKene This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-core.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@GloryKene CI is failing on this branch against the latest Backend (typecheck + test + build)
This PR also conflicts with |
|
@GloryKene fix CI |
|
@GloryKene CI is failing on this branch against the latest Backend (typecheck + test + build)
|
|
@GloryKene CI is failing at The controller calls |
|
@GloryKene This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-core.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@afeezorobsco-cyber — this PR is ready for another review. I resolved the merge conflicts with the main branch (pushed 062283f). |
|
@GloryKene The conflict resolution worked, but typecheck still fails with the same errors as in my earlier comment: The controller calls two service functions that the appointments service doesn't export. Please add |
afeezorobsco-cyber
left a comment
There was a problem hiding this comment.
Sweep: malware scan clean, CI green.
Overview
This PR adds in-person check-in and a live queue position for the day's appointments. Patients can check in within a window around their appointment start (recording arrival time), and
GET /appointments/:id/queuereturns their position and an estimated wait derived from the doctor's running delay. Queue data is exposed for polling so patients can wait elsewhere and arrive when close to being seen.Related Issue
Closes #
Changes
🩺 Check-in and queue endpoints
[MODIFY]
backend/src/modules/appointments/routes/index.tsGET /appointments/:id/queue.[MODIFY]
backend/src/modules/appointments/controllers/index.ts📚 Documentation
[MODIFY]
docs/api/README.mdGET /appointments/:id/queueresponse shape (position + estimated wait), noting the estimate is a running-average delay.[MODIFY]
ROADMAP.mdVerification Results
ROADMAP.mdupdated (item status + changelog line)ARCHITECTURE.md§4 /docs/api/README.mdupdated if models or endpoints changeddocs/api/README.mdupdated for new endpointsNotes for reviewers
Closes #129