5.2 — /home (alt route): renders coherently; does not 404, does not duplicate-render the primary home. #199

Closed
opened 2026-05-13 02:59:37 +00:00 by nullvector_ux · 9 comments
nullvector_ux commented 2026-05-13 02:59:37 +00:00 (Migrated from gitlab.com)

For 5.2 — /home alt route, this is a Fail. @PlasticDigits

It does not 404, but it also does not render coherently. The page only shows the green background/grid and no homepage content/cards.

Checklist Item: 5.2
Section: Routing / /home alt route
Status: Fail
Device/Viewport: Desktop
Wallet State: Not required
Steps: Opened http://localhost:5176/home directly in the browser.
Expected Result: /home should render coherently and should not duplicate-render the primary home.
Actual Result: /home loads a blank green background/grid with no visible homepage content. It does not show a 404, but the route content does not render properly.
Evidence: Screenshot provided.

image.png{width=900 height=471}


Notes: This appears to be a broken/empty alt route state.

For **5.2 — `/home` alt route**, this is a **Fail**. @PlasticDigits It does **not 404**, but it also does **not render coherently**. The page only shows the green background/grid and no homepage content/cards. **Checklist Item:** 5.2\ **Section:** Routing / `/home` alt route\ **Status:** Fail\ **Device/Viewport:** Desktop\ **Wallet State:** Not required\ **Steps:** Opened `http://localhost:5176/home` directly in the browser.\ **Expected Result:** `/home` should render coherently and should not duplicate-render the primary home.\ **Actual Result:** `/home` loads a blank green background/grid with no visible homepage content. It does not show a 404, but the route content does not render properly.\ **Evidence:** Screenshot provided. ![image.png](/uploads/b76a225082a3d23a9ddfd26748e547b2/image.png){width=900 height=471} \ **Notes:** This appears to be a broken/empty alt route state.
nullvector_ux commented 2026-05-13 03:00:33 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
nullvector_ux commented 2026-05-13 03:13:07 +00:00 (Migrated from gitlab.com)

changed title from /home alt route renders blank page instead of coherent homepage content` to 5.2 — /home (alt route): renders coherently; does not 404, does not duplicate-render the primary home.

<p>changed title from <code class="idiff">/home alt route renders <span class="idiff left right deletion">blank page instead of coherent homepage content`</span></code> to <code class="idiff"><span class="idiff left addition">5.2 — </span>/home <span class="idiff addition">(</span>alt route<span class="idiff addition">):</span> renders <span class="idiff right addition">coherently; does not 404, does not duplicate-render the primary home.</span></code></p>
nullvector_ux commented 2026-05-13 03:16:50 +00:00 (Migrated from gitlab.com)

I think "5.15 — 404 / global error pages match brand and offer recovery paths (home, support)." is connected to this because when going to an 404 page it doesn't show an home page path

I think "**5.15** — 404 / global error pages match brand and offer recovery paths (home, support)." is connected to this because when going to an 404 page it doesn't show an home page path
PlasticDigits commented 2026-05-13 04:32:09 +00:00 (Migrated from gitlab.com)

mentioned in commit 9e478ef4e2b17fbf0934dd15facc1e37d3e6632c

mentioned in commit 9e478ef4e2b17fbf0934dd15facc1e37d3e6632c
PlasticDigits commented 2026-05-13 04:33:10 +00:00 (Migrated from gitlab.com)

