mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-09-01 18:13:28 +00:00
The COC detail page read the application status alone, so a candidate who had registered, been marked present, sat the paper and had a PASSED mark published still appeared to be awaiting an exam — and the officer was offered "Schedule exam" and "Record exam result" for work already done. ExamStatePanel reads GET /exams/applications/:id/state, which the server derives from the registration, the attempt and the published mark. Session, date and admission number while the exam is ahead; score, outcome and whether the exam engine or an examiner produced the mark once it is settled. Polled, because attendance is recorded and papers are marked while the officer has the page open. Same derivation the applicant's portal reads, so the two cannot disagree. The eligible-exams query, the scheduling mutation and the outcome mutation are gone from the RTK layer along with the endpoints behind them.