Skip to content

feat(app): Instant Nav pilot phase 2 — metadata, privacy/daily, cleanup - #163

Merged
mkayander merged 2 commits into
mainfrom
cursor/instant-nav-phase2-8f0a
Aug 9, 2026
Merged

feat(app): Instant Nav pilot phase 2 — metadata, privacy/daily, cleanup#163
mkayander merged 2 commits into
mainfrom
cursor/instant-nav-phase2-8f0a

Conversation

@mkayander

@mkayander mkayander commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #160. Extends the App Router Instant Nav pilot without changing public URLs.

Changes

App document parity

  • Viewport, favicons, manifest, theme-color, Material Icons in src/app/layout.tsx

Pilot hardening (fixed in latest commit)

  • internalMarketingPilotMetadata — noindex + canonical to public paths
  • Layout default robots: noindex on all /internal-marketing/[locale]/* routes
  • Home metadata on [locale]/page.tsx only (not layout — avoids wrong canonical on nested routes)
  • Child metadata via importLocaleAsync strings (pilotPageMetadataFromTranslation) — fixes silent generateMetadata failures

Route extension

  • /internal-marketing/[locale]/privacy and /daily
  • PrivacyPageView / DailyPageView shared with Pages routes

Cleanup

  • Removed unused @trpc/next
  • Unit tests for localePathForPage and internalMarketingPilotMetadata

Verification

  • pnpm lint
  • pnpm test:ci
  • pnpm build
  • Local prod: pilot home/privacy/daily all emit noindex, title, canonical
  • Vercel preview: public routes + APIs green (re-verify after this push)
Open in Web Open in Cursor 

- Add App root viewport/icons/Material Icons parity with _document
- Mark internal-marketing routes noindex with canonical URLs to public paths
- Extract PrivacyPageView and DailyPageView; add App pilot routes
- Force-dynamic pilot layout to avoid SSG timeouts on daily data hooks
- Remove unused @trpc/next; update Instant Nav TODO and AGENTS.md
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
dstruct Ready Ready Preview Aug 9, 2026 8:31pm

- Move home generateMetadata to [locale]/page.tsx (layout metadata was
  home-only and did not apply correctly to nested pilot routes)
- Add layout-level robots noindex default for all pilot children
- Load metadata copy via importLocaleAsync strings instead of i18nObject
  (fixes silent generateMetadata failures on child pages)
- Add pilotPageMetadataFromTranslation helper; remove unused
  loadLocaleTranslationFunctions
- Add unit tests for localePathForPage and internalMarketingPilotMetadata
@mkayander
mkayander marked this pull request as ready for review August 9, 2026 20:36
@cursor

cursor Bot commented Aug 9, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@mkayander
mkayander merged commit 01a2392 into main Aug 9, 2026
6 checks passed
github-actions Bot pushed a commit that referenced this pull request Aug 9, 2026
# [1.380.0](v1.379.4...v1.380.0) (2026-08-09)

### Features

* **app:** Instant Nav pilot phase 2 — metadata, privacy/daily, cleanup ([#163](#163)) ([01a2392](01a2392))
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.380.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants