## Summary\n- Implements the ReviewPublicationResolutionWorkflow for Spec 386.\n- Adds resolution case/step persistence, policies, services, audit action IDs, and Filament integration.\n- Updates specs, UI/UX documentation, screenshots, and Pest coverage.\n\n## Tests\n- Not run during this handoff; branch was already clean and pushed.\n\n## Target\n- Base: platform-dev\n- Head/topic: 386-review-publication-resolution-workflow-v1 Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #457
37 lines
862 B
PHP
37 lines
862 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\ReviewPublicationResolution;
|
|
|
|
enum ReviewPublicationResolutionCaseStatus: string
|
|
{
|
|
case Open = 'open';
|
|
case InProgress = 'in_progress';
|
|
case WaitingForRun = 'waiting_for_run';
|
|
case Blocked = 'blocked';
|
|
case ReadyToContinue = 'ready_to_continue';
|
|
case Completed = 'completed';
|
|
case Cancelled = 'cancelled';
|
|
case Superseded = 'superseded';
|
|
|
|
/**
|
|
* @return list<string>
|
|
*/
|
|
public static function activeValues(): array
|
|
{
|
|
return [
|
|
self::Open->value,
|
|
self::InProgress->value,
|
|
self::WaitingForRun->value,
|
|
self::Blocked->value,
|
|
self::ReadyToContinue->value,
|
|
];
|
|
}
|
|
|
|
public function isActive(): bool
|
|
{
|
|
return in_array($this->value, self::activeValues(), true);
|
|
}
|
|
}
|