feat(go): M6.5 — member-detail modal JS module #31
Reference in New Issue
Block a user
Delete Branch "feat/go-m6-5-modal-js"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
static/js/member-detail.js: fetches/api/adults(or/api/juniors) once on page load and caches the response.[i]next to a member name opens a detail modal showing: status per month, fee exceptions, other transactions, matched payment history, and a toggleable raw-payments debug view.Esccloses the modal;↑/↓walk visible (name-filtered) rows.[i]icon and modal HTML toadults.tmplandjuniors.tmpl; all modal CSS was already in place from M6.1.html_handler_test.go.Test plan
make go-build go-test go-lint— all greenmake web-go→http://localhost:8080/adults: click[i]icon → modal opens with correct member data (status table, exception section, payment history, raw payments toggle)Esccloses modal;↑/↓navigate between members; click outside modal content closes it↑/↓nav only walks visible rowshttp://localhost:8080/juniors: same checks;expected = "?"rows render without JS errors/api/adultsrequest fires on page load; no re-fetch on subsequent clickshttp://localhost:5001/adultsfor visual parity🤖 Generated with Claude Code