Repository navigation
Conversation
Self-contained Astro project in dashlabs/ (own package.json and build; does not touch the REF·DB site or its deploy). Catalog-driven shop with product options, browser cart, order-request checkout, custom-order form, lab/portfolio and FAQ pages. Order pricing is pure and server-ready for Stripe Checkout with invoice creation; see dashlabs/docs/SHOP-ROADMAP.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
…s board Borrows REF·DB's structure: learn-first guide pages (at a glance, analogy, diagram, tool, worked example, where this stops, references) with maths in pure src/lib functions and worked examples asserted in tests. - Print price estimator (size, shape, material, infill, quality -> grams, hours, price breakdown) that hands off to the custom-order form - Launch lab for the Pen Launcher (spring energy -> speed -> trajectory, best angle), on its guide and its product page - Materials guide with heat scale and comparison chart - Lab status board on the home page (printers, queue, lead time) - Fix: button text inside guide prose inherited the link colour Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Visual style, menu and colours taken from REF·DB: - Deep-field starfield (REF·DB's SpaceSky, black hole off), glass header with the accent-to-cyan hairline, content plate, scroll telemetry - REF·DB palette and IBM Plex Sans/Mono; HUD chips; PAUSE MOTION (saved) - Mission rail menu: briefing chips, station orbit map, every station with coloured orb and item codes (F01, O01, B01, M01, L01); drawer on phones behind MENU - Shop categories become coloured stations; station banner with step dashes and PREV/NEXT on product and guide pages - Home: stamp-dot wordmark hero with meta strip, three ways in, systems-status board, ▸ section headings - Tools get corner brackets in the station colour and a live dot - Nav plan in src/data/nav.ts drives rail, board, banner and footer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Separates DashLabs visually from REF·DB and gives it its own look: - New concept: a dark build chamber lit by a hot amber nozzle and UV violet; perspective build-grid background; Unbounded / Manrope / JetBrains Mono; new isometric printed-cube mark and favicon - Extruded design language: layered headlines, cards, buttons, panels - Print-in animation: sections build up layer by layer with a hot nozzle line as they scroll into view; 3D tilt cards with glare - Three.js: hero printer that prints models layer by layer (moving head, hot nozzle light, extrusion trail, sparks, live slicer readout), product viewer (drag to spin, recolours to the chosen filament incl. silk rainbow, watch-it-print replay), and real 3D thumbnails for every product card rendered in the browser - Printed-plastic shader: layer lines, hot fresh-layer glow, rainbow - New navigation: top bar with a Shop mega-menu and a full-screen phone menu, built from the catalog; print bays lab status; ticker - Removed the REF·DB starfield, mission rail, planets and zone banner - Three.js only loads on pages with 3D; motion pause and reduced motion respected (hero shows a still finished print) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Instant STL quote on /custom/: drop a binary or ASCII STL, see it in the printed-plastic viewer, and get a price from its real volume and surface area (scale, infill, material, quality, quantity); warns when the mesh isn't watertight, is too big for the bed or too thin; hands the summary to the request form. Parsed in the browser, never uploaded. Sample part included. - src/lib/mesh.ts: exact volume (signed tetrahedra), surface area, size, watertight check, fits-the-bed; estimateSolid() prices a known solid. Tests: box volume/area, translation and winding invariance, open mesh, bed fit, estimateSolid matches estimate(). - Live slicer preview in the price estimator: walls and grid infill that follow the slider, with a nozzle tracing the outer wall - Fly-to-cart: a printed cube arcs into the cart, then a toast - 3D filament spools on the materials guide; cart lines show 3D thumbs in the chosen filament colour (thumbnails cached and shared) - 404: a spinning 3D 'spaghetti' failed print - Viewer generalised (mountModel with replace) for any model Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Personalised products: type your text and watch it appear as raised, extruded 3D letters on the model (Name keychain, business cards), in a second filament colour; saved on the cart line. Catalog field 'personalise' + TEXT_COLOURS option; model text anchors; Helvetiker Bold font shipped with its MgOpen licence. The model swings round to face you while you type. - Fix: the business card model faced away from the viewer - Quick search styled as the printer console: / or Ctrl/Cmd K, arrow keys, Enter; indexes products, guides, tools and pages - SEO: schema.org Product data on product pages, Organization elsewhere, canonical links, Open Graph/Twitter tags, generated sitemap.xml and robots.txt, and a 1200x630 share image of the printer mid-print - Lighter 3D on phones (pixel ratio and shadow map) - Tests: personalised products need a text colour option Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Gift wrap and gift note: a switch in the cart; wrap priced server-side
(GIFT_WRAP_PRICE), shown in the summary and order email, note capped
- Cart thumbnails show personalised text in the chosen text colour
- Stripe Checkout, written and tested but switched off until there is a
Stripe account and a server host:
- src/lib/stripe.ts: session from the server-priced order (lines,
options, personalised text, gift wrap, reference, shipping
countries, invoice_creation on so Stripe emails a numbered invoice),
plain fetch so any host works; webhook signature verification
- src/server-routes/api/{checkout,stripe-webhook}.ts: routes to move
into src/pages/api/ after adding an adapter (validated by building
a copy with @astrojs/node and exercising both endpoints)
- /order/success (clears cart, shows reference, noindex) and a
friendly cancelled-checkout notice in the cart
- docs/SHOP-ROADMAP.md: exact steps to switch payments on
- Tests: gift pricing, email text, Stripe params, session call, errors,
webhook signatures (tamper, wrong secret, replay, rotation)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- The lab: 'From file to shelf' scroll story; scrolling takes the Pen Launcher through design (CAD wireframe), slice (layer bands), print (cut rising with the hot edge, live layer count) and finish - Product viewers: layer scrubber to slice through the part like a slicer preview - Home hero: pick-the-next-print chips (printNow ejects the current part) - Shader: adjustable layer-line strength (uLines); viewer scrub() API - Accessibility: axe audit of 13 pages now clean (cart name includes the count, card heading levels, story contrast, rating text alternatives) - Preload the critical font files; drop an unused weight Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Real size: a 'Real size' button on product viewers adds a cm ruler and a bank card (85.6 x 54 mm) at true scale beside the model; follows the size option (8/12/18 cm figurines, 20/35 cm dragon). Sizes in the catalog; unknown ones marked placeholder and shown as approximate. - Save for later: hearts on product cards and pages, a count in the header, a /saved/ page; stored on the visitor's device - Day shift: a light 'workshop with the lights on' theme with a sun/moon toggle (remembered, applied before first paint); colours moved to tokens; category colours darkened for text on paper; the 3D turntable follows the theme; a back light so dark filaments show their edges - Accessibility: axe audit clean on 14 pages in both themes - Search console closes on a single Esc - Tests: every product has a size; size options map every choice Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Launch - Netlify-ready with no code edits: on Netlify builds the adapter and the /api/checkout and /api/stripe-webhook routes are added automatically; checkout mode comes from PUBLIC_CHECKOUT_MODE; netlify.toml; site URL from Netlify. Local and other static builds are unchanged. - docs/DEPLOY.md: step-by-step Netlify + Stripe test mode + go live Reviews and gallery - Real-only reviews (start empty, honest empty state with a link to send one), rating summary, AggregateRating only when reviews exist - Customer-print gallery with lightbox on /lab/ (hidden until it has photos) Flow - Order and custom requests open a 'ready to send' dialog (open email app, copy message, copy address) instead of a bare mailto - Cart: remove with undo, keep-shopping link, suggestions when empty - Sticky buy bar on phones; guides end with a next step; 'got an idea?' band above the footer; cross-fade between pages; skip link - axe audit clean in both themes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Guides (each with a tool, worked example and tests): photos for a custom figurine (checklist that feeds the request form), designing parts that print well (overhang, bridge, wall and clearance check), where your print can live (place picker over the materials data) - Gift finder: three questions, up to three matches from the catalog - Policies page (shipping, returns, custom work, privacy, terms), marked draft until reviewed; About page with a maker's-note placeholder - Shop sorting; web app manifest and icons - Linked in the menu, footer, search and sitemap - Light theme: page tone deepened once at the root; audit clean in both Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Pre-rendered 3D thumbnails (13 webp, 184 KB) for product cards, category tiles and filament spools: 'npm run thumbs' regenerates them with the site's own 3D code; anything missing still renders in the browser. Shop page Lighthouse performance 59 -> 98. - Thumbnails are transparent (part + shadow), so they suit both themes - In-browser thumbnail rendering can no longer be starved by a busy page - Hero printer starts after page load, when the browser is idle - Adaptive 3D quality: slow devices drop sharpness and shadows, then halve the frame rate - Latin-only font CSS Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Home no longer scrolls sideways (tilted ticker clipped) - Product cards in a row share one height - Pen Launcher showcase starts in lab orange - Gift page spacing; README: thumbnails, new pages, launch checklist - Light theme: mint deepened for contrast Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Product pages: 'Order today, ships Tue 17 - Mon 23 Nov' (working days, slower of product lead time and lab queue); cart shows when the order ships; 'Good to know' accordion built from the catalog - Quick add (+) on cards for items that need nothing typed - Mini-Me: choosing the multi-colour finish recolours the 3D preview - 3D viewer: arrow keys turn the model - SEO: BreadcrumbList on products, FAQPage on the FAQ - CI: .github/workflows/dashlabs.yml runs tests, type check and build for dashlabs/ changes only (never deploys) - Tests: working-day ship windows Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Phone: cart lines laid out properly (picture, details, remove on top;
quantity and total below); footer email on one line; pages can no
longer be wider than the screen
- Custom orders: price guide tables (size x finish) computed from the
catalog, and a what-happens-next strip
- scripts/smoke.mjs ('npm run smoke'): ten end-to-end journeys on the
built site, including a crawl of every internal link
- docs/EMAIL-TEMPLATES.md: replies for orders, quotes, previews,
shipping, reviews and licence refusals
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Pet portrait figurine now shows a sitting dog (3D model, fallback drawing, thumbnail, and a new job in the home-page printer queue) - Product pages with photos open on a gallery (photo thumbnails plus a 3D button that switches to the interactive model); pages without photos are unchanged - Thumbnails regenerated Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Product choices are kept in the address (?colour=blue&text=DASH), so shared links and the back button restore them; the 3D viewer picks them up; Share button (share sheet or copy link) - Cart and request form remember name and email on the device - Print stylesheet: ink on paper, no site chrome - Security headers in netlify.toml; notice when JavaScript is off - Smoke test: two more journeys (12 in all) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- 'npm run launch-check' reads the site's data and pages and lists every placeholder left (must fix / check by hand / nice to have); --strict exits non-zero while must-fix items remain - The home-page printer shows a still of itself mid-print immediately, swapped for the live 3D on its first frame (no blank box on slow phones); the readout starts on the same layer. 'npm run thumbs' makes the still along with the thumbnails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Quick start, an everyday-jobs table (where to change prices, photos, queue, reviews, rates), adding a product, launch checklist driven by npm run launch-check, a feature overview, structure and principles, and a commands table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- The ready-to-send dialog ends with 'I've sent it': it clears the cart (or resets the custom form) and confirms, with the order reference and what to expect next; 'Not yet' leaves everything as it was - FAQ label tidied; smoke test checks the cart clears after sending Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Shop menu: opening it from the keyboard moves focus to its first link; Esc returns focus to the Shop button; tabbing past the end closes it - Phone menu: focus goes to the first link on open, Tab stays inside while it's open, Esc closes it and returns focus to the menu button - Smoke test covers both (13 journeys) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
When the viewer is narrow, the controls sit in one row (Real size and Print), the drag hint hides, and the corner label shortens, so nothing covers the model. Desktop unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Learn: guides shown as a grid of tilt cards, each with a drawing of its tool (spools, slicer grid, launch arc, camera ring, overhang and bridge, sun and thermometer); total reading time; better description - 404: 'Were you looking for…' suggests the closest product for a mistyped address, a search button, and popular links Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- The quality governor now measures the real time between frames (which includes the browser's drawing and compositing, not just our code), so it sees true slowness - If even the lightest setting is too slow (or under ~8 fps), the hero printer stops after about 2 seconds and shows the still, with a 'Play live 3D' button; picking a job also plays it. The readout matches the still. - Measured (software rendering, no GPU): mobile Lighthouse 56 -> 66, blocking time 25 s -> 3.4 s, speed index 11 s -> 2.1 s; desktop 67 -> 75 - Thumbnail script presses play itself; poster regenerated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
- Product 3D viewer: on a device that can't keep up it stops the idle spin and only draws while you drag, print or pick a colour (mobile blocking time 6.4 s -> 3.4 s); dragging still works - Search snippets: product descriptions now say made to order and the price; home description fits in 160 characters; fuller descriptions for The lab and Gifts; cart gets its own and is kept out of search Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Buy bar shows whenever the main button is off-screen, footer stays clear of it, breadcrumb fits one line on iPhone SE, viewer controls and label compact, nothing cut off at 320px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
npm run og renders a 1200x630 card per product (3D render or first photo, name, summary, price, brand) to public/og/; product pages use it for og:image and Product JSON-LD, falling back to the site card. launch-check reminds to re-render after edits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Items are saved the moment Add to cart is tapped; the fly-to-cart cube only delays the badge/toast, and it gives up waiting after 1.2s if the browser pauses the animation. Leaving the page mid-animation used to drop the item. New smoke journey covers it. Cart summary: one honest line about shipping and tax (confirmed by email / added at checkout) instead of wrapping rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
New src/lib/search.ts (tested): drops filler words, maps everyday words onto
the site's ('how much' -> price, 'delivery' -> shipping, 'dog' -> pet),
matches plurals, word starts and one-letter typos, and falls back to best
partial matches. FAQ answers are searchable and /faq/#id opens the answer.
No-match shows popular shortcuts. FAQ entries moved to src/data/faq.ts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
PUBLIC_ORDER_DELIVERY=netlify-form sends order and custom requests straight from the site (Netlify stores them and emails you) instead of relying on the customer's email app. Off by default. Falls back to the email dialog if the send fails, keeping the cart. Submit buttons are disabled while sending. Setup in docs/DEPLOY.md step 1b; launch-check mentions it; tests for encoding. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The Stripe webhook now loads the session's line items (with options and personalised text), writes a plain-text 'PAID: order DL-… — $…' notice with items, total, customer, phone, shipping address, gift note and notes, and posts it as a 'paid-order' Netlify Form submission (emailed via a form notification). Falls back to the function log; the payment is safe in Stripe regardless. Tested message building and item fetch; DEPLOY.md step 3 updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Four-step progress (paid, printing, checked & packed, shipped) with the expected ship window carried over from the cart, the order reference, and how to get in touch. The cart is only cleared on a real return from Stripe Checkout, not when the page is opened by hand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
body used overflow-x: hidden, which (with html's overflow-x: clip) made the body a scroll container and silently broke every position: sticky: the lab's 'How a print gets made' scroll story scrolled away leaving ~3 screens of empty page. Now overflow-x: clip. The product gallery pins again too. Lab: a 'Your idea?' tile beside the originals invites gadget pitches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
New MathSteps component (label · working · result table) replaces the four space-aligned monospace blocks in the guides, which ran off the screen on phones. Phones stack label and result with the working underneath. Also fixes an aria-label on the thank-you page's step list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Photos go in src/photos/products/<slug>/ (filename order, description from the name). Astro resizes and converts them to AVIF/WebP with srcset/sizes and intrinsic dimensions, on the product page, gallery thumbnails and cards; the first photo is used for Product JSON-LD and the share card (npm run og). Public-path images still work. launch-check counts folder photos and flags HEIC files. README in the photos folder; caption helper tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Tap a product photo (or its enlarge badge) to open it full screen: larger responsive versions load on open, arrow keys / swipe / buttons move between photos with a live 'n / total' count, Esc or the backdrop closes and focus returns to the photo. Only rendered when a product has photos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Lighthouse + axe at phone width found two issues desktop audits missed: the 3D viewer's compact 'Print' button had no accessible name (short label is aria-hidden, long one display:none) - now aria-label='Watch it print'; and the light theme's pink was 4.26:1 on cream - deepened to #b02a7b (5.1:1). Accessibility 100 on every page type; axe clean desktop/phone x dark/light. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
From a product's 'Request a quote', /custom/ now scrolls straight to the form, shows a 'Your choices' summary (product, options, from-price, Change link back to the product with the same options) and focuses the description on desktop (not on touch screens, so no surprise keyboard). Smoke covers it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
…form The 'Your choices' box now also appears for requests from the price estimator (Price estimate · size, shape · material, quality, infill · Estimate $13, Change → back to the estimator) and the instant STL quote (file name, measured size, settings, estimate). The cursor lands after the prefilled summary on desktop. Smoke covers the estimator handoff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The description and budget are kept in the browser as they're typed, so following 'Change', a link or a reloaded tab doesn't lose them; a 'draft restored · clear' note shows when one comes back. A summary handed over by the estimator/STL quote takes precedence. Cleared once the request is sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
A component's display: grid beat the browser's [hidden] rule, so the Saved
page showed 'Nothing saved yet' above saved items (since it was built).
Global [hidden] { display: none !important } fixes it site-wide; a scan of
the main pages finds no other hidden-but-visible elements. Empty Saved now
shows 'Popular right now' to heart from, and the first save scrolls the new
list into view. Smoke checks the empty state hides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Astro's security.csp adds a per-page CSP: default-src 'self', scripts and style elements only by exact hash (no 'unsafe-inline' for scripts), inline style attributes allowed via style-src-attr for the colour variables, img-src data:/blob: for in-browser thumbnails, object-src 'none', base-uri and form-action 'self'. Inline onsubmit handlers replaced by one [data-no-submit] listener. Verified: no violations across every page and the interactive tools; an injected script and a third-party image are blocked. netlify.toml: day-long cache + stale-while-revalidate for thumbs, share cards and the hero still; deploy build also validates HTML. Thumbnail script bypasses CSP for its capture-only style. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The cart imported the Three.js thumbnail renderer on every render, even with nothing to draw: an empty cart loaded ~560 KB of JavaScript. It now loads only when there are lines with thumbnails (empty cart: 12 KB of JS). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The home page's Pen Launcher showcase mounted its viewer (and its scene, renderer and print animation) on load for every visitor; it now starts when scrolled within ~500 px. Product pages, where the viewer is on screen, start at once as before. Position check rather than IntersectionObserver (print-in clip-path). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
npm audit: 17 moderate/low findings, all in build-time tooling (none ship to visitors). Applied the non-breaking fixes (Netlify adapter 8.2.14, latest) and upgraded html-validate 9 -> 11 (dev only; all pages still validate). The remaining 16 are inside the Netlify adapter's packaging tools; npm's only 'fix' is a major downgrade incompatible with Astro 7, so they wait on an upstream release. Netlify + Stripe build verified. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
Products whose options change the price (silk filament, sizes, quantities) now publish an AggregateOffer with lowPrice/highPrice computed from the catalog (new priceRange(), tested) instead of a single base price, so search results can show e.g. $24.00 – $27.00. Fixed-price items keep a plain Offer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
If src/data/lab.ts isn't updated for 21 days, visitors' browsers switch the header chip from 'N in queue' to 'Taking orders', the home board from queue and printer bays to 'Ships in usually 3–7 days' with a note to ask for a current lead time, and product/cart ship dates to the usual turnaround. Decided in a pre-paint script (no flash); isStale() tested; dates verified with a simulated clock in both states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The About page's maker's note is now src/writing/maker-note.md (draft flag, signature, optional photo beside it) and the Lab build log is one Markdown file per entry in src/writing/build-log/ (date, title, text, optional photo row; newest first), with READMEs explaining each. Photos in src/photos/about|build-log/ are optimised like product photos. launch-check reads the files; date formatting tested. Verified with a sample note and entry (photos, links, signature, full date), then removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
…eep proportions
Gallery and review photos can now be given by file name from
src/photos/gallery/ (optimised like product photos; /public paths still
work). The gallery uses the shared PhotoLightbox (arrows, swipe, count,
focus return) with its captions instead of its own simpler dialog. Found
while testing with samples: review photos rendered at their full pixel
height; fixed, plus a global img { height: auto } so no image can be
stretched by its width/height attributes (scan of 7 pages x 2 widths: none
distorted). Test checks referenced photo files exist. Samples removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
/desk/ (not linked, noindex, out of the sitemap, disallowed in robots.txt): paste an order email (customer request or PAID notice) and print a packing slip (reference, ship-to, items with options and personalised text, tick boxes, never any prices, gift wrap omitted) or an A6 gift note card (to, note, from) with a cut outline. Prints only the chosen sheet. parseOrderText is tested against the site's own email generators, incl. multi-line notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
…ocus The keyboard journey occasionally failed 'Esc returns focus to the menu button'. The open menu focused its first link on a 60 ms timer that could land after the state changed; it now only does so if the menu is still open. On close, focus returns to the button when it was inside the menu or lost to the page body. 6/6 clean smoke runs (the flake couldn't be forced on demand). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
The desk now drafts the three order replies from docs/EMAIL-TEMPLATES.md from the pasted email: order total (items, gift wrap, subtotal + the shipping you type = total, ship-by date), shipped (tracking) and review request. Open in email (addressed to the customer) or copy; your name is remembered on the device. replyDraft()/email+subtotal parsing tested. npm run verify = check + customer journeys, the pre-publish run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
…ample docs/LAUNCH-WEEK.md: the ordered checklist from placeholders to live (essentials, catalogue, photos, words, checks, Netlify, later), linked from the README. The Pen Launcher guide's worked example is now computed from DEFAULT_LAUNCH with the launch lab's own code, so tuning the defaults to a real launcher updates the page (verified with k=420); the physics test uses fixed inputs so it no longer breaks when the defaults change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self-contained Astro project in dashlabs/ (own package.json and build; does not
touch the REF·DB site or its deploy). Catalog-driven shop with product options,
browser cart, order-request checkout, custom-order form, lab/portfolio and FAQ
pages. Order pricing is pure and server-ready for Stripe Checkout with invoice
creation; see dashlabs/docs/SHOP-ROADMAP.md.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_017vvHhosEi4oRLQ3tyixHeU