This commit is contained in:
Mateusz Gruszczyński committed 2026-10-21 14:39:51 +02:00
1 parent e037190c14
commit 5cb3b37627
37 files changed
+1031 -138

No files matched your search

+5 -3
View File
@@ -54,7 +54,7 @@ assert.match(refresh, /class="appearance-settings-grid refresh-settings-grid"/);
for (const id of ['refresh-live-enabled', 'refresh-overview-seconds', 'refresh-traffic-seconds', 'refresh-cache-seconds', 'refresh-system-info-seconds']) {
assert.equal(refresh.split(`id="${id}"`).length - 1, 1);
}
assert.match(css, /\.refresh-settings-grid > \.check\s*\{[^}]*grid-column:\s*1 \/ -1/);
assert.match(css, /\.refresh-settings-grid\s*>\s*\.check\s*\{[^}]*grid-column:\s*1\s*\/\s*-1/);
// Remove only presentation of the process group, not the stat source or API.
const system = html.slice(html.indexOf('id="settings-page-system-info"'), html.indexOf('id="runtime-acme-mode"'));
@@ -74,7 +74,7 @@ for (const style of ['square', 'subtle', 'rounded', 'extra']) {
}
assert.match(docsCss, /\.reader-sidebar,\s*\.markdown-reader,/);
assert.match(docsCss, /\.swagger-ui select,[\s\S]*?border-radius: var\(--rp-docs-radius-control/);
assert.match(css, /\.metric-info > summary\s*\{[^}]*var\(--rp-radius-control/);
assert.match(css, /\.metric-info\s*>\s*summary\s*\{[^}]*var\(--rp-radius-control/);
assert.match(css, /#panel-overview \.cache-mix-legend i\s*\{[^}]*var\(--rp-radius-control/);
for (const locale of ['en_US', 'pl_pl']) {
@@ -83,5 +83,7 @@ for (const locale of ['en_US', 'pl_pl']) {
assert.ok(translation.vhTinyauth && !translation.vhTinyauth.includes('IP'));
}
assert.match(source('CHANGELOG.md'), /## 0\.34\.5 — Administration UX improvements/);
assert.match(source('Cargo.toml'), /version = "0\.34\.5"/);
const currentVersion = source('Cargo.toml').match(/^version = "([^"]+)"/m)?.[1];
assert.ok(currentVersion);
assert.equal(JSON.parse(source('src/admin/openapi.json')).info.version, currentVersion);
console.log('0.34.5 UX follow-up layout, source IDs, access scopes and corner preferences: PASS');