feat: more icon choices for custom recipe covers (v0.51.1)

Dish pool 16 -> 29 (banana, grape, citrus, hamburger, popcorn, bean,
vegan, utensils-crossed, leaf, shrimp, cooking-pot, candy, nut), drink
pool +milk. Existing recipes' auto-picked icon may shift since the
deterministic hash is modulo pool size — expected, cosmetic only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-19 10:44:20 +02:00
parent 51e6722f4c
commit 520d992de4
5 changed files with 32 additions and 4 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
// Mirrors CHANGELOG.md at the repo root — update both together.
export const APP_VERSION = "0.51.0";
export const APP_VERSION = "0.51.1";
export type ChangelogEntry = {
version: string;
@@ -11,6 +11,13 @@ export type ChangelogEntry = {
};
export const CHANGELOG: ChangelogEntry[] = [
{
version: "0.51.1",
date: "2026-07-19 12:05",
added: [
"More icon choices for custom recipe covers — dish icons went from 16 to 29 (banana, grape, citrus, hamburger, popcorn, bean, vegan, utensils, leaf, shrimp, cooking pot, candy, nut), drinks got milk.",
],
},
{
version: "0.51.0",
date: "2026-07-19 11:40",
+17 -1
View File
@@ -1,7 +1,9 @@
import {
Soup, Salad, Pizza, Sandwich, IceCream, Cookie, Beef, Fish, Cherry,
Carrot, Egg, Drumstick, Croissant, Donut, Cake, ChefHat,
Coffee, Wine, Beer, GlassWater, Martini, CupSoda,
Banana, Grape, Citrus, Hamburger, Popcorn, Bean, Vegan, UtensilsCrossed,
Leaf, Shrimp, CookingPot, Candy, Nut,
Coffee, Wine, Beer, GlassWater, Martini, CupSoda, Milk,
type LucideIcon,
} from "lucide-react";
@@ -36,6 +38,19 @@ export const DISH_ICON_OPTIONS = [
{ key: "croissant", Icon: Croissant },
{ key: "donut", Icon: Donut },
{ key: "cake", Icon: Cake },
{ key: "banana", Icon: Banana },
{ key: "grape", Icon: Grape },
{ key: "citrus", Icon: Citrus },
{ key: "hamburger", Icon: Hamburger },
{ key: "popcorn", Icon: Popcorn },
{ key: "bean", Icon: Bean },
{ key: "vegan", Icon: Vegan },
{ key: "utensils-crossed", Icon: UtensilsCrossed },
{ key: "leaf", Icon: Leaf },
{ key: "shrimp", Icon: Shrimp },
{ key: "cooking-pot", Icon: CookingPot },
{ key: "candy", Icon: Candy },
{ key: "nut", Icon: Nut },
] as const;
export const DRINK_ICON_OPTIONS = [
@@ -45,6 +60,7 @@ export const DRINK_ICON_OPTIONS = [
{ key: "glass-water", Icon: GlassWater },
{ key: "martini", Icon: Martini },
{ key: "cup-soda", Icon: CupSoda },
{ key: "milk", Icon: Milk },
] as const;
export const ALL_ICON_OPTIONS: { key: string; Icon: LucideIcon }[] = [...DISH_ICON_OPTIONS, ...DRINK_ICON_OPTIONS];
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@epicure/web",
"version": "0.51.0",
"version": "0.51.1",
"private": true,
"scripts": {
"dev": "next dev",