GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Editing a message loses thread mention formatting in the edit composer · Issue #30850 · pingdotgg/t3code

[Bug]: Editing a message loses thread mention formatting in the edit composer #30850

New issue
Copy link
New issue
Copy link
Closed
#30889
Closed
[Bug]: Editing a message loses thread mention formatting in the edit composer#30850
#30889
Copy link

Description

@smirea
smirea
opened on Nov 4, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. In a thread's composer, type a message that mentions another thread with the @ picker (for example, "wait for @Support Any File Uploads to merge…"). While you type, the composer shows the mention as a resolved thread chip: the thread's avatar icon plus accent/link color.
  2. Send the message.
  3. Click Edit on that sent message.

Expected behavior

The edit composer shows the thread mention formatted the same way as the original composer did: the thread's icon and link color.

Actual behavior

The edit composer shows the mention as plain bold white text with a dashed-circle placeholder icon instead of the thread's icon and link color, so it looks like an unresolved or unavailable thread reference.

Impact

Cosmetic issue

Version or commit

No response

Environment

macOS, T3 Code desktop

Logs or stack traces

No response

Screenshots, recordings, or supporting files

Original composer while typing the message (correct thread mention formatting):

Original composer showing the thread mention with its icon and link color

Edit composer after clicking Edit on the sent message (formatting lost):

Edit composer showing the thread mention as plain white text with a dashed-circle icon

Workaround

No response

Activity

  1. carlosricojr commented on Nov 5, 2026

    @carlosricojr
    carlosricojr
    on Nov 5, 2026
    Contributor
    More actions

    The same loss happens in a third path: up-arrow prompt recall. Send a message with a thread mention, press ArrowUp in the empty composer, and the mention is gone entirely (Implementation agent in finished its turn…).

    All three paths share one cause. Restoring a sent message copies its text into a draft but not the thread and machine records from message.context.records, so the chips either render as unavailable or get stripped:

    Path Where PR
    Edit queued message useQueuedRunEdit.beginEdit #30889 (also #30874)
    Edit from here (rewind) rewindToMessage #30955
    ArrowUp recall buildComposerPromptHistoryEntries / composerCommandKey #31314

    #30889 and #31314 use the same approach: keep only the records whose chips are still in the text, then write them with setThreadContexts / setEnvironmentContexts. That also handles machine mentions, which #30955 leaves out.

  2. juliusmarminge
    closed this as completedin #30889on Nov 12, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.