refactor(ui): remove unused settings options and update UI to indicate development status

This commit is contained in:
Daniel Lavrushin 2025-10-13 23:10:25 +02:00
parent 0f227a7c92
commit 71e0a07f5b
No known key found for this signature in database
GPG key ID: 57F1CAB57AD35056

View file

@ -33,73 +33,8 @@ export default function Settings() {
Settings
</Typography>
<Stack spacing={3}>
<Box>
<Typography
variant="subtitle1"
gutterBottom
sx={{ fontWeight: 600 }}
>
Display Options
</Typography>
<Divider sx={{ mb: 2, borderColor: "rgba(245, 173, 24, 0.24)" }} />
<TextField
label="Max Lines to Keep"
value={maxLines}
onChange={(e) => setMaxLines(e.target.value)}
size="small"
type="number"
fullWidth
sx={{ mb: 2 }}
helperText="Maximum number of log lines to store in memory"
/>
<TextField
label="Timestamp Format"
value={timestampFormat}
onChange={(e) => setTimestampFormat(e.target.value)}
size="small"
fullWidth
helperText="Format for displaying timestamps (e.g., ISO, UTC, Local)"
/>
</Box>
<Box>
<Typography
variant="subtitle1"
gutterBottom
sx={{ fontWeight: 600 }}
>
Connection Options
</Typography>
<Divider sx={{ mb: 2, borderColor: "rgba(245, 173, 24, 0.24)" }} />
<FormControlLabel
control={
<Switch
checked={autoReconnect}
onChange={(e) => setAutoReconnect(e.target.checked)}
sx={{
"& .MuiSwitch-switchBase.Mui-checked": {
color: "#F5AD18",
},
"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track": {
backgroundColor: "#F5AD18",
},
}}
/>
}
label="Auto-reconnect on connection loss"
/>
</Box>
<Box>
<Typography variant="body2" color="text.secondary" sx={{ mt: 4 }}>
B4: ByeBye BigBro - Your log viewer
</Typography>
</Box>
</Stack>
<Stack spacing={3}></Stack>
<Typography>Under Development...</Typography>
</Paper>
</Container>
);