Skip to content

Compress and resize Spike and logo PNGs - #208

Merged
apescic-director merged 3 commits into
mainfrom
bmurphy/chore-127-compress-spike-logo-pngs-b834
Sep 13, 2026
Merged

apescic-director merged 3 commits into
mainfrom
bmurphy/chore-127-compress-spike-logo-pngs-b834

Conversation

@apescic-director

@apescic-director apescic-director commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #127

Public LCP images were uncompressed 1024px PNGs (Spike ~1.2–1.4MB each, logo ~2.3MB). This PR keeps the same public paths and compresses them with high-quality palette quantization. Tip and dock artwork are also resized to 512px, which is still well above their on-page display size.

Before / after

Asset Before After Change
public/mascot/spike-welcome.png 1,371,750 (1024×1024) 339,622 (1024×1024) −75%
public/mascot/spike-tip.png 1,320,870 (1024×1024) 97,259 (512×512) −93%
public/mascot/spike-dock.png 1,237,802 (1024×1024) 74,353 (512×512) −94%
public/branding/logo-myapes-account.png 2,348,808 (1024×1024) 442,272 (1024×1024) −81%
Total 6,279,230 953,506 −85%

Existing asset() URLs are unchanged. Logo stays 1024×1024 so the HealthAndTheme dimension contract and 1024w srcset still match. Dock width/height attributes now match the 512px file.

Out of scope

Tests

  • PHPUnit HealthAndThemeTest covers logo dimensions, srcset, and Spike welcome path
  • PHPUnit MascotHelperTest covers Spike welcome/dock paths
  • Version-pinned changelog, health, and rollback contract tests updated for v0.32.14
  • php artisan myapes:changelog-validate --base-ref=origin/main passed on the PR branch
  • Focused PHPUnit (31 tests) passed locally: HealthAndTheme, MascotHelper, ReleaseHistoryCommand, ChangeLogPage, ModuleRollbackCompatibility, ProductionUpgradePreflight

composer pre-pr-verify was not run here (Linux agent; Composer scripts invoke PowerShell). The contract-equivalent PHPUnit set and changelog-validate were run instead.

Release metadata

This PR includes v0.32.14 (VERSION, resources/data/releases.json, resources/data/module-runtime-contract.json).

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 12, 2026 20:09
Uncompressed 1024px LCP artwork was 1.2–2.3MB per file on every public page. High-quality compression plus 512px tip/dock exports cut those payloads without changing asset URLs.

Co-authored-by: APES Director <apescic-director@users.noreply.github.com>
Ship the compressed Spike and logo assets with the same-PR changelog so the Change Log Hub and version pins stay in sync.

Co-authored-by: APES Director <apescic-director@users.noreply.github.com>
The prepare command shifted version dates but left current-release references on #126. Point those assertions at #127 / #208 and the new public title.

Co-authored-by: APES Director <apescic-director@users.noreply.github.com>
@apescic-director
apescic-director marked this pull request as ready for review September 12, 2026 20:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T20:17:50.898704Z 005ec08 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@apescic-director
apescic-director merged commit 302b66f into main Sep 13, 2026
3 checks passed
@apescic-director
apescic-director deleted the bmurphy/chore-127-compress-spike-logo-pngs-b834 branch September 13, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v1.1.0] 14 [Task] Compress and resize Spike and logo PNGs

2 participants