diff --git a/src/components/ui/combobox.tsx b/src/components/ui/combobox.tsx index 55e26c3..3b3458a 100644 --- a/src/components/ui/combobox.tsx +++ b/src/components/ui/combobox.tsx @@ -110,20 +110,33 @@ export function Combobox({ options, value, onChange, placeholder = "Select…", ))} - {filtered.length === 0 && !showAdd && ( + {filtered.length === 0 && !allowCustom && (

{emptyText}

)} - {/* Add custom option */} - {showAdd && ( - + {/* Add custom option — shows as "Add '[query]'" when typing, or "+ New" hint when idle */} + {allowCustom && ( +
+ {showAdd ? ( + + ) : ( + + )} +
)} diff --git a/src/lib/changelog.ts b/src/lib/changelog.ts index c27e0c9..9914388 100644 --- a/src/lib/changelog.ts +++ b/src/lib/changelog.ts @@ -8,6 +8,13 @@ export type ChangelogEntry = { }; export const CHANGELOG: ChangelogEntry[] = [ + { + version: "0.19.2", + date: "2026-06-29", + changes: [ + "Pantry: \"Add new…\" now shows at the bottom of the Category and Subcategory dropdowns at all times — click it, type the new name, and it becomes the \"Add [name]\" option.", + ], + }, { version: "0.19.1", date: "2026-06-29", diff --git a/src/lib/version.ts b/src/lib/version.ts index bbd3986..7abd81f 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -1,2 +1,2 @@ // Bump on every user-visible release. Changelog entries live in `src/lib/changelog.ts`. -export const APP_VERSION = "0.19.1"; +export const APP_VERSION = "0.19.2";