Add bulk editing to inventory tab with atomic batch API
Build and push image / build (push) Successful in 1m3s

Multi-select inventory items via checkboxes (select-all, shift-click
range, group header select) and apply bulk actions through a floating
toolbar: edit fields (shop, bin, price, THC/CBD), consume, checkout,
check in, and mark gone. Backend processes all operations in a single
SQLite transaction for atomicity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 22:14:01 -04:00
parent d44c23ef6d
commit 946e96c3ea
13 changed files with 1328 additions and 117 deletions
+12 -4
View File
@@ -105,12 +105,16 @@
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
@keyframes toolbar-slide-up {
from { transform: translateY(100%); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 1200px) {
.inv-row > :nth-child(4),
.inv-header > :nth-child(4) { display: none; } /* Shop */
.inv-row > :nth-child(8),
.inv-header > :nth-child(8) { display: none; } /* Last checked */
.inv-row > :nth-child(5),
.inv-header > :nth-child(5) { display: none; } /* Shop (shifted +1 by checkbox col) */
.inv-row > :nth-child(9),
.inv-header > :nth-child(9) { display: none; } /* Last checked */
}
@media (max-width: 880px) {
@@ -156,4 +160,8 @@
.main {
padding-bottom: 60px;
}
.bulk-toolbar {
left: 0 !important;
bottom: 60px !important;
}
}