Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions CHANGELOG.md

This file was deleted.

32 changes: 32 additions & 0 deletions assets/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,38 @@ body {
color: var(--blue);
}

.label-emergency {
background: rgba(248, 113, 113, 0.2);
color: var(--red);
font-weight: 700;
}

.label-alert {
background: rgba(248, 113, 113, 0.18);
color: var(--red);
font-weight: 600;
}

.label-critical {
background: rgba(248, 113, 113, 0.15);
color: var(--red);
}

.label-warning {
background: rgba(251, 146, 60, 0.15);
color: var(--orange);
}

.label-notice {
background: rgba(96, 165, 250, 0.15);
color: var(--blue);
}

.label-debug {
background: rgba(167, 139, 250, 0.15);
color: var(--text-secondary);
}

.entry-time {
font-family: var(--font-mono);
font-size: var(--text-sm);
Expand Down
34 changes: 24 additions & 10 deletions assets/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
let typeCounts = new Map();
let labelCounts = new Map();

const TYPE_COLORS = {
info: 'var(--blue)',
sql: 'var(--purple)',
error: 'var(--red)',
timer: 'var(--yellow)',
success: 'var(--accent)',
cache: 'var(--orange)',
table: 'var(--blue)',
};

// ─── Editor Picker ──────────────────────────────────────

/**
Expand Down Expand Up @@ -191,6 +181,30 @@
success: 'label-success',
cache: 'label-cache',
table: 'label-table',

emergency: 'label-emergency',
alert: 'label-alert',
critical: 'label-critical',
warning: 'label-warning',
notice: 'label-notice',
debug: 'label-debug',
};

const TYPE_COLORS = {
info: 'var(--blue)',
sql: 'var(--purple)',
error: 'var(--red)',
timer: 'var(--yellow)',
success: 'var(--accent)',
cache: 'var(--orange)',
table: 'var(--blue)',

emergency: 'var(--red)',
alert: 'var(--red)',
critical: 'var(--red)',
warning: 'var(--yellow)',
notice: 'var(--blue)',
debug: 'var(--text-muted)',
};

// ─── API ────────────────────────────────────────────────
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
final class Config
{
/** @var string */
private string $version = '0.1.2';
private string $version = '0.2.0';

/** @var self */
private static self $instance;
Expand Down