refactor(ssr): drop dead account-total / account-balance routes (heuristic 6)
The hx-select reference moved running totals into an inline #account-totals tbody that refreshes via edit-form-changed, so nothing posts to ::route/account-total or ::route/account-balance anymore -- their route handlers were referenced only by their own registrations. Remove the two handler fns, their route registrations, and the now-unused route keys from routes/transactions.cljc. The pure account-total* / account-balance* fns (used inline to render the totals) are untouched. Scorecard: modal routes ~12 -> ~10. Full suite 31 pass / no regression.
This commit is contained in:
@@ -39,7 +39,7 @@ Each migration appends one row (after-numbers), referencing the before in the di
|
||||
| Phase | Modal | LOC | Routes | no-cursor twins | faked roots | snapshot merges | OOB | mixed hx- | cookbook reused / added |
|
||||
|-------|-------|-----|--------|-----------------|-------------|-----------------|-----|-----------|-------------------------|
|
||||
| 1 (baseline) | Transaction Edit `transaction/edit.clj` | 1608 | ~12 | 1 | 2 | ~75 | 0 | 8 | — / seeded 7 entries |
|
||||
| 2 (in progress) | Transaction Edit `transaction/edit.clj` | 1570 | ~12 | **0** | **0** | ~75 | 0 | 8 | — / 0 |
|
||||
| 2 (in progress) | Transaction Edit `transaction/edit.clj` | ~1558 | **~10** | **0** | **0** | ~75 | 0 | 8 | — / 0 |
|
||||
|
||||
> **Phase 2 progress (partial).** Achieved with parity held (swap spec 6/6 + Shared
|
||||
> Location green, full suite 31 pass / no regression): deleted the dead `*-no-cursor*`
|
||||
|
||||
Reference in New Issue
Block a user