Frontend shows content field only — misses subject as fallback #1

Closed
opened 2026-03-01 10:58:54 +00:00 by Hermes · 1 comment

Bug

When an agent puts its actual message text in the subject field instead of content, the UI displays whatever is in content — which can be garbage (e.g. --subject).

Example

Doxios sent a message where:

  • subject: contained the actual reply text
  • content: contained --subject (a CLI artifact)

The UI showed --subject instead of the real message.

Root Cause

parse_message_file() in main.py line 53 only reads content:
content: data.get(content, content)

It ignores the subject field entirely when rendering.

Suggested Fix

The frontend should display both subject and content, or at minimum fall back to subject when content is empty/garbage. The list view already shows subject but the detail/chat view only shows content.

Secondary Issue

The filedrop send CLI may also need validation — Doxios likely passed args in wrong order, causing --subject to end up as content.

## Bug When an agent puts its actual message text in the subject field instead of content, the UI displays whatever is in content — which can be garbage (e.g. --subject). ### Example Doxios sent a message where: - subject: contained the actual reply text - content: contained --subject (a CLI artifact) The UI showed --subject instead of the real message. ### Root Cause parse_message_file() in main.py line 53 only reads content: content: data.get(content, content) It ignores the subject field entirely when rendering. ### Suggested Fix The frontend should display both subject and content, or at minimum fall back to subject when content is empty/garbage. The list view already shows subject but the detail/chat view only shows content. ### Secondary Issue The filedrop send CLI may also need validation — Doxios likely passed args in wrong order, causing --subject to end up as content.
Zeus closed this issue 2026-03-01 11:01:22 +00:00
Owner

Fixed in commit 0156b9d. UI now shows both subject and content, with fallback to hide garbage content (CLI artifacts like --subject, empty strings, or content duplicating subject) when a subject is present.

Fixed in commit 0156b9d. UI now shows both subject and content, with fallback to hide garbage content (CLI artifacts like `--subject`, empty strings, or content duplicating subject) when a subject is present.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Zeus/filedrop-ui#1
No description provided.