Skip to content

The organizer pages and sign-in pages type "OpenSignup" instead of the site's own name #881

Closed

Description

@richshaw

What happens

NEXT_PUBLIC_INSTANCE_NAME is documented as "the name of your site" (README, .env.example), and most pages show it through INSTANCE_NAME from src/lib/site-config.ts: the site header, the root layout's title and link preview, the home page, /s/[slug], the consent page, help, legal and the web manifest. A few pages type the literal "OpenSignup" instead:

  • Organizer breadcrumb: src/app/app/(chrome)/layout.tsx, the root link of the breadcrumb on every organizer page. The same file already imports INSTANCE_NAME for its tab-title template, so a self-hosted site called "Acme Signups" shows "Acme Signups" in the tab and "OpenSignup" in the breadcrumb.
  • No-workspace card: src/app/app/(chrome)/page.tsx, "Welcome to OpenSignup".
  • Sign-in pages: src/app/login/page.tsx and src/app/login/confirm/page.tsx, both with the heading "Sign in to OpenSignup".
  • Signup layout metadata fallback: src/app/app/(chrome)/signups/[id]/layout.tsx, generateMetadata returns { title: 'OpenSignup' } when there's no session. Nobody sees it, because requireOrganizerSession redirects first. If it did show, the parent template would make it "OpenSignup · ".

On opensignup.org nothing looks different, because the site name there is "OpenSignup". Every self-hosted instance with its own name shows someone else's brand on every organizer page and on sign-in.

Fix, in outline

  • Render {INSTANCE_NAME} in the breadcrumb, the welcome heading and both sign-in headings. All four are server components, and site-config reads only NEXT_PUBLIC_* values, so importing it is safe on static pages.
  • Change the metadata fallback to a neutral title such as 'Signup', as preview/page.tsx already does with 'Preview', so the brand isn't typed twice.

Watch for

  • Leave the legal pages' "OpenSignup" alone. Phrases like "{INSTANCE_NAME} is a deployment of the OpenSignup project" name the upstream project on purpose.
  • Emails are out of scope. The sign-in email's header (src/email/templates/layout.tsx), its body and preview (magic-link.tsx), its subject (src/auth/config.ts), and the OAuth resourceName (src/oauth/resource-metadata.ts) also type "OpenSignup". Nothing under src/email, src/auth, src/jobs or src/oauth imports site-config yet, and the worker process would then need NEXT_PUBLIC_INSTANCE_NAME set too. Leave those for a separate change and don't touch them here.
  • Help pages. If a help article quotes "Sign in to OpenSignup", update the article, its .ui.ts list and its walkthrough (see the help-pages skill). Under pnpm dev the name reads "OpenSignup (dev)", so any e2e or help walkthrough that matches the heading text exactly needs to match the instance name instead.
  • Overlap. The sign-in redirect URL is built by hand in five places #816 (the sign-in redirect URL) and Epic: OpenSignup in Swedish, and other languages after it #619 (translations) touch the same login files. Whichever lands second has a small merge.

Done when

  • None of the five places above types "OpenSignup": grep -rn "OpenSignup" src/app/app src/app/login, excluding tests and comments, finds nothing.
  • A unit test renders the organizer layout (or the dashboard's no-workspace card) with @/lib/site-config mocked to another name and checks that name appears and "OpenSignup" doesn't.
  • pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm test pass, and pnpm build succeeds.

Found by the pipeline's refactor scout in the organizer pages (src/app/app) and sign-in (src/app/login), at 001a284. Checked by an independent verify agent: it grepped every rendered "OpenSignup" in src, and a scratch vitest rendering the real OrganizerLayout and DashboardPage with INSTANCE_NAME mocked to "Acme Signups" still showed "OpenSignup". https://claude.ai/code/session_016YZ9STKE7qmnEctzqxYG4q

Activity

  1. added
    bug
    pipeline:ux
    pipeline:working
    and removed on Nov 13, 2026
  2. self-assigned this
    on Nov 13, 2026
  3. removed
    pipeline:working
    on Nov 13, 2026
  4. removed
    pipeline:ux
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions