Desktop client renders image content blocks as file cards instead of showing the image

オープン
#32 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron
領域
desktop

調査の方向性

Start by comparing the web and desktop message-rendering entry points for image content blocks; the issue does not name files or tests. Trace how the desktop currently turns those blocks into file cards, then check whether the web client’s inline rendering can guide the change. Done means images display inline with a way to open them full-size, while non-image attachments and failed image loads retain file cards.

索引モデルが issue の本文から書いたものです。

説明

What happens now

When a message contains an image content block (the Router attaching a generated image from its workspace), the desktop app renders it as a file attachment card showing only the file name and format, for example flux2_klein9b_edit.png · PNG. The image itself is never shown.

The same conversation in the web client renders the same message with the image displayed inline. So the two clients disagree about how an image block should be presented.

What I did

  1. Asked the Router to generate two PNGs and send them as image content blocks.
  2. Observed the message in the Comma desktop app (Electron, Windows): two attachment cards, no image.
  3. Observed the same message in the web client: both images displayed inline.
  4. Looked through Settings for an option that controls this. Preferences, Appearance, Notifications, Model & API — there is no image preview or inline media setting.

Why it matters

Generated images are a normal deliverable. A file card forces a download-and-open round trip for something the user asked to look at, and comparing several generated variants means opening several files instead of glancing at the thread. It also makes the desktop client feel less complete than the web client for the same conversation.

What I would like

  • Render image content blocks inline in the desktop client, the way the web client already does, with a click to open the full-size view; or
  • if inline previews are deliberately off, a setting under Preferences › Appearance to turn them on, so the behaviour is at least controllable.

File cards can stay as the fallback for non-image attachments and for images that fail to load.

Environment

  • Comma desktop, Windows (Electron), observed 2026-11-13.
  • Also reproduced on the same day with a second pair of images, so it is consistent rather than a one-off.
主要言語
Elixir
スター
740
フォーク
61
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AFK-surf/Comma のほかの issue

AFK-surf/Comma の issue をすべて見る

似ている issue

Elixir の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。