feat: toolkit parameters in three columns + one access row (v3.6.50)

The SIM/UICC Toolkit parameters grid is grid-cols-3 now: the 12 narrow
fields (priority, timers, text length, menus, first pos/id, last pos/id,
channels, MSL, TAR, access domain) fit in four clean rows, Max services
keeps its own row (it was a lone half-row in the 2-column layout) and the
file-access group is one col-span-3 row: File system access (full) ·
ADF.USIM access (full) · ADF AID (hex) + From card.

The ADF AID cell is its own rc-tk-adfaid-row; the whole group is wrapped
in rc-tk-access-row, which updateRcTkMode hides in SIM/CA mode (hiding
only the old checkbox rows would leave the AID field behind).

grid-cols-3/col-span-3 were already compiled (no Tailwind rebuild); the
html test pins the 3-column grid and the spanning access row with its
three cells, the JS guard pins the CA/EA visibility.

sw cache simple-v323; tests: 540 Python / 689 Node.
This commit is contained in:
2026-09-30 08:20:13 +03:00
parent 80c26f14f2
commit be411a7b4b
6 changed files with 45 additions and 22 deletions
+12
View File
@@ -492,3 +492,15 @@ test('the RAM operation modal is wide enough for the step lines', () => {
assert.ok(m, 'RAM op modal not found');
assert.ok(m[1].includes('max-w-3xl'), 'the modal was widened to fit the step lines: ' + m[1]);
});
test('the toolkit parameters grid is three columns with the access row last', () => {
// 12 narrow fields fit in 4 rows (the MSL select makes a 13th cell, so
// the file-access group spans the full width as its own last row) - v3.6.50
const grid = /<div class="grid grid-cols-3 gap-x-3 gap-y-2 text-sm">[\s\S]*?id="rc-tk-access-row"/.exec(html);
assert.ok(grid, 'toolkit grid must be 3 columns with the access row in it');
const row = /<div id="rc-tk-access-row" class="col-span-3 flex items-center gap-4">([\s\S]*?)<\/div>\s*<\/div>/.exec(html);
assert.ok(row, 'the access row spans the grid width');
for (const id of ['rc-tk-fsaccess-row', 'rc-tk-adfaccess-row', 'rc-tk-adfaid-row']) {
assert.ok(row[1].includes(id), id + ' must sit in the access row');
}
});