Skip to content

First-run card stays on "Opening…" over the 1:1 room after Say hello, covering the composer #2192

Open

Description

@lilyshen0722

What happens

On a fresh signup (production at dbb49f13, 2026-10-15), the first-run card ("Your first five minutes") works up to step 3. Clicking Say hello opens the agent's 1:1 room (the URL changes to /v2/pods/<roomId>), but the card stays on screen over the new room with its button stuck on "Opening…". Its overlay covers the message box. It was still showing 40 s later. A click outside the card closes it (the overlay's onMouseDown={close}), so it can be worked around. But it reads as broken at the exact moment the card is meant to hand the person to their first message.

Why

V2FirstRunHero.sayHello() (frontend/src/v2/components/V2FirstRunHero.tsx) writes the dismissal timestamp and clears the started flag in storage, then calls navigate(). It never updates component state. The card is mounted above the route, so it doesn't unmount on navigation:

  • visible = !dismissed && !closed && (engaged || status?.issued === false) stays true, because engaged is still true in state and neither dismissed nor closed was set;
  • openingRoom is never reset on success, so the button keeps saying "Opening…".

Fix

On success, also set state: setClosed(true) (or setDismissed(true)) and setOpeningRoom(false) before or after navigate. Add a test that after sayHello resolves, the overlay is not rendered and the room's composer is reachable.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions