Skip to content

Improve word wrapping for long error messages #66

@AnjanJ

Description

@AnjanJ

Description

Long error messages (e.g., deep JSON payloads, long SQL queries) can overflow or be hard to read. Improve word wrapping and text breaking for better readability.

Current Behavior

Some long error messages don't wrap cleanly, especially messages containing URLs, file paths, or long unbroken strings.

Proposed Change

  • Add word-break: break-word / overflow-wrap: break-word to error message containers
  • Ensure long messages in both the error list (index) and error detail (show) views wrap properly
  • Test with various long message types: SQL queries, JSON payloads, long file paths

Files to Modify

  • Inline CSS in app/views/layouts/rails_error_dashboard/application.html.erb
  • Error message display sections in show and index views

Good First Issue Because

  • Primarily CSS changes
  • Easy to test visually with long error messages
  • No backend logic changes

Spun off from #42.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions