Add Option to Select Text Format in Log Messages Configurations.

Created on 25 August 2023, 10 months ago
Updated 29 August 2023, 10 months ago

Problem/Motivation

The current implementation of the elogger module has the text format for log messages hardcoded as "full_html." This doesn't provide flexibility for administrators who may want to choose a different text format according to the site's content policies.

Steps to reproduce

1. Navigate to the elogger configuration settings.
2. Observe that there is no option to select the text format for log messages; it's hardcoded to "full_html."

Proposed resolution

Introduce a new configuration setting under the "Log Messages Configurations" tab, allowing administrators to select from available text formats on the site. The selected format will be used for displaying log messages. Include a fallback to "full_html" if no specific format is selected.

Remaining tasks

- Review the patch.
- Conduct testing on different environments.
- Update the module's documentation if necessary.

User interface changes

A new dropdown selection will be added to the "Log Messages Configurations" tab, allowing administrators to choose the desired text format for log messages.

API changes

No API changes are necessary for this proposal.

Data model changes

A new configuration value will be stored to keep track of the selected text format. This will not affect the existing data model structure.

✨ Feature request
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡·πŸ‡΄Romania badeadrian

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

Comments & Activities

Production build 0.69.0 2024