Skip to content

Chat input '+' (Add attachment) button does nothing — attachment feature unimplemented #57

Description

@yikkuro

Summary

The "+" button in the chat input box (rendered with an "Add attachment" tooltip) does nothing when clicked. The attachment feature is unimplemented — only the button shell exists.

Details

The button appears in both input states in desktop/renderer/src/views/ChatView.vue:

  • empty/home state — line 64
  • in-chat state — line 149
<button class="home-input-plus" :title="t('chat.addAttachment')">
  <svg ...><line .../><line .../></svg>  <!-- plus icon -->
</button>

Both buttons have no @click handler, so clicking is a no-op.

A codebase-wide search across desktop/renderer/src confirms there is no attachment logic at all:

  • no hidden <input type="file">
  • no file picker / drag-and-drop handler
  • no attach/upload handler
  • no attachment support in the chat send flow

The only references anywhere are the two buttons above and the two i18n strings:

  • desktop/renderer/src/i18n/en-US.ts:105"chat.addAttachment": "Add attachment"
  • desktop/renderer/src/i18n/zh-CN.ts:100"chat.addAttachment": "添加附件"

Expected

Either:

  1. Implement file attachment (open a file picker, attach to the outgoing message), or
  2. Remove/hide the placeholder button until the feature is built, so users aren't misled by a dead control.

Impact

Minor/UX: users click the button expecting to add an attachment and nothing happens, with no feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions