Add confirmation to destructive actions (clear data, clear weather, remove member, deletes) #39
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?
All destructive actions fire on first click with no confirm and no undo:
clearData(MyDataTab.jsx:110-112, trigger :213) wipes imported usage plus all circuit assignments/notes/priorities/exclusions;clearWeather(WeatherTab.jsx:66-68);removeMember(AdminTab.jsx:108-112) revokes a family member instantly; battery/panel/quote/bill deletes (BatteriesTab.jsx:48-54,SolarPanelsTab.jsx:73-82,QuotesTab.jsx:63-71,BillingTab.jsx:49-51) are one-click.Add a lightweight two-step confirm (button flips to "Confirm clear?" for 3s, or native
confirm()) on clearData, clearWeather, and removeMember; apply the same pattern to library deletes if trivial to share.Acceptance criteria
(Audit finding F-19, 2026-07-16 — Severity: Medium, Confidence: High)