Skip to content

bug(workspace): a sent message doesn't show its attachments — the image chip vanishes and the bubble shows only text #3265

Closed

Description

@vybe

What happens

In a Workspace chat, paste or attach an image and send a message. While the turn runs, the attachment chip stays above the composer. Then it disappears, and the sent message in the thread shows only the typed text, with no sign that an image went with it. The file does reach the agent (it lands in the agent's inbox and the agent can read it), but the person has no way to tell from the conversation whether the upload worked.

Compare ChatGPT, Claude and most chat tools: the attachment becomes part of the sent message (a thumbnail or file chip in the bubble).

Why

In src/frontend/src/components/portal/PortalConversation.vue the user bubble renders item.message.content plus the reply chip and nothing else. Attachment chips (data-testid="portal-attachment-chip") exist only in the composer and are cleared once the turn is sent. Nothing about the attachment is kept on the user turn, either in memory or on the stored row, so a reload cannot show it either.

Expected

A sent message shows what was attached to it: an image thumbnail for images, a file chip (name, type) for anything else. It is still there after a reload.

Acceptance criteria

  • After sending with one or more attachments, the user bubble shows each one (thumbnail for images, name chip otherwise).
  • The attachment display survives a page reload and switching chats (needs the attachment reference persisted with the user turn).
  • Clicking the thumbnail or chip opens or downloads the file through the existing Workspace file path.
  • A failed upload is shown as failed on the message, never silently dropped.

Reported from Workspace dogfooding.

Activity

  1. added
    priority-p2
    type-bug
    frontend
    ui
    theme-ui-ux
    complexity-medium
    status-ready
    on Oct 6, 2026
  2. removed
    status-ready
    on Oct 6, 2026
  3. dolho commented on Oct 6, 2026

    @dolho
    Contributor

    /claim

  4. added
    status-in-progress
    on Oct 6, 2026
  5. github-actions commented on Oct 6, 2026

    @github-actions

    Claimed by @dolho. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/3265-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #3265
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Oct 7, 2026
  7. removed
    status-in-dev
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumfrontendpriority-p2theme-ui-uxtype-bugui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions