Skip to content

Refine desktop homepage and fix session transitions and local startup latency - #153

Merged
mithulcrafts merged 2 commits into
mainfrom
frontend
Nov 12, 2026
Merged

mithulcrafts merged 2 commits into
mainfrom
frontend

Conversation

@mithulcrafts

@mithulcrafts mithulcrafts commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

The desktop homepage now uses consistent Archivo Narrow typography and full-height opening and closing sections. Signed-in visitors enter the app without briefly seeing the public homepage, and localhost development avoids a measured compression stall during reloads and OAuth callbacks.

  • Use bold Archivo Narrow for the left hero headline and regular weight throughout the decision-timeline card. Load only the two required font weights when the desktop homepage mounts.
  • Keep the first section at least one viewport tall and combine the closing vision and footer into a full-height section that can grow with its content.
  • Show a neutral loader while Clerk restores or activates a session and while account synchronization completes. Only confirmed signed-out visitors see the public homepage.
  • Preserve existing routing: users with a username enter Ask; users without one enter Profile setup. Failed account synchronization provides a retry without reopening Google OAuth; cancelled or failed OAuth returns signed-out visitors to the homepage.
  • Avoid duplicate OAuth requests while session activation is propagating, and ignore stale account responses after sign-out.
  • Bypass compression only for loopback web development bundles (platform=web&dev=true), preserving NativeWind middleware, LAN/native behavior, and production asset delivery. Vercel compression is unaffected.
  • Add development-only session timing diagnostics and document measured results. Preserve the original logo, mobile landing design, graph view, links, and existing product features.

Validation

  • npm test: all 42 tests passed, including session restoration, OAuth transitions/cancellation/failure, retry, stale responses after sign-out, and an HTTP integration test using actual compression middleware.
  • npm run typecheck: passed.
  • npm run build: production web export passed.
  • Browser on localhost:8082: confirmed a restored session displays a loader and then enters Ask without showing the homepage.
  • Local bundle requests previously took 38–39 seconds with compression. After the transport fix and server restart, warm probe requests took 148–217 ms; one browser bundle request took 240 ms.
  • That browser run completed account synchronization at about 7.6 seconds from navigation start, including about 3.56 seconds for the backend account request. These are development measurements, not production or complete interactive Google sign-in benchmarks; remote authentication/database latency still needs deployment validation.
  • Desktop typography and viewport checks passed: regular timeline text and opening/closing sections matching the viewport height.

Updated screenshots

Opening section

Desktop homepage with bold Archivo Narrow headline and regular timeline text

Closing section

Full-height closing vision and footer in Archivo Narrow

@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
path-finder-imjy Ready Ready Preview Nov 12, 2026 7:35pm UTC

@mithulcrafts mithulcrafts changed the title Refine desktop homepage typography and full-screen sections Refine desktop homepage and fix session transitions and local startup latency Nov 12, 2026
@mithulcrafts
mithulcrafts merged commit 7d19b75 into main Nov 12, 2026
8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4b510677 Deployed Nov 12, 2026 by vercel[bot]
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