From 72b3df5cadae15c9482bfa5d932bdadd4174ad65 Mon Sep 17 00:00:00 2001 From: Carlos Costa Date: Sat, 14 Nov 2026 14:06:57 -0300 Subject: [PATCH 1/3] style(ai-gateway): improve visual hierarchy on credentials and guardrails cards --- .../examples/AiGatewayDashboardExample.tsx | 186 +++++++++--------- 1 file changed, 95 insertions(+), 91 deletions(-) diff --git a/src/pages/examples/AiGatewayDashboardExample.tsx b/src/pages/examples/AiGatewayDashboardExample.tsx index fe09d7ac..1531200f 100644 --- a/src/pages/examples/AiGatewayDashboardExample.tsx +++ b/src/pages/examples/AiGatewayDashboardExample.tsx @@ -40,6 +40,7 @@ import { AreaChart } from '../../dashkit/AreaChart/AreaChart'; import { ProgressBar } from '../../dashkit/ProgressBar/ProgressBar'; import { Avatar } from '../../dashkit/Avatar/Avatar'; import { Button } from '../../dashkit/Button/Button'; +import { Badge } from '../../dashkit/Badge/Badge'; import { Tabs, TabsList, TabsTrigger } from '../../dashkit/Tabs'; import { Dropdown, @@ -727,58 +728,60 @@ export const AiGatewayDashboardExample = () => { } action={ -
- - {apiKeys.length} Active Keys -
+ } > API Gateway Credentials Bearer token authentication and RPM throttles
- - {apiKeys.map((key) => ( -
-
-
- -
-
- {key.name} -
- {key.prefix} - • - {key.rpmLimit} - • - Created {key.created} + +
+ {apiKeys.map((key) => ( +
+
+
+
-
- - {key.status} +
+
+ {key.name} + + + {key.status} + +
+
+ + {key.prefix} + + {key.rpmLimit} + • + Created {key.created} +
+
- -
- ))} + ))} +
-
+
Automatic Key Rotation -
+
90d Policy Enforced
@@ -791,67 +794,68 @@ export const AiGatewayDashboardExample = () => { } action={ -
- - Protected -
+ } > Safety Guardrails & Compliance Real-time PII anonymization and injection protection
- - {[ - { - icon: , - label: 'PII Redaction Engine', - detail: 'Masking SSNs, credit cards, and emails on ingress', - status: 'Active', - stat: '142 masked today', - }, - { - icon: , - label: 'Prompt Injection Defense', - detail: 'Heuristic & embedding-based jailbreak blocking', - status: 'Clean', - stat: '0 breaches', - }, - { - icon: , - label: 'Content Safety Moderation', - detail: 'Hate speech, harassment, and toxicity filter', - status: 'Passed', - stat: '100% compliant', - }, - { - icon: , - label: 'Cost Budget Caps', - detail: 'Hard circuit breaker at $250.00 / day threshold', - status: 'Strict', - stat: 'Usage at 24%', - }, - ].map((sec) => ( -
-
-
- {sec.icon} + +
+ {[ + { + icon: , + label: 'PII Redaction Engine', + detail: 'Masking SSNs, credit cards, and emails on ingress', + status: 'Active', + stat: '142 masked today', + }, + { + icon: , + label: 'Prompt Injection Defense', + detail: 'Heuristic & embedding-based jailbreak blocking', + status: 'Clean', + stat: '0 breaches', + }, + { + icon: , + label: 'Content Safety Moderation', + detail: 'Hate speech, harassment, and toxicity filter', + status: 'Passed', + stat: '100% compliant', + }, + { + icon: , + label: 'Cost Budget Caps', + detail: 'Hard circuit breaker at $250.00 / day threshold', + status: 'Strict', + stat: 'Usage at 24%', + }, + ].map((sec) => ( +
+
+
+ {sec.icon} +
+
+ {sec.label} + {sec.detail} +
-
- {sec.label} - {sec.detail} -
+
+ {sec.stat} + - {sec.status} -
+ {sec.status} +
- {sec.stat} -
- ))} + ))} +
-
+
Enterprise Audit Trail -
+
SOC2 & HIPAA Compliant
From 12d532fa4a405a01e31fd192be8a35fddb0501cf Mon Sep 17 00:00:00 2001 From: Carlos Costa Date: Sat, 14 Nov 2026 14:09:55 -0300 Subject: [PATCH 2/3] feat(ai-gateway): add full-width Routing & Failover Policy card --- .../examples/AiGatewayDashboardExample.tsx | 116 ++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/src/pages/examples/AiGatewayDashboardExample.tsx b/src/pages/examples/AiGatewayDashboardExample.tsx index 1531200f..ba05aab6 100644 --- a/src/pages/examples/AiGatewayDashboardExample.tsx +++ b/src/pages/examples/AiGatewayDashboardExample.tsx @@ -863,6 +863,122 @@ export const AiGatewayDashboardExample = () => {
+ + {/* ROUTING & FAILOVER POLICY (FULL WIDTH) */} + + } + action={ +
+ + +
+ } + > + Routing & Failover Policy + + Multi-provider load balancing, semantic caching, and automatic fallback order + +
+ +
+ {[ + { + priority: 'Primary', + provider: 'Anthropic', + model: 'claude-3-5-sonnet', + traffic: 62, + latency: '184ms p95', + uptime: '99.98%', + badgeColor: 'primary' as const, + }, + { + priority: 'Secondary', + provider: 'OpenAI', + model: 'gpt-4o', + traffic: 28, + latency: '215ms p95', + uptime: '99.95%', + badgeColor: 'base' as const, + }, + { + priority: 'Fallback', + provider: 'Google', + model: 'gemini-2.5-pro', + traffic: 10, + latency: '168ms p95', + uptime: '99.99%', + badgeColor: 'base' as const, + }, + ].map((route) => ( +
+
+
+ + + {route.provider} + +
+ + {route.traffic}% traffic + +
+ +
+ + {route.model} + +
+ {route.latency} + • + + {route.uptime} uptime + +
+
+ + +
+ ))} +
+ +
+
+ + Semantic Cache Hit: 34.8% + + • + + Circuit Breaker: < 2% 5xx / 60s + + • + + Retries: 2x exponential backoff + +
+
+ + Multi-Region Active +
+
+
+
From 48698aa8b747ddcde379444a84601c2ae2dbb21e Mon Sep 17 00:00:00 2001 From: Carlos Costa Date: Sat, 14 Nov 2026 14:11:10 -0300 Subject: [PATCH 3/3] style(ai-gateway): use font-sans on Routing & Failover Policy card --- src/pages/examples/AiGatewayDashboardExample.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/examples/AiGatewayDashboardExample.tsx b/src/pages/examples/AiGatewayDashboardExample.tsx index ba05aab6..1625d87c 100644 --- a/src/pages/examples/AiGatewayDashboardExample.tsx +++ b/src/pages/examples/AiGatewayDashboardExample.tsx @@ -941,9 +941,9 @@ export const AiGatewayDashboardExample = () => {
- + {route.model} - +
{route.latency} •