v0.21.1 — Pantry: delete items with inline confirm

Trash icon on each row; clicking shows "Delete? Yes / No" inline
(no dialog needed). Soft-deletes via active=false. Removed the
admin-only guard on DELETE /api/pantry/[id] since anyone logged in
should be able to manage their own pantry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bonna Moon
2026-06-29 18:32:30 -05:00
parent 6b75e47ee9
commit dd7af9e8d4
4 changed files with 55 additions and 6 deletions

View File

@@ -8,6 +8,13 @@ export type ChangelogEntry = {
};
export const CHANGELOG: ChangelogEntry[] = [
{
version: "0.21.1",
date: "2026-06-29",
changes: [
"Pantry: trash icon on each item — click it, confirm with Yes/No. Removes the item from the inventory.",
],
},
{
version: "0.21.0",
date: "2026-06-29",