@extends('layouts.app') @section('title', 'QA Intelligence - Bug Tracking') @push('styles') @endpush @section('content') @php $openCount = \App\Models\Bug::whereIn('status', ['open', 'assigned', 'reopened'])->count(); $criticalCount = \App\Models\Bug::where('severity', 'critical')->count(); $totalCount = \App\Models\Bug::count(); $reopenRate = $totalCount > 0 ? (\App\Models\Bug::where('reopen_count', '>', 0)->count() / $totalCount) * 100 : 0; @endphp @include('components.page-header', [ 'title' => 'QA Intelligence Center', 'description' => 'Enterprise defect management with structural component tracking and regression analytics.', 'breadcrumbs' => ['Home' => route('admin.dashboard'), 'Bug Tracking' => '#'], 'actions' => ' Report Intelligence Failure' ])
| Intelligence ID | Failure Specification | Structural Component | Severity | State | Assignment | Action | |
|---|---|---|---|---|---|---|---|
| #{{ str_pad($bug->id, 5, '0', STR_PAD_LEFT) }} |
{{ $bug->title }}
Reported {{ $bug->created_at->diffForHumans() }} by {{ $bug->reporter->name }}
|
{{ $bug->project->name }}
{{ $bug->module->name ?? 'Core Module' }}
|
@php $sevClass = $bug->severity == 'critical' ? 'badge-critical' : ($bug->severity == 'high' ? 'badge-high' : ($bug->severity == 'medium' ? 'badge-medium' : 'badge-low')); @endphp @if($bug->severity == 'critical') @endif {{ strtoupper($bug->severity) }} | @php $statusClass = match($bug->status) { 'open' => 'badge-low', 'in_progress' => 'badge-email', 'resolved' => 'badge-whatsapp', 'closed' => 'badge-inapp', 'reopened' => 'badge-critical', default => 'badge-medium' }; @endphp {{ strtoupper(str_replace('_', ' ', $bug->status)) }} |
@if($bug->assignee)
{{ substr($bug->assignee->name, 0, 1) }}
{{ $bug->assignee->name }}
|
||
|
|
|||||||