Skip to content

Message previews truncate at 100 characters despite available column space #461

Closed

Description

@somethingwithproof

Message previews are cut to 100 characters even when the Message column has room to show more text.

On develop cde6d1b, syslog_message_button() calls title_trim((string) $message, 100) before sending the preview to the browser. The existing .syslogMessageOpen CSS already uses overflow: hidden, white-space: nowrap and text-overflow: ellipsis, so the server-side cut leaves unused space on wider screens.

To reproduce, open System Logs with a message longer than 100 characters and widen the browser. The preview still ends at the same character limit. Clicking it opens the complete message in the details pane.

The preview should receive the full escaped message and fill the available column width. Ellipsis should appear only when the rendered text exceeds that width. Keep the existing single-line layout, escaping and full-message details behavior. No stored-message or schema changes are needed.

Activity

  1. somethingwithproof commented on Nov 17, 2026

    @somethingwithproof
    MemberAuthor

    Proposed fix: #462. The preview now receives the full escaped message and uses the existing CSS ellipsis to fit the column. Regression tests cover long ASCII, Unicode and HTML-like messages; the workspace browser checks cover wide and narrow layouts and the full-message details pane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions