From 25df5b3abc8785c3a1178fb18e59ebc347875304 Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Fri, 16 Oct 2026 23:32:57 +0200 Subject: [PATCH] chore(assets): move Manfred originals to assets/manfred, rename by pose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relocate the four full-resolution mascot source PNGs out of the root Manfred/ folder into assets/manfred/ (a non-build-context source dir, like mockup/), renamed from their ChatGPT export names to pose names: manfred-{waving,confident,coffee,celebrating}.png. git mv preserves history (all four recorded as renames). These originals are never shipped (Vite serves only apps/convivo/public/), so the served 224px WebP poses are untouched and the attendee bundle is byte-identical. Add assets/manfred/README.md with the pose table and a regeneration command, and note a pre-existing cosmetic mismatch: the deployed WebP filenames are rotated relative to their content (harmless — Profile picks a pose at random and e2e asserts the filename). Docs: fix the stale Manfred/ pointer in releases/2026-10-10.md and cross-reference the source dir from frontend/screens.md. Co-authored-by: Stephan Charles Co-authored-by: Amelia Hernandez Co-authored-by: Markus Franz Co-authored-by: Sabrina Hota Co-authored-by: Nilüfer Doğan --- assets/manfred/README.md | 37 ++++++++++++++++++ .../manfred/manfred-celebrating.png | Bin .../manfred/manfred-coffee.png | Bin .../manfred/manfred-confident.png | Bin .../manfred/manfred-waving.png | Bin docs/frontend/screens.md | 2 + docs/releases/2026-10-10.md | 2 +- 7 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 assets/manfred/README.md rename Manfred/ChatGPT Image Oct 10, 2026, 01_38_53 PM-4.png => assets/manfred/manfred-celebrating.png (100%) rename Manfred/ChatGPT Image Oct 10, 2026, 01_38_52 PM-3.png => assets/manfred/manfred-coffee.png (100%) rename Manfred/ChatGPT Image Oct 10, 2026, 01_38_51 PM-2.png => assets/manfred/manfred-confident.png (100%) rename Manfred/ChatGPT Image Oct 10, 2026, 01_38_50 PM-1.png => assets/manfred/manfred-waving.png (100%) diff --git a/assets/manfred/README.md b/assets/manfred/README.md new file mode 100644 index 0000000..6dea2a5 --- /dev/null +++ b/assets/manfred/README.md @@ -0,0 +1,37 @@ +# Manfred — original mascot artwork + +Full-resolution (1254×1254) source PNGs for the Profile-screen mascot. These are +**source assets only** — they live outside every build context (Vite serves only +`apps/convivo/public/`), so they never ship in a bundle. The optimized, served +artifacts are the 224px transparent WebP poses in +[`apps/convivo/public/manfred/`](../../apps/convivo/public/manfred). + +## Files (named by pose) + +| Source PNG | Pose | +|---|---| +| `manfred-waving.png` | standing, one paw raised waving | +| `manfred-confident.png` | standing, arms crossed | +| `manfred-coffee.png` | sitting, holding a coffee mug | +| `manfred-celebrating.png` | sitting, both fists up | + +## Regenerating the served WebP poses + +```sh +for pose in waving confident coffee celebrating; do + magick "assets/manfred/manfred-${pose}.png" \ + -resize 224x224 -define webp:alpha-quality=90 -quality 90 \ + "apps/convivo/public/manfred/${pose}.webp" +done +``` + +> ⚠️ **Known naming mismatch (pre-existing).** The four deployed WebP files in +> `apps/convivo/public/manfred/` are **rotated relative to their content**: the +> image served as `confident.webp` is actually the waving pose, `coffee.webp` is +> the arms-crossed pose, `celebrating.webp` is the coffee pose, and `waving.webp` +> is the fists-up pose. The names are cosmetic — the Profile screen picks one at +> random and the e2e asserts the filename, not the picture — so nothing is +> broken today. The source files above are named by their **true** content. If +> the served poses are ever regenerated, use the table above (or re-run the +> command, which now produces correctly-named files) and update the e2e +> assertions in `e2e/tests/convivo-admin-entry.spec.ts` accordingly. diff --git a/Manfred/ChatGPT Image Oct 10, 2026, 01_38_53 PM-4.png b/assets/manfred/manfred-celebrating.png similarity index 100% rename from Manfred/ChatGPT Image Oct 10, 2026, 01_38_53 PM-4.png rename to assets/manfred/manfred-celebrating.png diff --git a/Manfred/ChatGPT Image Oct 10, 2026, 01_38_52 PM-3.png b/assets/manfred/manfred-coffee.png similarity index 100% rename from Manfred/ChatGPT Image Oct 10, 2026, 01_38_52 PM-3.png rename to assets/manfred/manfred-coffee.png diff --git a/Manfred/ChatGPT Image Oct 10, 2026, 01_38_51 PM-2.png b/assets/manfred/manfred-confident.png similarity index 100% rename from Manfred/ChatGPT Image Oct 10, 2026, 01_38_51 PM-2.png rename to assets/manfred/manfred-confident.png diff --git a/Manfred/ChatGPT Image Oct 10, 2026, 01_38_50 PM-1.png b/assets/manfred/manfred-waving.png similarity index 100% rename from Manfred/ChatGPT Image Oct 10, 2026, 01_38_50 PM-1.png rename to assets/manfred/manfred-waving.png diff --git a/docs/frontend/screens.md b/docs/frontend/screens.md index 7ae9108..ecac883 100644 --- a/docs/frontend/screens.md +++ b/docs/frontend/screens.md @@ -324,6 +324,8 @@ event). The `leaderboard` table is kept in sync transactionally by the RPCs — WebP poses from `apps/convivo/public/manfred`. A pose is selected randomly each time Profile mounts, including returning from another tab or refreshing; it stays stable during edits. Random selection can repeat the previous pose. + The full-resolution source PNGs live in [`assets/manfred/`](../../assets/manfred) + (outside any build context) — see that folder's README for the pose mapping. - **Header** — avatar, name, email, registration-type pill, a **staff** pill (only when `contact.is_admin` **and** the type isn't already `staff`, so it never shows twice), and a points pill. diff --git a/docs/releases/2026-10-10.md b/docs/releases/2026-10-10.md index 953d091..8887320 100644 --- a/docs/releases/2026-10-10.md +++ b/docs/releases/2026-10-10.md @@ -98,7 +98,7 @@ blindly or remove a merge mapping after users have merged real tickets. - Profile Manfred easter egg: four transparent 224px WebP poses appear beside the Profile title at 76px. Random choice occurs on each mount, including tab re-entry and refresh, and remains stable during edits. Choices may repeat. - Original artwork is retained in `Manfred/`; optimized assets live in + Original artwork is retained in `assets/manfred/`; optimized assets live in `apps/convivo/public/manfred/`. Backup: `manfred-20261010T114633Z`. All 33 login/profile production-bundle tests passed, including 360px/1280px image loading, layout and lifecycle checks. Only the attendee app restarted.