Skip to content

Let readers rename a conversation — the auto-title is a permanent first utterance #46

Closed

Description

@bencode

Problem

A conversation's title is fixed at its first message and can never be changed. conversationTitle takes the first line of the first user message — or the first attachment's filename — collapses whitespace, and truncates at 60 characters (core/conversations.ts:39-44); it is written exactly once, when the first message is sent (use-conversation.ts:622, current.title ?? …), and nothing can set it again.

For the questions a reading assistant gets, the first message is often the worst possible permanent label: "why is row 3 NaN", "summarize this", or a bare attachment filename. A conversation that grows into a week-long thread about a document stays filed under that first utterance forever. And the history list shows nothing else — title is the only label each row has (conversation-history.tsx:108).

The UI even anticipates the fix without shipping it: each history row has a button labeled "More actions" (conversation-history.tsx:114-127) — but pressing it offers exactly one action, delete. There is no rename anywhere in the conversation feature (zero matches for "rename" across features/conversation/).

Proposal

  • Let the reader rename a conversation from the history list — the "More actions" button should open an actual menu with Rename above Delete, or the title row should be editable in place.
  • Persist the rename as the title; auto-titling stays as the default for conversations that were never renamed.
  • Keyboard-reachable, reversible by renaming again, no dialogs beyond the edit field itself — same quiet register as delete confirmation today.

Goal

After this, a reader can give a grown conversation its real name from the history list, and the "More actions" control keeps its promise of more than one action.

Verification

grep -rqi "rename" ui-packages/web/src/features/conversation
pnpm --filter @gamma-reader/web test --silent
pnpm check

Refs

  • ui-packages/web/src/core/conversations.ts:39-44 — auto-title: first line, 60 chars, attachment fallback
  • ui-packages/web/src/features/conversation/use-conversation.ts:622 — written once, never again
  • ui-packages/web/src/features/conversation/conversation-history.tsx:108-142 — title-only rows; "More actions" holds only delete
  • README.md — "Keep questions apart": conversations are the organizing unit their titles label
  • Let readers regenerate an assistant reply in place instead of retyping the question #42 — the other half of conversation maintenance from this review track

Activity

  1. added
    enhancement
    source:scheduled
    on Sep 30, 2026
  2. bencode commented on Sep 30, 2026

    @bencode
    OwnerAuthor

    Independent review — posted by the scheduled issue-reviewer loop (a session separate from the one that files these issues), under the maintainer's standing instruction to evaluate, sharpen, or retire source:scheduled proposals.

    Evidence audit (against main@d28fe0b): all citations confirmed, three to the exact line.

    • ✅ Auto-title is first-line-or-attachment, 60 chars, written once (conversations.ts:39-44; use-conversation.ts:620 current.title ?? …) and nothing else ever sets it.
    • ✅ History rows show only title + time; the "More actions" button (conversation-history.tsx:115-127, aria-label "More actions for …") toggles exactly one action — delete confirmation. The control's name promises what the issue says it lacks.
    • ✅ rename has zero matches across features/conversation/ (case-insensitive).
    • ✅ Sensor: lint passed; verify fails today as it should → stays open.

    Verdict: valid, keep open. Small, concrete, and the UI already half-anticipates it. Correctly scoped as rename-only (no descriptions/folders creep).

    One note (non-blocking): anchor binds the vocabulary word rename in features/conversation/ — same single-word pattern as #42's regenerate. If the implementation calls it "Edit title" the Goal is met but the gate fails. Consider grep -rEqi "rename|edit title" ui-packages/web/src/features/conversation.

  3. bencode commented on Oct 1, 2026

    @bencode
    OwnerAuthor

    Close audit — posted by the scheduled issue-reviewer loop (independent of the authoring session), under the maintainer's standing instruction to maintain source:scheduled proposals.

    Auto-closed by the merge of #49 (4b98fd5), which bypasses the relay close gate — audit at main@ebe2635:

    • ✅ Implemented, and beyond scope: rename ships in the history menu (RenameField, conversation-history.tsx), with use-conversation.ts gaining rename support — plus model-generated titles (features/agent/conversation-title.ts), which this issue never asked for. Both directions of "the auto-title is a permanent first utterance" are addressed.
    • ✅ Verification anchor passes; unit suite green at this commit.
    • ⚠️ Same caveat as Remember where the reader stopped — reopen documents at their page or scroll position #40: pnpm check still fails intermittently on the pre-existing flaky projects.integration.test.tsx (re-confirmed at this commit), so the machine gate remains unreliable — audit above is the human-equivalent check.

    Action: added state:needs-verification to normalize the lifecycle (auto-close left no lifecycle label). Maintainer: swap to state:verified after trying rename in person, or reopen if it misses.

  4. added
    state:needs-verification
    on Oct 1, 2026
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

    enhancementsource:scheduledstate:needs-verification

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions