[Meta] 3.x Feature / Concept Improvement issue

Created on 18 April 2024, 2 months ago
Updated 11 June 2024, 17 days ago

Changes from other issues that will be implemented in this issue:

These three issues influence the new 3.x release, that this meta issue is preparing, the most:

These include the following major features:

[X] - Moving the entire configuration form out of the "Logging and Errors" menu into its own menu
[X] - The creation of "notification objects" as described below
[X] - Removal of functionally incorrect, old and/or deprecated features as seen in the YAML below
[X] - Refactoring the settings form and redesigning the form UI once everything else is done

Besides this, other issues might be also relevant to fix for a new 3.x release, we should check on everything once these issues are resolved.

Changes newly addressed in this issue:

Ability to define "notification objects"

One notification object consists of:

  • status (enabled / disabled) - checkbox
  • channels (an array containing channels considered for logging) - textarea (each channel split by new line)
  • severity (array of severities to consider for logging) - checkboxes
  • recipients (array of recepients) - textarea (each channel split by new line)

Note, that the notification objects are simple proxies, wrapping the underlying array structure.

That issue also contained a few notes on what should be removed. Here is the full specification as .yml:

watchdog_mailer_enable: true
mail_subject: [...] # keep unchanged
mail_body: [...] # keep unchanged
# mail_addresses # migrate to "recipients_default" 
# php_notices: false # REMOVE!
# remove: channels_enable: false # REMOVE!
# channels_list: '' # REMOVE!
# channels_negate: false # REMOVE!
# max_emails_per_hour: null # REMOVE! (see separate issue)
notifications: # NEW
  -
    enabled: true
    channels:
      - php
      - user
    severity: # options from $levels = RfcLogLevel::getLevels();
      - 0
      - 1
    recipients: info@example.com,admin@example.com
  -
    enabled: true
    channels:
      - content
    severity: [] # all
    recipients: info@example.com,admin@example.com,master@example.com
  -
    enabled: true
    channels: [] #all
    severity: [] # all
    recipients: info@example.com
  -
    enabled: false
    channels: [] #all
    severity: [] # all
    recipients: null # default recipient if empty

Proposed resolution

Fix the issues and create a new 3.x release

Remaining tasks

Work on 📌 [3.x] Follow-up: Integrate multiple notification objects with AJAX Active to integrate multiple notification objects with the AJAX API into the Form.

User interface changes

API changes

Data model changes

🌱 Plan
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024