Add test reporting tab for test mode SMS configuration

Created on 18 March 2024, 4 months ago
Updated 1 April 2024, 3 months ago

Problem/Motivation

When the SMS system has a configuration for a test mode (sandbox mode) there is no any information about the sent SMS. There should be a possibility to visualize those send SMS-es in test mode.

This way it will be possible to normally debug the SMS content locally and not charge the production service.

Steps to reproduce

1. Send an SMS via

$sms_service = \Drupal::service('smssystem.send_sms');
// Send a simple sms to a recipient with a message.
$sms_service->sendSms('+37369123456', 'Hello!');

2. There will not be any SMS records in the reporting tab.

Proposed resolution

Write a proper integration for this purpose and push a new release.

Remaining tasks

Write a proper integration for this purpose and push a new release.

User interface changes

A new tab "Reporting test mode" where all the test mode SMS items will be displayed.

API changes

No.

Data model changes

A new field will be added "test" as a boolean. By default, it will be "TRUE".

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡©Moldova andrei.vesterli Chisinau

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