fix(examiner-ui): restore application approval conditions - #1793
fix(examiner-ui): restore application approval conditions#1793jimmypalelil wants to merge 10 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Restores approval-condition controls in the examiner decision panel and adds regression coverage.
Changes:
- Shows approval conditions for assigned application approvals.
- Tests visibility, assignment gating, and email locking.
- Identified that selected application conditions are not persisted.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
DecisionPanel.vue |
Restores application approval conditions. |
decision-panel.spec.ts |
Adds DecisionPanel regression tests. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
5133fe9 to
c742591
Compare
9cb614d to
9edb1af
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
strr-examiner-web/app/components/DecisionPanel.vue:266
- Provisional-review applications still cannot reach this restored selector.
useExaminerDecision.ts:36-38makesshowDecisionPanelfalse whenever an application has a registration number, whilemodels/application.py:646-649adds that number for applications backed by the existing registration used during provisional approval. The outerv-if="showDecisionPanel"therefore removes this component, and the legacy page action callsprovisionallyApproveApplicationwithout conditions. Relax the panel gate for actionable provisional approvals and route those approvals through this panel; the new tests currently hard-codeshowDecisionPanelto true, so they mask this path.
v-if="isApproveDecisionSelected && isAssignedToUser"
|
Addressed the suppressed Copilot finding from review 5047431894 in commit
Validation: 24 focused frontend tests passed and frontend lint passed with only two pre-existing warnings. |
|



Issue
JIRA: https://hous-hpb.atlassian.net/browse/REGBACKLOG-9
Summary