feat(dees-statsgrid): add multiPercentage tile type to stats grid
This commit is contained in:
@@ -64,14 +64,16 @@ class DemoDashboardView extends DeesElement {
|
||||
color: '#8b5cf6'
|
||||
},
|
||||
{
|
||||
id: 'errors',
|
||||
title: 'Error Rate',
|
||||
value: 0.12,
|
||||
unit: '%',
|
||||
type: 'number',
|
||||
icon: 'lucide:alertTriangle',
|
||||
description: 'Last 24 hours',
|
||||
color: '#f59e0b'
|
||||
id: 'resources',
|
||||
title: 'Resource Usage',
|
||||
value: '',
|
||||
type: 'multiPercentage',
|
||||
icon: 'lucide:server',
|
||||
percentages: [
|
||||
{ label: 'CPU', value: 67, color: '#3b82f6' },
|
||||
{ label: 'Memory', value: 84, color: '#8b5cf6' },
|
||||
{ label: 'Disk', value: 45, color: '#10b981' }
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'requests',
|
||||
|
||||
Reference in New Issue
Block a user