Ledger: audience filter endpoint (htmx partial) #44

Closed
opened 2026-10-03 11:00:55 +02:00 by Augspies · 0 comments
Owner

Part of: Ledger Redesign — spec §7 (confirmed for v1)

Goal: Filter the services ledger by audience with htmx.

Files: apps/virtual_attorney/views.py, homepage template partial, urls if needed

Acceptance:

  • GET /?audience=firms|individuals|all returns the ledger-entries partial when HX-Request is set, full page otherwise
  • Filter pills (All / Firm work / Individual work) use hx-get + hx-target + hx-swap
  • Works without JS (full-page query param fallback)
  • Tested in issue 47

Notes: Ships in v1.

**Part of:** Ledger Redesign — spec §7 (confirmed for v1) **Goal:** Filter the services ledger by audience with htmx. **Files:** `apps/virtual_attorney/views.py`, homepage template partial, urls if needed **Acceptance:** - [ ] `GET /?audience=firms|individuals|all` returns the ledger-entries partial when `HX-Request` is set, full page otherwise - [ ] Filter pills (All / Firm work / Individual work) use `hx-get` + `hx-target` + `hx-swap` - [ ] Works without JS (full-page query param fallback) - [ ] Tested in issue 47 **Notes:** Ships in v1.
Sign in to join this conversation.
No milestone
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
Augspies/virtual-attorney#44
No description provided.