Fix 18 UX issues: confirmations, undo, drawer nav, empty states, and polish
Build and push image / build (push) Successful in 54s
Build and push image / build (push) Successful in 54s
Comprehensive UX audit covering modals, drawers, dashboard, and inventory. Key changes: confirmation steps before destructive actions, undo via toast for consume/gone/checkout, back-navigation across entity drawers, optional ratings, discrete item count field, audit progress bar, and sortable column affordance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,6 +34,7 @@ type InventoryRow = {
|
||||
consumed_date: string | null;
|
||||
gone_date: string | null;
|
||||
checkout_date: string | null;
|
||||
prev_bin_id: string | null;
|
||||
rating: number | null;
|
||||
notes: string | null;
|
||||
};
|
||||
@@ -112,6 +113,7 @@ bootstrapRouter.get("/bootstrap", (_req, res) => {
|
||||
consumedDate: i.consumed_date,
|
||||
goneDate: i.gone_date,
|
||||
checkoutDate: i.checkout_date,
|
||||
prevBinId: i.prev_bin_id,
|
||||
rating: i.rating,
|
||||
notes: i.notes,
|
||||
audits: (auditsByInventory.get(i.id) ?? []).map((a) => ({
|
||||
|
||||
Reference in New Issue
Block a user