Skip to content

fix(web,landing): align browser tab titles with route names#120

Merged
lefarcen merged 1 commit intomainfrom
fix/tab-titles
Mar 6, 2026
Merged

fix(web,landing): align browser tab titles with route names#120
lefarcen merged 1 commit intomainfrom
fix/tab-titles

Conversation

@Siri-Ray
Copy link
Copy Markdown
Contributor

@Siri-Ray Siri-Ray commented Mar 6, 2026

Summary

  • update the landing and legal page titles to match the requested browser tab copy
  • add route-based document title syncing in the web app for auth, onboarding, and workspace
  • fall back to Nexu for unspecified web routes instead of the old dashboard title

Summary by CodeRabbit

  • Style

    • Standardized page title formatting and branding text across landing and web apps (new interpunct separator and updated branding).
  • New Features

    • Dynamic document titles now update with navigation, showing contextual titles like Sign In, Get Started, Workspace, and a default app title.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 6, 2026

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: 0d79b459-fb69-491a-8cbf-680f4ae70b10

📥 Commits

Reviewing files that changed from the base of the PR and between 32e57f7 and da325c5.

📒 Files selected for processing (4)
  • apps/landing/src/layouts/LegalLayout.astro
  • apps/landing/src/pages/index.astro
  • apps/web/index.html
  • apps/web/src/app.tsx

📝 Walkthrough

Walkthrough

This PR updates page titles across landing and web apps: swapping hyphens for dot interpuncts in landing titles, changing the landing index title text, simplifying the web index title, and adding a DocumentTitleSync component in the web app to set document.title based on route.

Changes

Cohort / File(s) Summary
Landing: title text & separator
apps/landing/src/layouts/LegalLayout.astro, apps/landing/src/pages/index.astro
Replaced hyphen separator with a dot interpunct (·) in title rendering and updated the landing index page title string to "Your Digital Coworker · Nexu". No logic changes.
Web: static title & dynamic title sync
apps/web/index.html, apps/web/src/app.tsx
Simplified static document title in index.html and added DocumentTitleSync in app.tsx which uses useLocation/useEffect to set document.title for routes /auth, /onboarding, /workspace, or default to "Nexu".

Sequence Diagram(s)

sequenceDiagram
    participant Browser
    participant App as App (React)
    participant Router as React Router
    participant TitleSync as DocumentTitleSync
    participant Document as window.document

    Browser->>App: load
    App->>Router: render Routes
    App->>TitleSync: mount
    Router-->>TitleSync: provide current path (/auth, /onboarding, /workspace, ...)
    TitleSync->>Document: set document.title ("Sign In · Nexu" / "Get Started · Nexu" / "Workspace · Nexu" / "Nexu")
    Browser->>Document: display updated title
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through heads and titles new,

swapped tiny dashes for a dot so true,
routes now whisper what they show,
document titles come and go,
a small, clean change — hooray! 🥕


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@lefarcen lefarcen merged commit a8ca722 into main Mar 6, 2026
2 checks passed
lefarcen added a commit that referenced this pull request Apr 1, 2026
Add a dismiss-once promo banner on Home (both idle and active states)
and a two-step modal: GitHub Star → join Feishu group to apply for a
Seedance 2.0 experience Key. Visual style aligned with the prototype
in refly-ai/agent-digital-cowork PR #119 and #120.
alchemistklk pushed a commit that referenced this pull request Apr 1, 2026
* feat(web): add Seedance 2.0 promo banner and modal flow

Add a dismiss-once promo banner on Home (both idle and active states)
and a two-step modal: GitHub Star → join Feishu group to apply for a
Seedance 2.0 experience Key. Visual style aligned with the prototype
in refly-ai/agent-digital-cowork PR #119 and #120.

* fix(web): update Seedance tutorial URL to docs.nexu.io

* fix(web): resolve biome a11y lint errors in seedance promo
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.

2 participants