u
This commit is contained in:
21
package-lock.json
generated
21
package-lock.json
generated
@@ -34,7 +34,7 @@
|
||||
"react-dom": "^19.3.1",
|
||||
"react-router-dom": "^7.18.4",
|
||||
"react-window": "^2.3.4",
|
||||
"skelehash-wasm": "file:../skelehash-wasm",
|
||||
"skelehash-wasm": "^0.1.1",
|
||||
"sortablejs": "^1.15.7",
|
||||
"thumbhash": "^0.1.1"
|
||||
},
|
||||
@@ -92,13 +92,6 @@
|
||||
"react-dom": "^19.0.0"
|
||||
}
|
||||
},
|
||||
"../skelehash-wasm": {
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"sharp": "^0.35.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@babel/code-frame": {
|
||||
"version": "7.29.7",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
|
||||
@@ -8203,9 +8196,9 @@
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/set-cookie-parser": {
|
||||
"version": "2.7.2",
|
||||
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz",
|
||||
"integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
|
||||
"version": "2.7.3",
|
||||
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.3.tgz",
|
||||
"integrity": "sha512-irZHtTqurLna57KQG/s+fzOwv/J6XSH4cs8M/vsrY3uCaQ3S6+QJguAH0WdN47SXlk82voMZ4naWMQf8fdEoIg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/set-function-length": {
|
||||
@@ -8476,8 +8469,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/skelehash-wasm": {
|
||||
"resolved": "../skelehash-wasm",
|
||||
"link": true
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/skelehash-wasm/-/skelehash-wasm-0.1.1.tgz",
|
||||
"integrity": "sha512-5kC7dESMvQUdpLvRYfTc0oZ/Ff78bedUhqvYAGnVjs3agsS9PP8RJ/lGpol5sSKoYET/7KJbQ2UVSDTNpmDtTw==",
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/smob": {
|
||||
"version": "1.6.2",
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"react-dom": "^19.3.1",
|
||||
"react-router-dom": "^7.18.4",
|
||||
"react-window": "^2.3.4",
|
||||
"skelehash-wasm": "file:../skelehash-wasm",
|
||||
"skelehash-wasm": "^0.1.1",
|
||||
"sortablejs": "^1.15.7",
|
||||
"thumbhash": "^0.1.1"
|
||||
},
|
||||
|
||||
@@ -6,7 +6,6 @@ import CircularProgress from '@mui/material/CircularProgress';
|
||||
import Link from '@mui/material/Link';
|
||||
import ListItemButton from '@mui/material/ListItemButton';
|
||||
import Skeleton from '@mui/material/Skeleton';
|
||||
import Tooltip from '@mui/material/Tooltip';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import ViewModuleIcon from '@mui/icons-material/ViewModule';
|
||||
import { enqueueSnackbar } from 'notistack';
|
||||
@@ -414,15 +413,13 @@ class ArticleHistoryRow extends PureComponent {
|
||||
}}
|
||||
>
|
||||
{this.renderSkelehashThumb(meta)}
|
||||
<Tooltip title={item.text || ''} placement="top-start" enterDelay={700}>
|
||||
<Typography
|
||||
variant="body2"
|
||||
component="div"
|
||||
sx={{ ...ellipsisSx, display: 'inline', width: '100%', fontSize: '0.8125rem' }}
|
||||
>
|
||||
{this.renderEntrySpans(item.text, meta)}
|
||||
</Typography>
|
||||
</Tooltip>
|
||||
<Typography
|
||||
variant="body2"
|
||||
component="div"
|
||||
sx={{ ...ellipsisSx, display: 'inline', width: '100%', fontSize: '0.8125rem' }}
|
||||
>
|
||||
{this.renderEntrySpans(item.text, meta)}
|
||||
</Typography>
|
||||
</Box>
|
||||
</ListItemButton>
|
||||
);
|
||||
@@ -617,35 +614,31 @@ class ArticleHistorySearchField extends PureComponent {
|
||||
</Box>
|
||||
|
||||
{import.meta.env.DEV && (
|
||||
<Tooltip
|
||||
title={`Chunk-Cache-Monitor öffnen (Alt+Shift+C) — ${this.state.lruChunksCount || 0}/${this.state.maxLruChunks || 50} Chunks im RAM über ${this.state.filterCachesCount || 1} Filter`}
|
||||
>
|
||||
<Chip
|
||||
size="small"
|
||||
icon={<ViewModuleIcon sx={{ fontSize: 16 }} />}
|
||||
label={
|
||||
this.state.lruChunksCount > 0
|
||||
? `Chunk-Cache (${this.state.lruChunksCount}/${this.state.maxLruChunks || 50})`
|
||||
: 'Chunk-Cache'
|
||||
}
|
||||
onClick={() =>
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('dash:toggle-chunk-monitor', {
|
||||
detail: { target: automat.name },
|
||||
}),
|
||||
)
|
||||
}
|
||||
sx={{
|
||||
cursor: 'pointer',
|
||||
height: 28,
|
||||
fontWeight: 600,
|
||||
fontSize: '0.75rem',
|
||||
bgcolor: 'background.paper',
|
||||
boxShadow: 1,
|
||||
'&:hover': { bgcolor: 'action.hover' },
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
<Chip
|
||||
size="small"
|
||||
icon={<ViewModuleIcon sx={{ fontSize: 16 }} />}
|
||||
label={
|
||||
this.state.lruChunksCount > 0
|
||||
? `Chunk-Cache (${this.state.lruChunksCount}/${this.state.maxLruChunks || 50})`
|
||||
: 'Chunk-Cache'
|
||||
}
|
||||
onClick={() =>
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('dash:toggle-chunk-monitor', {
|
||||
detail: { target: automat.name },
|
||||
}),
|
||||
)
|
||||
}
|
||||
sx={{
|
||||
cursor: 'pointer',
|
||||
height: 28,
|
||||
fontWeight: 600,
|
||||
fontSize: '0.75rem',
|
||||
bgcolor: 'background.paper',
|
||||
boxShadow: 1,
|
||||
'&:hover': { bgcolor: 'action.hover' },
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user