Skip to content

Chore/http server - #666

Merged
Mikey-222 merged 2 commits into
Hel-Phone:mainfrom
devonahi:chore/http-server
Sep 28, 2026
Merged

Mikey-222 merged 2 commits into
Hel-Phone:mainfrom
devonahi:chore/http-server

Conversation

@devonahi

Copy link
Copy Markdown
Contributor

Summary

1 — No multi-resolution layout coverage; fixed header clipped on phones
The site had no cross-device layout testing, and the fixed nav's links/status pills ran 160 px past a 375 px viewport (invisible, unscrollable). Added tests/e2e/layout.spec.ts: 6 device profiles (iPhone SE, iPhone 14, Pixel 7, iPad, Laptop, 4K) × 3 routes, asserting no horizontal scrollWidth, no right-edge clipping, landmark geometry, plus committed screenshot baselines. Fixed with wrapping nav, .hp-app-nav* media-query rules in src/App.css, clamp() hero heading, and fluid sizing in src/pages/Help.tsx. Wired into playwright.config.js (per-device projects), package.json (test:layout), and a PR-only e2e-layout-matrix job in CI.

2 — Broken build/tests blocked any verification
Duplicate imports/PERSIST_KEY in src/stores/helpStore.ts and duplicate DAO_CONTRACT_ID in src/lib/contract.ts failed Vite transforms (dev server + /help dead); test/snapshots.test.jsx had a bad import, stale snapshots, and an uninitialized-i18n crash in LanguageSwitcher. All fixed; snapshots refreshed with a new App snapshot — vitest failures down 251 → 246, tsc unchanged (30 pre-existing), vite build passes, layout matrix 36/36.

Related Issue

Closes #544
Closes #545

- Implement tests for manifest parsing, entry graph collection, and link header generation.
- Validate document request detection and HTTP/2 push middleware functionality.
- Ensure proper handling of asset files and dynamic imports in the manifest.
- Introduce environment configuration tests for HTTP/2 push options.
- Utilize temporary directories for testing manifest file reading and writing.
@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@devonahi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mikey-222
Mikey-222 merged commit 7a1f750 into Hel-Phone:main Sep 28, 2026
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.

Playwright End-to-End Multi-Resolution Visual Layout Matrix Express HTTP/2 Server Push Asset Manifest Builder

2 participants