feat: pantry drag-to-recategorize, always-show categories, auto-categorize; fix category label + merge quantity mismatch (v0.84.0)
Pantry items can now be dragged between category sections (dnd-kit, cross-category drop only — no sortOrder column to persist within-category reorder). All 9 categories always render as sections, even empty ones, instead of only ones with items. Added an "Auto-categorize" action mirroring the shopping list's guessAisle heuristic. Fixed: the edit dialog's category dropdown displayed the raw stored slug/"__other__" instead of its translated label (SelectValue needs a value->label render function, same pattern shopping-list-view.tsx already used elsewhere). Fixed: merge-duplicates now merges by ingredient identity alone, not identity+unit — two rows merge even with mismatched, missing, or different-unit quantities, only summing when safe to do so. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Mirrors CHANGELOG.md at the repo root — update both together.
|
||||
export const APP_VERSION = "0.83.0";
|
||||
export const APP_VERSION = "0.84.0";
|
||||
|
||||
export type ChangelogEntry = {
|
||||
version: string;
|
||||
@@ -11,6 +11,18 @@ export type ChangelogEntry = {
|
||||
};
|
||||
|
||||
export const CHANGELOG: ChangelogEntry[] = [
|
||||
{
|
||||
version: "0.84.0",
|
||||
date: "2026-07-24 20:00",
|
||||
added: [
|
||||
"Pantry items can be dragged between categories, like the shopping list. All 9 categories now always show (even empty ones) as drop targets, instead of only categories that already have items.",
|
||||
"Pantry has an \"Auto-categorize\" action, same heuristic as the shopping list's.",
|
||||
],
|
||||
fixed: [
|
||||
"Pantry item edit dialog's category dropdown showed the raw stored value (e.g. \"__other__\", \"produce\") instead of its translated label.",
|
||||
"Merging duplicate pantry items now works even when quantities differ, are missing, or use different units — previously two rows only merged if their units matched exactly, so \"garlic\" (no quantity) and \"ail\" (3, no unit) wouldn't merge at all.",
|
||||
],
|
||||
},
|
||||
{
|
||||
version: "0.83.0",
|
||||
date: "2026-07-24 19:00",
|
||||
|
||||
Reference in New Issue
Block a user