feat: image variants cache panel
This commit is contained in:
1 parent
951fef18ba
commit
d768668014
53 files changed
+5809
-46
No files matched your search
+21
-1
@@ -274,7 +274,20 @@ function variantsScreen(): Screen {
|
||||
'6d · Variant deleted',
|
||||
'6e · Variant disabled',
|
||||
]
|
||||
const cacheNames = [
|
||||
'5a · Loaded',
|
||||
'5b · Loading',
|
||||
'5c · Empty cache',
|
||||
'5d · Purging',
|
||||
'5e · Purge done',
|
||||
'5f · Purge failed',
|
||||
'5g · Error loading',
|
||||
'5h · Purge all: confirm',
|
||||
'5i · Purge all: confirm, typed',
|
||||
'5j · Purge unused: confirm',
|
||||
]
|
||||
sources.push(
|
||||
{ board: variantsBoard, group: 'Cache panel', states: cacheNames, alias: {} },
|
||||
{ board: variantsBoard, group: 'Media library', states: libraryNames, alias: {} },
|
||||
{ board: variantsBoard, group: 'Image detail', states: detailNames, alias: {} },
|
||||
{ board: variantsBoard, group: 'Editor picker', states: editorNames, alias: {} },
|
||||
@@ -283,7 +296,14 @@ function variantsScreen(): Screen {
|
||||
name: 'image-variants',
|
||||
board: variantsBoard,
|
||||
group: 'Variants list',
|
||||
states: [...listNames, ...formNames, ...libraryNames, ...detailNames, ...editorNames],
|
||||
states: [
|
||||
...listNames,
|
||||
...formNames,
|
||||
...cacheNames,
|
||||
...libraryNames,
|
||||
...detailNames,
|
||||
...editorNames,
|
||||
],
|
||||
sources,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user