anomalyco / anomalyco/opencode

[BUG]: Session header is hidden until title generation

Open Beginner friendly
#42,821 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

A new persisted session can have a session ID before it has a generated title. The session timeline hides its header during this state. This changes the timeline layout while the first response runs and removes access to header actions. An error-only session can remain in this state.

Steps to reproduce
  1. Create a new session in the V2 app.
  2. Submit the first prompt.
  3. Observe the timeline before title generation finishes, or make the first request fail before a title is generated.
Actual behavior

The session header is hidden while the persisted session has no title.

Expected behavior

Show the session header as soon as the session has an ID. Keep drafts without a session ID unchanged.

Version

V2 current

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the V2 app's session timeline where the session header visibility is decided, and trace the condition used before title generation. Verify the behavior for a persisted session with an ID, a draft without an ID, and an error-only first request. Done means the header appears once an ID exists while drafts remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.