Praxis UI Lab

  • Angular
  • TypeScript
  • CSS
  • REST-API
Praxis UI Lab

Description

A day list for a medical practice: appointments move by click or keyboard from "planned" to "completed", and waiting times and warnings are visible at a glance. An independent case study with synthetic patient data.

Implementation Details

Angular 22 without Zone.js, built with standalone components, signals and strict TypeScript. The domain logic lives in its own framework-free layer: a state machine for appointments, derived waiting times with thresholds and a Europe/Berlin time facade. Six signal stores hold the state. Every API call follows an OpenAPI contract and is answered by Mock Service Worker from fixed test data. The UI reports conflicting edits (409) and stale data (412) separately. The day list works fully by keyboard and command palette, statuses show as icon, text and colour, and there are three density modes. Unit tests run in GitLab CI, and Playwright checks the flows and accessibility with axe.

Decision, trade-off, evidence

Decision
The interface reports conflicts (409) and stale data (412) separately instead of showing a generic error. Domain logic lives in its own framework-free layer.
Trade-off
Changes appear immediately and are confirmed in the background. That is faster than a spinner per click, but it requires a visible rollback when the server refuses.
Evidence
Unit tests for the board store, Playwright tests with axe for workflows and accessibility. The demo lets you trigger 409, 412 and 500 on purpose.
Duration
4 weeks
Role
Solo Project
Next ProjectCoderr