feat(portal-frontend): implement record-assessment form and closurePending display
Owned-mode form embedded in case-actions where the redirect link isn't used. verifiedItems is comma-split client-side for convenience only; the server re-validates everything regardless. closurePending renders as a neutral success note (ADR-001), never as an error. 422 InvariantViolationResponse surfaces invariant+message verbatim in a banner, matching the edit-details form's approach.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { Component, input, output } from '@angular/core';
|
||||
|
||||
import { ActionLink, CaseDetailActions } from '../case-detail.types';
|
||||
import { RecordAssessmentForm } from '../record-assessment-form/record-assessment-form';
|
||||
|
||||
@Component({
|
||||
selector: 'app-case-actions',
|
||||
imports: [],
|
||||
imports: [RecordAssessmentForm],
|
||||
templateUrl: './case-actions.html',
|
||||
styleUrl: './case-actions.css',
|
||||
})
|
||||
@@ -13,4 +14,5 @@ export class CaseActions {
|
||||
|
||||
readonly takeOwnershipRequested = output<ActionLink>();
|
||||
readonly releaseOwnershipRequested = output<ActionLink>();
|
||||
readonly savedRequested = output<void>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user