This commit is contained in:
seb
2026-10-13 17:19:33 +02:00
parent cd530ed448
commit 345d6f5752
11 changed files with 4482 additions and 4 deletions

View File

@@ -11,7 +11,9 @@ import Typography from '@mui/material/Typography';
import Checkbox from '@mui/material/Checkbox';
import Switch from '@mui/material/Switch';
import Skeleton from '@mui/material/Skeleton';
import Tooltip from '@mui/material/Tooltip';
import DeleteOutlinedIcon from '@mui/icons-material/DeleteOutlined';
import ViewModuleIcon from '@mui/icons-material/ViewModule';
import { enqueueSnackbar } from 'notistack';
import SingleLineTextEdit from 'dashgui/SingleLineTextEdit';
import FillSpace from 'dashgui/FillSpace';
@@ -423,6 +425,26 @@ class OrderSearchField extends PureComponent {
Reset
</Button>
</Box>
{import.meta.env.DEV && (
<Tooltip title="Chunk-Cache-Monitor öffnen (Alt+Shift+C)">
<Chip
size="small"
icon={<ViewModuleIcon sx={{ fontSize: 16 }} />}
label="Chunk-Cache"
onClick={() => window.dispatchEvent(new CustomEvent('dash:toggle-chunk-monitor'))}
sx={{
cursor: 'pointer',
height: 28,
fontWeight: 600,
fontSize: '0.75rem',
bgcolor: 'background.paper',
boxShadow: 1,
'&:hover': { bgcolor: 'action.hover' },
}}
/>
</Tooltip>
)}
</Box>
</Box>
</Box>