Skip to content

try hugo#313

Open
adeebshihadeh wants to merge 17 commits into
masterfrom
hugo_fable
Open

try hugo#313
adeebshihadeh wants to merge 17 commits into
masterfrom
hugo_fable

Conversation

@adeebshihadeh

Copy link
Copy Markdown
Collaborator

No description provided.

adeebshihadeh and others added 15 commits June 12, 2026 11:52
- hugo.toml: uglyURLs flat output into build/ (firebase.json unchanged), shopify params
- layouts: baseof + head (analytics verbatim) + header/footer/cart shell + 404
- assets/css/site.css: assembled from the compiled svelte build (scoped classes kept)
- assets/js: vanilla ports of store/shopify/cart/currency + faq hash-sync + vendored hls.mjs
- static/img: avif/webp/orig variants harvested byte-identical from the production build
- static/fonts: de-hashed fontsource + MonumentExtended woff2/woff
- data: products/vehicles/car-harnesses/compatibility exported from src

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- build.yaml installs hugo, passes prod token via HUGO_PARAMS_SHOPIFY_STOREFRONTAPITOKEN
  (verified the override reaches the JS bundle)
- compatibility.py + workflow write to data/ instead of src/lib/
- spellcheck sweeps layouts/content/data/assets/js/scripts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
All pages verified: normalized DOM diff vs the production SvelteKit build is
zero lines (jobs: only the designed dual-title -> single-title consolidation).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Normalized DOM diff vs production: 0 lines (accordion ids are stable slugs
instead of the old build's Math.random() hex — those were nondeterministic
across builds and only pair input/label internally).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Shared product machinery: product partial, build-time Shopify snapshot via
GetRemote POST GraphQL, 376-row harness selector, gallery/variant/modal JS,
runtime stock refetch. Normalized DOM diff vs production: title consolidation
only on all 17 pages.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Buy-box state machine, 377-row selector, trade-in checker, mp4 loops, modal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
SetupGuide stepper, vehicle picker, FAQ accordions with hash deep links,
canonical data/faq.json. Full-site normalized DOM sweep: 11 pages identical,
21 pages title-consolidation only, 404 prerendered by design.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The site is now pure Hugo: 'hugo --gc --cleanDestinationDir' builds the
identical 33-page site into build/ in ~400ms (was ~42s). package.json keeps
only sharp (image-variant regeneration). firebase.json unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… live.sh, preview server, missing-bundle guard, drawer focus preservation

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- product refetch now auto-selects the first FRESH variant unless the user
  already chose (build-snapshot selection no longer survives stock drift)
- harness rows are inert until the stock fetch resolves, matching the old
  hydration timing (no more backordered car added with an 'in stock' note)

Both reproduced old-vs-new by adversarial reviewers via network interception;
re-verified identical on the 5 affected behavior scenarios after the fix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

deployed preview: https://comma-web--pr313-xk1xsqbr.web.app

Welcome! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

adeebshihadeh and others added 2 commits June 12, 2026 16:30
541KB single-line hls.min.js (same upstream 1.6.14, byte-verified) replaces
the 1.3MB/27k-line hls.mjs; .gitattributes marks vendor/ linguist-generated
so GitHub collapses it in PR diffs. Bundle output and hero playback verified
identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Each bespoke page is now a single content file: front matter (title, js
bundle, head extras) + markup in an inline shortcode. layouts/ keeps only
the shell and the shared product template; the 17 /shop product stubs stay
(they're data, stamped by shop/single.html, not redundant).

Verified: full normalize sweep unchanged (0/title-only on all 33 pages),
8 behavior scenarios re-pass identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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