feat(dataview-statusobject): add last updated footer to status object and refresh demo data

This commit is contained in:
2026-03-18 15:28:21 +00:00
parent 42317459ff
commit 4d8ba1fefc
6 changed files with 75 additions and 23 deletions

View File

@@ -50,6 +50,7 @@ export const demoFunc = () => html` <style>
.statusObject=${{
id: '1',
name: 'API Gateway Service',
lastUpdated: Date.now(),
combinedStatus: 'ok',
combinedStatusText: 'All systems operational',
details: [
@@ -89,6 +90,7 @@ export const demoFunc = () => html` <style>
.statusObject=${{
id: '2',
name: 'PostgreSQL Cluster',
lastUpdated: Date.now() - 3600000,
combinedStatus: 'partly_ok',
combinedStatusText: 'Minor issues detected',
details: [
@@ -128,6 +130,7 @@ export const demoFunc = () => html` <style>
.statusObject=${{
id: '3',
name: 'CI/CD Pipeline',
lastUpdated: Date.now() - 86400000,
combinedStatus: 'not_ok',
combinedStatusText: 'Build failure',
details: [