[37.3] Debug dashboard UI for LawNet BFF #50

Closed
opened 2026-06-14 08:47:24 +02:00 by dernbu · 0 comments
Owner

Parent

#37

Objective

Add a frontend dashboard and case-detail pages under /debug for browsing LawNet records from the selected storage backend.

Dependencies

Depends on #48 (37.1) and #49 (37.2).

Scope

  • Add a frontend dashboard at /debug showing a table of LawNet cases fetched through the BFF storage provider.
  • Add a case-detail page at /debug/case/:id showing source metadata, available renditions (PDF/HTML), and artifact download links.
  • Both pages render from whichever storage backend is active (file-system or PostgreSQL).
  • Use the existing TanStack Start router; keep the debug UI lightweight — no design system polish required.
  • Add frontend route tests with fixture data.

Out of scope

  • Public-facing judgment reader or search UI.
  • Full-text search or ranking.
  • Production design polish or responsive layout.

Done when

  • Visiting /debug lists LawNet mock records when the file-system provider is active.
  • Clicking a record opens /debug/case/:id showing metadata, renditions, and artifact links.
  • The same routes work with the PostgreSQL provider by changing BFF_STORAGE.
  • Route tests pass with fixture data.
## Parent #37 ## Objective Add a frontend dashboard and case-detail pages under `/debug` for browsing LawNet records from the selected storage backend. ## Dependencies Depends on #48 (37.1) and #49 (37.2). ## Scope - Add a frontend dashboard at `/debug` showing a table of LawNet cases fetched through the BFF storage provider. - Add a case-detail page at `/debug/case/:id` showing source metadata, available renditions (PDF/HTML), and artifact download links. - Both pages render from whichever storage backend is active (file-system or PostgreSQL). - Use the existing TanStack Start router; keep the debug UI lightweight — no design system polish required. - Add frontend route tests with fixture data. ## Out of scope - Public-facing judgment reader or search UI. - Full-text search or ranking. - Production design polish or responsive layout. ## Done when - Visiting `/debug` lists LawNet mock records when the file-system provider is active. - Clicking a record opens `/debug/case/:id` showing metadata, renditions, and artifact links. - The same routes work with the PostgreSQL provider by changing `BFF_STORAGE`. - Route tests pass with fixture data.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dernbu/lawnet-scraper#50
No description provided.