{{ text }}
+{% endmacro %} + +{% macro section_title(text) %} +{{ text }}
+ {% if hint %}{{ hint }}
{% endif %} +{{ message }}
++ {% if subscriptionStatuses.error + subscriptionStatuses.failed > 0 %} + Some subscriptions stopped processing events. Open the red ones first. + {% else %} + No subscription is in an error state. + {% endif %} +
- -| - Stream - | - {% else %} -- Aggregate - | -ID - | - {% endif %} -- Playhead - | -- Event - | -- Recorded On - | -
|---|---|---|---|---|---|
| - {{ eventsourcing_stream_name(message) }} - - {{ heroicon('identification', 'h-5 w-5 inline') }} - - | - {% else %} -- {{ eventsourcing_aggregate_name(message) }} - - {{ heroicon('funnel', 'h-5 w-5 inline') }} - - | -- {{ eventsourcing_short_id(eventsourcing_aggregate_id(message)) }} - - {{ heroicon('identification', 'h-5 w-5 inline') }} - - | - {% endif %} +{{ eventsourcing_playhead(message) }} | -- {{ eventsourcing_event_name(message) }} - - {{ heroicon('calendar', 'h-5 w-5 inline') }} - - | -{{ eventsourcing_recorded_on(message) ? eventsourcing_recorded_on(message)|date('Y-m-d H:i:s') : '-' }} | -
| No events found | -|||||
| + {{ eventsourcing_stream_name(message) }} + {{ ui.row_action(path('patchlevel_event_sourcing_dashboard_inspection_stream', { stream: eventsourcing_stream_name(message) }) ~ '#' ~ eventsourcing_playhead(message), 'identification', 'Inspect stream') }} + | + {% else %} ++ {{ eventsourcing_aggregate_name(message) }} + {{ ui.row_action(path('patchlevel_event_sourcing_dashboard_store_show', { aggregate: eventsourcing_aggregate_name(message) }), 'funnel', 'Filter by aggregate') }} + | ++ {{ eventsourcing_short_id(eventsourcing_aggregate_id(message)) }} + {{ ui.row_action(path('patchlevel_event_sourcing_dashboard_inspection_show', { aggregateName: eventsourcing_aggregate_name(message), aggregateId: eventsourcing_aggregate_id(message) }) ~ '#' ~ eventsourcing_playhead(message), 'identification', 'Inspect aggregate') }} + | + {% endif %} +{{ eventsourcing_playhead(message) }} | ++ {{ eventsourcing_event_name(message) }} + {{ ui.row_action(path('patchlevel_event_sourcing_dashboard_event_index', { name: eventsourcing_event_name(message) }) ~ '#' ~ eventsourcing_event_name(message), 'calendar', 'Show event definition') }} + | +{{ eventsourcing_recorded_on(message) ? eventsourcing_recorded_on(message)|date('Y-m-d H:i:s') : '-' }} | +
| {{ ui.empty('inbox', 'No events recorded yet', 'Events show up here as soon as your application stores them.') }} | +|||||