Skip to content

JSON payloads with arrays/long strings do not wrap and overflow container #3

@draperbr

Description

@draperbr

First off, very cool lightweight tool. Having the history easily available will make debugging occasional issues so much easier. Too many times I've found myself waiting for the next pub, or digging through logs to try and reconstruct.

That being said, the data displayed in the UI can be a bit wonky. When displaying the MQTT payloads, certain JSON structures (especially arrays or nested objects) don't wrap correctly and end up overflowing the container.

Simpler/flat JSON payloads render fine, but more complex payloads show as a single long line and exceed the width of the container.

Image

The one on the left has this JSON:

[
   {
      "last_login":"2026-03-25T10:49:05-04:00",
      "name":"[redacted]"
   },
   {
      "last_login":"No logins",
      "name":"[redacted]"
   }
]

The one on the right is the same structure.

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions