fix: remove debug state card and rename Settings/GlobalSettings to avoid confusion

This commit is contained in:
2026-07-10 14:32:17 +00:00
parent f8ebe62f74
commit be112ac6f8
3 changed files with 2 additions and 17 deletions
@@ -54,7 +54,7 @@ export function GlobalWindSettingsModal() {
</DialogTrigger>
<DialogContent className="sm:max-w-[500px] p-4 sm:p-6">
<DialogHeader>
<DialogTitle>Configurações Globais</DialogTitle>
<DialogTitle>Parâmetros do Vento</DialogTitle>
<DialogDescription>
Defina os parâmetros do vento que afetam todas as estruturas do projeto.
</DialogDescription>
+1 -1
View File
@@ -59,7 +59,7 @@ const translations: Dict = {
nav_bridge: { 'pt-BR': 'Pontes', 'en-US': 'Bridges' },
nav_tower: { 'pt-BR': 'Torres', 'en-US': 'Towers' },
nav_dynamics: { 'pt-BR': 'Dinâmica + Vórtices', 'en-US': 'Dynamics + Vortex' },
nav_settings: { 'pt-BR': 'Configurações', 'en-US': 'Settings' },
nav_settings: { 'pt-BR': 'Preferências', 'en-US': 'Preferences' },
nav_collapse: { 'pt-BR': 'Recolher sidebar', 'en-US': 'Collapse sidebar' },
nav_expand: { 'pt-BR': 'Expandir sidebar', 'en-US': 'Expand sidebar' },
-15
View File
@@ -18,7 +18,6 @@ import AuditPanel from '@/components/AuditPanel';
const SettingsModule: React.FC = () => {
const { theme, setTheme, effectiveTheme } = useTheme();
const { projects, loading, error, remove } = useProjects();
const { v0, terrainCategory, structureClass, s3Group } = useWindStore();
const { t, locale } = useI18n();
const fileInputRef = useRef<HTMLInputElement | null>(null);
@@ -191,20 +190,6 @@ const SettingsModule: React.FC = () => {
</CardContent>
</Card>
<Card>
<CardHeader>
<CardTitle className="text-lg">{t('settings_state')}</CardTitle>
<CardDescription>{t('settings_state_desc')}</CardDescription>
</CardHeader>
<CardContent>
<div className="grid grid-cols-2 md:grid-cols-3 gap-2 text-sm">
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">V:</span> <span className="font-mono">{v0}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">Categoria:</span> <span className="font-mono">{terrainCategory}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">Classe:</span> <span className="font-mono">{structureClass}</span></div>
<div className="rounded-md border bg-muted/40 p-2"><span className="text-muted-foreground">S grupo:</span> <span className="font-mono">{s3Group}</span></div>
</div>
</CardContent>
</Card>
<Card>
<CardHeader>