fix: remove debug state card and rename Settings/GlobalSettings to avoid confusion
This commit is contained in:
@@ -54,7 +54,7 @@ export function GlobalWindSettingsModal() {
|
|||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent className="sm:max-w-[500px] p-4 sm:p-6">
|
<DialogContent className="sm:max-w-[500px] p-4 sm:p-6">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle>Configurações Globais</DialogTitle>
|
<DialogTitle>Parâmetros do Vento</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Defina os parâmetros do vento que afetam todas as estruturas do projeto.
|
Defina os parâmetros do vento que afetam todas as estruturas do projeto.
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ const translations: Dict = {
|
|||||||
nav_bridge: { 'pt-BR': 'Pontes', 'en-US': 'Bridges' },
|
nav_bridge: { 'pt-BR': 'Pontes', 'en-US': 'Bridges' },
|
||||||
nav_tower: { 'pt-BR': 'Torres', 'en-US': 'Towers' },
|
nav_tower: { 'pt-BR': 'Torres', 'en-US': 'Towers' },
|
||||||
nav_dynamics: { 'pt-BR': 'Dinâmica + Vórtices', 'en-US': 'Dynamics + Vortex' },
|
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_collapse: { 'pt-BR': 'Recolher sidebar', 'en-US': 'Collapse sidebar' },
|
||||||
nav_expand: { 'pt-BR': 'Expandir sidebar', 'en-US': 'Expand sidebar' },
|
nav_expand: { 'pt-BR': 'Expandir sidebar', 'en-US': 'Expand sidebar' },
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ import AuditPanel from '@/components/AuditPanel';
|
|||||||
const SettingsModule: React.FC = () => {
|
const SettingsModule: React.FC = () => {
|
||||||
const { theme, setTheme, effectiveTheme } = useTheme();
|
const { theme, setTheme, effectiveTheme } = useTheme();
|
||||||
const { projects, loading, error, remove } = useProjects();
|
const { projects, loading, error, remove } = useProjects();
|
||||||
const { v0, terrainCategory, structureClass, s3Group } = useWindStore();
|
|
||||||
const { t, locale } = useI18n();
|
const { t, locale } = useI18n();
|
||||||
|
|
||||||
const fileInputRef = useRef<HTMLInputElement | null>(null);
|
const fileInputRef = useRef<HTMLInputElement | null>(null);
|
||||||
@@ -191,20 +190,6 @@ const SettingsModule: React.FC = () => {
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</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>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
|
|||||||
Reference in New Issue
Block a user