Add debug export functionality for channel analysis
Implemented a new endpoint for exporting debug data related to channel scheduling, allowing users to download an archive containing channel settings, slot states, and trace information. Updated the frontend to include a button for triggering the export, along with necessary API adjustments for handling the download. Enhanced localization strings to support the new debug export feature in both English and Russian. Updated .gitignore to include debug export files while ensuring the directory structure is maintained for development.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
using LiteCqrs;
|
||||
using TeleWave.Application.Common.Models;
|
||||
|
||||
namespace TeleWave.Application.Programming.Planning.DebugExport;
|
||||
|
||||
/// <summary>
|
||||
/// Собрать отладочный дамп канала: всё, из чего строится сетка, плюс то, что из неё получилось.
|
||||
///
|
||||
/// Команда, а не запрос, хотя в БД ничего не меняет: копия архива ложится на диск, а побочный
|
||||
/// эффект в запросе — это ровно то место, где потом ищут «почему после обновления страницы
|
||||
/// появился файл».
|
||||
/// </summary>
|
||||
public sealed record ExportChannelDebugCommand(Guid ChannelId) : ICommand<Result<DebugExportDto>>;
|
||||
Reference in New Issue
Block a user