Skip to content

Optimize landing images and run frontend regression checks in CI - #97

Merged
joan-code6 merged 1 commit into
mainfrom
codex/pipeline-images
Oct 17, 2026
Merged

joan-code6 merged 1 commit into
mainfrom
codex/pipeline-images

Conversation

@joan-code6

Copy link
Copy Markdown
Owner

The landing page currently serves large PNG screenshots, and frontend CI does not run the existing account-data and timetable regression checks.

Generate lossless WebP variants before development and production builds, serve them through <picture> with PNG fallbacks, and lazy-load the feature screenshots below the hero. The five screenshots shrink from 4,668 KiB to 2,696 KiB (42.2%) with identical decoded pixels. Generated files stay out of Git; original PNGs remain available for editing and fallback support.

Add npm test and run it before the CI build, including the existing deployment checks and a pixel-preservation test for conversion.

Validation: frontend regression tests and TypeScript checking passed; browser verification confirmed all five WebP files loaded. Full UI build was not run because the repository's AGENT.md prohibits it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 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-10-17T18:55:43.341335Z 04cb9b9 PR opened
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 50 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: df7f202d-5129-4bd7-a2a4-9155652d719e
📥 Commits

Reviewing files that changed from the base of the PR and between d52b800 and 04cb9b9.

📒 Files selected for processing: 8
  • .github/workflows/build.yml
  • .gitignore
  • README.md
  • package.json
  • scripts/optimize-landing-images.mjs
  • scripts/optimize-landing-images.test.mjs
  • src/components/landing/LandingImage.tsx
  • src/components/landing/Landingpage.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Cloudflare preview: https://pr-97-lanis-ui-preview.bennetjoanwegener.workers.dev

Commit: 04cb9b9e4f0820a6d4097c05552c96982e758ac7

This preview uses the live LANIS API. Changes made after signing in affect your real account.

@joan-code6
joan-code6 merged commit c190f9c into main Oct 17, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
preview-pr-97 — 04cb9b9e Deployed Oct 17, 2026 by github-actions[bot]
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.

1 participant