Update (GitLab #199 — /home hub route)

Root cause: With VITE_LAUNCH_TIMESTAMP unset (no-env / default dev), ROUTES_NO_ENV only mounted HomePage on the index route (/). Navigating to /home matched RootLayout but no child route, so <Outlet /> stayed empty — shell + green grid, no hero/cards.

Fix: Register path: "home" with the same lazy HomePage in ROUTES_NO_ENV (hub alias; canonical URL remains /). Post-launch routing (/ → TimeCurve Simple, /home → hub) is unchanged.

Merged: main @ 1e6d3eb (includes merge of fix/gitlab-199-home-route-no-env).

Docs / invariants

Verification checklist (for QA)

  • No-env dev: No VITE_LAUNCH_TIMESTAMP in env → open /home → YieldOmega h1, hero image, Open TimeCurve CTA, surface cards (not blank main).
  • No-env dev: / shows the same hub content as /home; only one RootLayout (no duplicated chrome).
  • Post-launch build (optional): VITE_LAUNCH_TIMESTAMP in the past → / is TimeCurve Simple, /home still shows full hub.
  • Automated: cd frontend && VITE_WALLETCONNECT_PROJECT_ID=test npm run build && npx playwright test e2e/launch-countdown.spec.ts e2e/home.spec.ts (no-env build exercises /home in no-env routing test).

Requesting verification from @nullvector_ux — please re-run checklist item 5.2 on a fresh npm run dev with no launch timestamp. Issue stays open until you sign off.

/cc @PlasticDigits

## Update (GitLab #199 — `/home` hub route) **Root cause:** With `VITE_LAUNCH_TIMESTAMP` **unset** (no-env / default dev), `ROUTES_NO_ENV` only mounted `HomePage` on the **index** route (`/`). Navigating to `/home` matched `RootLayout` but **no child route**, so `<Outlet />` stayed **empty** — shell + green grid, no hero/cards. **Fix:** Register `path: "home"` with the same lazy `HomePage` in `ROUTES_NO_ENV` (hub alias; canonical URL remains `/`). Post-launch routing (`/` → TimeCurve Simple, `/home` → hub) is unchanged. **Merged:** `main` @ `1e6d3eb` (includes merge of `fix/gitlab-199-home-route-no-env`). ### Docs / invariants - `INV-FRONTEND-199-HOME-ROUTE` — [invariants](docs/testing/invariants-and-business-logic.md#launchgate-home-route--no-env-parity-gitlab-199) - Manual QA — [checklist #199](docs/testing/manual-qa-checklists.md#manual-qa-issue-199-home-route-launchgate) - `docs/frontend/timecurve-views.md` — [LaunchCountdown → Simple handoff](docs/frontend/timecurve-views.md#launchcountdown--simple-handoff) - Third-party / contributor index — [`skills/README.md`](skills/README.md) + [`.cursor/skills/yieldomega-guardrails/SKILL.md`](.cursor/skills/yieldomega-guardrails/SKILL.md) ### Verification checklist (for QA) - [ ] **No-env dev:** No `VITE_LAUNCH_TIMESTAMP` in env → open `/home` → **YieldOmega** `h1`, hero image, **Open TimeCurve** CTA, surface cards (not blank main). - [ ] **No-env dev:** `/` shows the **same** hub content as `/home`; only one `RootLayout` (no duplicated chrome). - [ ] **Post-launch build (optional):** `VITE_LAUNCH_TIMESTAMP` in the **past** → `/` is TimeCurve Simple, `/home` still shows full hub. - [ ] **Automated:** `cd frontend && VITE_WALLETCONNECT_PROJECT_ID=test npm run build && npx playwright test e2e/launch-countdown.spec.ts e2e/home.spec.ts` (no-env build exercises `/home` in `no-env routing` test). --- Requesting verification from @nullvector_ux — please re-run checklist item **5.2** on a fresh `npm run dev` with no launch timestamp. **Issue stays open** until you sign off. /cc @PlasticDigits
nullvector_ux commented 2026-05-13 12:12:32 +00:00 (Migrated from gitlab.com)

Verification checklist (for QA) @PlasticDigits

  • No-env dev: No VITE_LAUNCH_TIMESTAMP in env → open /home → YieldOmega h1, hero image, Open TimeCurve CTA, surface cards (not blank main).

  • No-env dev: / shows the same hub content as /home; only one RootLayout (no duplicated chrome).

  • Post-launch build (optional): VITE_LAUNCH_TIMESTAMP in the past → / is TimeCurve Simple, /home still shows full hub.

  • (skip) Automated: cd frontend && VITE_WALLETCONNECT_PROJECT_ID=test npm run build && npx playwright test e2e/launch-countdown.spec.ts e2e/home.spec.ts (no-env build exercises /home in no-env routing test).

    Reason: Unfortunately I run to some error and I couldn't automate it

    ERROR: Playwright does not support chromium on ubuntu26.04-x64

### Verification checklist (for QA) @PlasticDigits * [x] **No-env dev:** No `VITE_LAUNCH_TIMESTAMP` in env → open `/home` → **YieldOmega** `h1`, hero image, **Open TimeCurve** CTA, surface cards (not blank main). * [x] **No-env dev:** `/` shows the **same** hub content as `/home`; only one `RootLayout` (no duplicated chrome). * [x] **Post-launch build (optional):** `VITE_LAUNCH_TIMESTAMP` in the **past** → `/` is TimeCurve Simple, `/home` still shows full hub. * [ ] **(skip) Automated:** `cd frontend && VITE_WALLETCONNECT_PROJECT_ID=test npm run build && npx playwright test e2e/launch-countdown.spec.ts e2e/home.spec.ts` (no-env build exercises `/home` in `no-env routing` test). Reason: Unfortunately I run to some error and I couldn't automate it ERROR: Playwright does not support chromium on ubuntu26.04-x64
PlasticDigits commented 2026-05-13 15:13:37 +00:00 (Migrated from gitlab.com)

mentioned in commit e60ccb3e71

mentioned in commit e60ccb3e713f16701d6dabe13738132461666725
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-05-14 13:47:20 +00:00
PlasticDigits commented 2026-05-14 13:47:21 +00:00 (Migrated from gitlab.com)

@nullvector_ux Please open a new issue for the playwright bug, but closing this issue

@nullvector_ux Please open a new issue for the playwright bug, but closing this issue
PlasticDigits commented 2026-05-20 04:19:10 +00:00 (Migrated from gitlab.com)

mentioned in issue #223

mentioned in issue #223
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/yieldomega#199
No description provided.