Conservative Bring! cleanup + operations log
- cleanupObsoleteBringItems() now much more conservative: * Only removes items matching a known DB product (preserves manual additions) * Only removes if the product has current_qty > 0 (has stock) * AND item is no longer flagged by smart shopping - Added logOperation() — stores all Bring! operations in localStorage '_opLog' (bring_auto_add, bring_cleanup, bring_found, bring_manual_remove) Capped at 200 entries, each with timestamp + action + details - All Bring! add/remove paths now log their operations
This commit is contained in:
+1
-1
@@ -997,6 +997,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="assets/js/app.js?v=20260329e"></script>
|
||||
<script src="assets/js/app.js?v=20260330a"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user