Edit name/amount on budget template entries (forward-only) #21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The budget template page only lets you add, delete, or edit notes on an entry. There is no way to edit the name or amount of an existing template entry. When a subscription price changes (e.g. Twitch $10.99 → $11.99) the only workaround is delete + re-add, which orphans
Entry.idand breaks theMonthEntry.source_entry_idlink on every existing month.Goal
Add inline edit for name, amount, and notes on a budget template entry. The change must be forward-facing only: existing months (planning, active, closed) keep their snapshotted
MonthEntry.planned,MonthEntry.name,MonthEntry.origin_name, andMonthEntry.origin_planned. Only months created after the edit pick up the new values, via the existingcreate_monthsnapshot path.Design
Full spec:
docs/superpowers/specs/2026-04-17-edit-budget-template-entries-design.mdLayout is variant A ("swap in place"): the read row's name/amount/actions cells are replaced by name/amount/notes inputs plus Save/Cancel buttons, in the same row slot. Notes fold into edit mode; empty notes render nothing. The existing
POST /entries/{id}/notesroute and its dedicated notes row are removed (notes now edited only through the save flow).Out of scope