Philipperomano
repo: ~/Projects/philipperomano · 20 commits · 1 in last 24h, 1 in last 7d · █
Skills used
- /naturals3
- /page2
- /vendor2
- /tags2
- /handle2
- /next1
- /twitter1
- /title1
- /description1
- /url1
- /image1
- /type1
- /sort1
- /health1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
983ba4d · 2026-06-23 · Replace pagination with infinite scrolling (IntersectionObserver)
- Remove pagination nav controls (prev/next/page numbers)
- Add scroll sentinel at grid bottom
- Load next page on scroll via fetch when user approaches sentinel
- Preserve sort + density slider functionality
- localStorage tracks current page for continuous browsing
Complies with standing requirement: all product grids must use infinite scrolling.
8aa8581 · 2026-06-03 · philipperomano SEO: add canonical + Open Graph + Twitter card + listing h1 (DTD verdict B)
Storefront had ZERO canonical/og/twitter and no h1 on the listing page.
Extended layout() with canonical/ogImage/ogTitle/ogDesc params injecting:
canonical, og:type/site_name/title/description/url/image, twitter:card.
Listing route: canonical = path + cat/type only (DTD-B, drops volatile
sort/page/q to consolidate faceted duplicates), og:image = first product;
added an sr-only h1. Detail route: per-product canonical /p/<handle> +
og:image (detail already had a visible h1). Added .sr-only utility CSS.
Verified on a free port: homepage + faceted + detail all correct, grid/sort/
density intact, JS unaffected. Local — needs deploy.
fe6a21f · 2026-05-25 · naturals: add /naturals route + nav link + inclusive classifier
Catches all 1,894 natural-fiber wallcoverings — both real fiber (grasscloth /
cork / linen / silk / jute / sisal / abaca / raffia / seagrass / bamboo) AND
Type II commercial vinyls with natural-look textures (linen-look / cork-look /
grasscloth-look / etc.).
Per Steve's directive 2026-05-24 — "most Type II vinyl textures work". The
classifier is intentionally inclusive: any product whose product_type contains
'natural' OR whose title/handle matches the NATURALS_RE regex (which includes
all the fiber names PLUS texture-suggestion words like 'fiber', 'woven',
'paperweave', 'cane', 'rattan', 'reed', 'sandstone') lands in /naturals.
Changes:
- ENRICHED rows now carry _isNatural boolean (computed on boot, ~1ms total)
- NEW NATURALS_COUNT constant, printed in boot log
- NEW /naturals route — 302-redirects to /?cat=naturals
- Index route now reads ?cat= alongside ?type=, filters ENRICHED (not raw DATA)
- Nav: 'Naturals (1,894)' link with count, between 'All' and the product-type list
- layout() takes a cat= param so the active highlight is correct
Boot results — junk-filter keeps 5,913 of 8,227 (drops 2,314), naturals
enriched count = 1,894 (32% of post-filter catalog).
File tree
8 files tracked. Click any to browse the source at HEAD.
rendered in 1ms