Dev Log
Local preview recovery and full-width mobile buttons
What was done
- Documented the confirmed local-preview failure mode and recovery procedure.
- Standardized the local development address as
127.0.0.1:4184. - Added diagnostic steps that separate an Astro server failure from an in-app browser connection failure.
- Made every shared
.btncall to action full width at the existing 768px mobile breakpoint. - Allowed long mobile button labels to wrap and remain centered.
- Extended the button verifier to protect the mobile behavior alongside the existing hover-contrast checks.
Why
A stale Astro preview process was still holding port 4184 on the IPv6 loopback address after being launched with duplicated host arguments. The replacement development server briefly reported that it was ready and then returned to the prompt, while the browser could not reach the expected IPv4 address. The recovery steps now make the server state independently verifiable before troubleshooting the browser connector.
Mobile calls to action also needed a consistent, easier-to-scan treatment across the website. The shared button class provides one controlled implementation without changing compact navigation, search, menu, QR, or icon controls.
Files affected
src/styles/global.csssrc/scripts/verify-primary-button-hover.mjsdocs/operations/production-deployment.mdsrc/content/devlog/2026-10-29-local-preview-and-mobile-buttons.md