Desktop client renders image content blocks as file cards instead of showing the image
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- electron
- Área
- desktop
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Asked the Router to generate two PNGs and send them as image content blocks.
- Observed the message in the Comma desktop app (Electron, Windows): two attachment cards, no image.
- Observed the same message in the web client: both images displayed inline.
- 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.
- Lenguaje dominante
- Elixir
- Estrellas
- 740
- Forks
- 61
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AFK-surf/Comma
-
Paid Task runs rejected with insufficient_credits although the usage page shows 20,000,000 available quotaPosiblemente ocupada @akumatus la tomó hace 10 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Todos los issues de AFK-surf/Comma
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
intellij-elixir/intellij-elixir#4938 ·
Los mantenedores suelen responder en 1 día
-
Attribute selectors match elements without the attribute; [x^=''] matches everythingPosiblemente ocupada @bardrop la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
expert-lsp/expert#1040 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
ash-project/ash_mysql#278 · 2 comentarios ·
-
L: github:actions L: javascript
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
dependabot/dependabot-core#17100 ·
Los mantenedores suelen responder en 2 días