Files
fusion/packages/dashboard/app/components/TestModeBanner.tsx
Fusion (runfusion.ai) 9c2b61eec6 feat(FN-5204): add test mode activation across settings, engine, and dashboard
- Add core settings schema/types support for testMode with model-resolution override handling
- Enforce engine session lane overrides in test mode with targeted helper coverage
- Add dashboard settings toggle plus persistent test-mode banner and related component tests
- Update settings documentation and parity/roundtrip tests for the new test mode behavior
2026-05-22 00:15:14 -07:00

20 lines
435 B
TypeScript

import { FlaskConical } from "lucide-react";
import "./TestModeBanner.css";
interface TestModeBannerProps {
isActive: boolean;
}
export function TestModeBanner({ isActive }: TestModeBannerProps) {
if (!isActive) {
return null;
}
return (
<div className="test-mode-banner" role="status" aria-live="polite">
<FlaskConical aria-hidden="true" />
<span>Test mode no real AI calls</span>
</div>
);
}