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:
- Implement file attachment (open a file picker, attach to the outgoing message), or
- 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.
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:Both buttons have no
@clickhandler, so clicking is a no-op.A codebase-wide search across
desktop/renderer/srcconfirms there is no attachment logic at all:<input type="file">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:
Impact
Minor/UX: users click the button expecting to add an attachment and nothing happens, with no feedback.