Frontend shows content field only — misses subject as fallback #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
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.
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.