fix(ui): Emoji-Reste im Profil-Modal + Wunschliste-Icon → Kochtopf
All checks were successful
Build & Publish Docker Image / build-and-push (push) Successful in 1m18s
All checks were successful
Build & Publish Docker Image / build-and-push (push) Successful in 1m18s
Profil-Modal: - Default-Emoji '🍳' im "Neues Profil"-Input entfernt (war ein ver- sehentlicher Platzhalter, den die meisten nicht überschrieben haben → alle Profile sahen gleich aus). Jetzt leer, mit 🙂 als Hint im placeholder. - Profil-Liste: avatar_emoji wird nur gezeigt, wenn wirklich gesetzt. Sonst CircleUser-Lucide statt 🙂-Fallback. Migration 006_clear_default_profile_emoji.sql räumt bestehende DB- Einträge auf: UPDATE profile SET avatar_emoji = NULL WHERE avatar_emoji = '🍳'. User, die wirklich einen Pfannen-Avatar wollten, können das in /admin/profiles neu setzen. Wunschliste-Header-Icon: Heart → CookingPot. Der Kontext ist "was wir essen wollen", also passt ein Topf besser als ein Herz. Heart bleibt im Rezept als "Favorit" und in der Wunschliste als "ich will auch"- Toggle, keine Kollision. Ungenutzten Heart-Import aus +layout.svelte entfernt.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { page } from '$app/stores';
|
||||
import { goto, afterNavigate } from '$app/navigation';
|
||||
import { Heart, Settings, CookingPot, Globe, Utensils } from 'lucide-svelte';
|
||||
import { Settings, CookingPot, Globe, Utensils } from 'lucide-svelte';
|
||||
import { profileStore } from '$lib/client/profile.svelte';
|
||||
import { wishlistStore } from '$lib/client/wishlist.svelte';
|
||||
import ProfileSwitcher from '$lib/components/ProfileSwitcher.svelte';
|
||||
@@ -225,7 +225,7 @@
|
||||
? `Wunschliste (${wishlistStore.count})`
|
||||
: 'Wunschliste'}
|
||||
>
|
||||
<Heart size={20} strokeWidth={2} />
|
||||
<CookingPot size={20} strokeWidth={2} />
|
||||
{#if wishlistStore.count > 0}
|
||||
<span class="badge">{wishlistStore.count}</span>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user