## Summary - add the shared operator explanation layer with explanation families, trustworthiness semantics, count descriptors, and centralized badge mappings - adopt explanation-first rendering across baseline compare, governance operation run detail, baseline snapshot presentation, tenant review detail, and review register rows - extend reason translation, artifact-truth presentation, fallback ops UX messaging, and focused regression coverage for operator explanation semantics ## Testing - vendor/bin/sail bin pint --dirty --format agent - vendor/bin/sail artisan test --compact tests/Feature/Monitoring/OperationsTenantScopeTest.php tests/Feature/Operations/OperationRunBlockedExecutionPresentationTest.php - vendor/bin/sail artisan test --compact ## Notes - Livewire v4 compatible - panel provider registration remains in bootstrap/providers.php - no destructive Filament actions were added or changed in this PR - no new global-search behavior was introduced in this slice Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #191
18 lines
492 B
PHP
18 lines
492 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Ui\OperatorExplanation;
|
|
|
|
enum ExplanationFamily: string
|
|
{
|
|
case TrustworthyResult = 'trustworthy_result';
|
|
case NoIssuesDetected = 'no_issues_detected';
|
|
case CompletedButLimited = 'completed_but_limited';
|
|
case SuppressedOutput = 'suppressed_output';
|
|
case MissingInput = 'missing_input';
|
|
case BlockedPrerequisite = 'blocked_prerequisite';
|
|
case Unavailable = 'unavailable';
|
|
case InProgress = 'in_progress';
|
|
}
|