Commit Graph
8 Commits
Author SHA1 Message Date
eho 9e031da724 feat(portal-frontend): implement edit-applicant-details form with write-through disclaimer
Shared form for writeThrough and owned modes. Shows the ADR-002
disclaimer only in writeThrough mode (no client-side validation
stricter than legacy provides). Maps 400 ErrorsResponse to per-field
inline errors, 422/409 to a banner with the server's own text -
never a client-side switch over invariant names. Embedded in
case-detail with reload() on save so the actions block refreshes.
2026-07-31 08:59:55 +02:00
eho cebbf9f57a feat(portal-frontend): implement case-detail read view
Resolves legacy/:id vs owned/:id off the matched route's static path
segment and fetches accordingly. Renders applicant, diploma, and
assessment fields, a seams panel (which backend serves each section),
and embeds app-case-actions. Read-only - write forms land next.
2026-07-31 08:53:17 +02:00
eho 08e08a0070 feat(portal-frontend): implement worklist-list component
Table of WorklistService results with bucket/origin/search filters
(FormsModule ngModel); row click navigates to legacy/:id or owned/:id
based on origin, matching the placeholder's key scheme.
2026-07-31 08:50:56 +02:00
eho 97c0bea238 feat(portal-frontend): implement case-actions component
Renders record-assessment as a link only in redirect mode (otherwise
a form-trigger slot, filled in once record-assessment-form exists),
and take-ownership/release-ownership buttons purely off presence of
their optional action key. Emits requests upward rather than calling
the API itself - the actual take/release-ownership handling lands in
a later commit.
2026-07-31 08:49:29 +02:00
eho 754086226b test(portal-frontend): add failing spec for case-actions mode-driven rendering
Red: case-actions has no template yet. Encodes the legacy-vs-owned
actions contract from CaseDetailResponseFactory - record-assessment
renders as a link only in redirect mode, take/release-ownership
buttons follow presence of their optional action key.
2026-07-31 08:48:41 +02:00
eho 3ed130de25 feat(portal-frontend): add router with worklist and case-detail routes
Empty placeholder components for worklist-list and case-detail,
wired into app.routes.ts (legacy/:id and owned/:id share one page
component since the rendered shape is identical). Replaces the CLI
welcome template with a minimal shell rendering <router-outlet>.
2026-07-31 08:47:13 +02:00
eho b8a8d28e7b feat(portal-frontend): add worklist and case-detail typed interfaces and API services
Types mirror New.Api.Contracts verbatim; all write calls use the href
given in a case's actions block rather than a client-built URL.
2026-07-31 08:45:27 +02:00
eho 229ca9b7d9 chore(portal-frontend): scaffold Angular workspace
Raw `ng new` output for the Session-2 Angular portal, reachable at
/portal alongside the existing new-frontend placeholder.
2026-07-31 08:44:03 +02:00