@php $scope = $this->appliedScope(); $sections = $this->sections(); $emptyState = $this->calmEmptyState(); $workbench = $this->decisionWorkbench(); $selectedItem = $workbench['selected_item'] ?? null; $diagnostics = $workbench['diagnostics'] ?? []; @endphp
@if (filled($scope['workspace_label'] ?? null)) Workspace: {{ $scope['workspace_label'] }} @endif Scope: {{ $scope['family_label'] ?? 'All attention' }} Visible items: {{ $scope['total_count'] ?? 0 }} @if (filled($scope['tenant_label'] ?? null)) Environment: {{ $scope['tenant_label'] }} @endif
@if ($this->hasTenantPrefilter()) @include('filament.partials.workspace-hub-environment-filter-chip', [ 'label' => $scope['tenant_label'] ?? null, 'clearUrl' => $this->pageUrl(['environment_id' => null, 'family' => null]), ]) @endif

Decision workbench

{{ $workbench['question'] }}

@if ($selectedItem !== null) {{ $selectedItem['status_label'] }} @endif
@if ($selectedItem === null)

{{ $emptyState['title'] }}

{{ $emptyState['body'] }}

@if (filled($emptyState['action_label'] ?? null) && filled($emptyState['action_url'] ?? null))
{{ $emptyState['action_label'] }}
@endif
@else
{{ $selectedItem['section_label'] }} Environment: {{ $selectedItem['environment_label'] }}

{{ $selectedItem['title'] }}

{{ $selectedItem['decision_label'] }}

Reason
{{ $selectedItem['reason_label'] }}
Impact
{{ $selectedItem['impact_label'] }}
Owner
{{ $selectedItem['owner_label'] }}
Due
{{ $selectedItem['due_label'] }}

Evidence

{{ $selectedItem['evidence_label'] }}

Accepted risk

{{ $selectedItem['exception_label'] }}

@if (filled($selectedItem['primary_action_url'] ?? null))

Primary next action

{{ $selectedItem['primary_action_label'] }}

{{ $selectedItem['primary_action_label'] }}
@endif
@endif
@if ($sections !== [])

Queue context

Secondary source-family context remains available after the priority decision.

@foreach ($sections as $section)

{{ $section['label'] }}

{{ $section['count'] }}

{{ $section['summary'] }}

{{ $section['dominant_action_label'] }}
@if ($section['count'] === 0)
{{ $section['empty_state'] }}
@else
    @foreach ($section['entries'] as $entry)
  • @if (filled($entry['tenant_label'] ?? null))
    {{ $entry['tenant_label'] }}
    @endif
    {{ $entry['headline'] }} {{ $entry['status_label'] }}
    @if (filled($entry['subline'] ?? null))

    {{ $entry['subline'] }}

    @endif
    Open source
  • @endforeach
@endif
@endforeach
@endif