feat(elements): add demoGroups metadata, filter demo view wrappers in wcctools, and update demo payloads

This commit is contained in:
2026-02-20 13:29:07 +00:00
parent e186a73c55
commit 5c8375fadc
31 changed files with 113 additions and 21 deletions

View File

@@ -40,16 +40,15 @@ export class SzStatusGridNetwork extends DeesElement {
<div style="padding: 24px; max-width: 1400px;">
<sz-status-grid-network
.traffic=${{
totalRequests: 125420,
requestsPerMinute: 847,
errorRate: 0.12,
avgResponseTime: 45,
statusDistribution: {
'2xx': 95.2,
'3xx': 2.1,
'4xx': 2.3,
'5xx': 0.4,
},
requests: 125420,
errors: 150,
errorPercent: 0.12,
avgResponse: 45,
reqPerMin: 847,
status2xx: 95.2,
status3xx: 2.1,
status4xx: 2.3,
status5xx: 0.4,
}}
.proxy=${{
httpPort: '80',
@@ -67,6 +66,8 @@ export class SzStatusGridNetwork extends DeesElement {
</div>
`;
public static demoGroups = ['Dashboard Grids'];
@property({ type: Object })
public accessor traffic: ITrafficData = {
requests: 0,