Make warnings or errors pop on Details page

Created on 19 November 2025, 2 months ago

Problem/Motivation

When checking the "Details"-page, the warnings or errors are displayed in plain text, so they look the same as the description text.

Wouldn't it be great to make warnings or errors stand out a bit, so the user can more easily discern between general information, and site specific, important feedback?

Steps to reproduce

Visit a "Details" page, and see text, but now know which is general info, and which is site relevant, actionable info.

Proposed resolution

Add colouring to warnings and errors, like a warning class?

Error reporting

As a form of hardening your site you should avoid information disclosure. Drupal by default prints errors to the screen and writes them to the log. Error messages disclose the full path to the file where the error occurred.

You are probably using error report settings overridden from settings.local.php file

Example from "Details" page for "Error reporting" at /admin/reports/security-review/help/security_review/error_reporting.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

3.1

Component

User interface

Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024