690615:1449 237 #01
CI / CD Pipeline / build (push) Failing after 3m41s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-06-15 14:49:26 +07:00
parent b46c0874f2
commit 4dde6570c1
54 changed files with 7802 additions and 727 deletions
@@ -1,8 +1,10 @@
// File: frontend/components/admin/ai/RuntimeParametersPanel.tsx
// Change Log:
// - 2026-06-14: Created RuntimeParametersPanel component for managing sandbox parameters (conforming to task T048)
// - 2026-06-15: Added i18n support for Runtime Parameters label (T072)
import React, { useState, useEffect, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import { Label } from '@/components/ui/label';
@@ -26,6 +28,7 @@ const PROFILE_OPTIONS = [
];
export default function RuntimeParametersPanel({ onProfileChange }: RuntimeParametersPanelProps) {
const { t } = useTranslation('ai');
const [selectedProfile, setSelectedProfile] = useState<string>('standard');
const [params, setParams] = useState<SandboxProfileParams | null>(null);
const [isLoading, setIsLoading] = useState<boolean>(false);
@@ -132,7 +135,7 @@ export default function RuntimeParametersPanel({ onProfileChange }: RuntimeParam
<div className="space-y-1">
<CardTitle className="flex items-center gap-2 text-sm font-semibold tracking-wide text-foreground">
<Sliders className="h-4 w-4 text-primary" />
(Runtime Parameters)
{t('sandbox_test.runtime_parameters')}
</CardTitle>
<CardDescription className="text-xs">
AI Sandbox