{{-- resources/views/admin/system/versions/index.blade.php --}} @extends('admin.layouts.app') @section('title', 'System Versions') @section('page_title', 'System Versions') @section('breadcrumb', 'Manage platform releases and changelog') @section('content') {{-- Header with CTA --}}
Release Management

Create and manage system versions, publish releases, and notify users

New Version
{{-- Versions Table --}}
Versions {{ $versions->total() }} total
@if($versions->isEmpty())

No versions yet

Create your first system version

Create Version
@else
@foreach($versions as $version) @endforeach
Version Title Type Status Released Flags
{{ $version->version }}
{{ $version->title }}
{{ Str::limit($version->release_notes, 60, '…') }}
@php $typeColors = [ 'major' => ['bg' => '#fee2e2', 'text' => '#991b1b'], 'minor' => ['bg' => '#fef3c7', 'text' => '#92400e'], 'patch' => ['bg' => '#dbeafe', 'text' => '#1e40af'], 'hotfix' => ['bg' => '#fecaca', 'text' => '#7c2d12'], ]; $color = $typeColors[$version->type] ?? ['bg' => '#f1f5f9', 'text' => '#64748b']; @endphp {{ $version->type }} {{ ucfirst($version->status) }} @if($version->released_at) {{ $version->released_at->format('d M Y H:i') }} @else — @endif
@if($version->requires_migration) 🔄 Migration @endif @if($version->force_notify) 🔔 Notify @endif
@if($version->status !== 'published')
@csrf
@endif
{{-- Pagination --}} @if($versions->hasPages())
{{ $versions->links() }}
@endif @endif
{{-- Version Type Legend --}}
Version Types
Major Breaking changes, new features, significant improvements (e.g., 1.0.0 → 2.0.0)
Minor New features, backward compatible (e.g., 1.0.0 → 1.1.0)
Patch Bug fixes, improvements (e.g., 1.0.0 → 1.0.1)
Hotfix Critical security or stability fixes (e.g., 1.0.0 → 1.0.0-hotfix1)
Release Flags
🔄 Requires Migration

Check this if the version requires database migrations to be run. Users will be notified before upgrade.

🔔 Force Notify

When published, this version will send a notification to all properties even if they have notifications disabled. Use for critical updates only.

@endsection