chore: 2 big design passes to harmonize and fix stuff

This commit is contained in:
Florian Sylvain committed 2026-10-11 07:45:17 +02:00
1 parent 67b3ff03d0
commit 5e05b606a7
43 files changed
+2167 -4183

No files matched your search

+31 -31
View File
@@ -197,7 +197,7 @@ function tableStates(markdown: string) {
.filter((cell) => cell !== 'State' && !/^-+$/.test(cell))
}
const variantsBoard = 'RenewCMS Screens Image variants.dc.html'
const variantsBoard = officeBoard
function numberedStates(prefix: string, names: string[]) {
return Object.fromEntries(
@@ -241,50 +241,50 @@ function variantsScreen(): Screen {
board: variantsBoard,
group: 'Variants list',
states: listNames,
alias: numberedStates('1', listNames),
alias: numberedStates('V1', listNames),
},
{
board: variantsBoard,
group: 'Add edit variant',
states: formNames,
alias: numberedStates('2', formNames),
alias: numberedStates('V2', formNames),
},
]
const libraryNames = [
'3a · Grid with badges',
'3b · Sort menu',
'3c · Filter: With variants, sorted by total size',
'3d · Filter: Without variants',
'3e · Filter: nothing to show',
'3f · Delete confirm',
'V3a · Grid with badges',
'V3b · Sort menu',
'V3c · Filter: With variants, sorted by total size',
'V3d · Filter: Without variants',
'V3e · Filter: nothing to show',
'V3f · Delete confirm',
]
const detailNames = [
'4a · Partly generated',
'4b · Nothing generated yet',
'4c · Generating',
'4d · Generation failed',
'4e · No variants defined',
'4f · Source is an SVG',
'4h · Preview dialog',
'V4a · Partly generated',
'V4b · Nothing generated yet',
'V4c · Generating',
'V4d · Generation failed',
'V4e · No variants defined',
'V4f · Source is an SVG',
'V4h · Preview dialog',
]
const editorNames = [
'6a · Variant select',
'6b · Select open',
'6c · No variants defined',
'6d · Variant deleted',
'6e · Variant disabled',
'V6a · Variant select',
'V6b · Select open',
'V6c · No variants defined',
'V6d · Variant deleted',
'V6e · 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',
'V5a · Loaded',
'V5b · Loading',
'V5c · Empty cache',
'V5d · Purging',
'V5e · Purge done',
'V5f · Purge failed',
'V5g · Error loading',
'V5h · Purge all: confirm',
'V5i · Purge all: confirm, typed',
'V5j · Purge unused: confirm',
]
sources.push(
{ board: variantsBoard, group: 'Cache panel', states: cacheNames, alias: {} },