ui(deploy): LiveBanner component for live-apply tabs

Adds a warning banner that communicates live-apply semantics (changes
bypass the Save/Redeploy cycle). Uses --warning-bg / --warning-border
DS tokens. CSS class .liveBanner added to AppDeploymentPage.module.css.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-22 22:59:11 +02:00
parent f487e6caef
commit b7c0a225f5
2 changed files with 27 additions and 0 deletions

View File

@@ -206,6 +206,19 @@
cursor: default;
}
.liveBanner {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 12px;
margin-bottom: 12px;
background: var(--warning-bg);
border: 1px solid var(--warning-border);
border-radius: 6px;
color: var(--text-primary);
font-size: 13px;
}
/* Env vars list */
.envVarsList {
display: flex;

View File

@@ -0,0 +1,14 @@
import { Info } from 'lucide-react';
import styles from '../AppDeploymentPage.module.css';
export function LiveBanner() {
return (
<div className={styles.liveBanner}>
<Info size={14} />
<span>
<strong>Live controls.</strong> Changes apply immediately to running agents and do
not participate in the Save/Redeploy cycle.
</span>
</div>
);
}