From 0698c9e90c5cae4aa406eac33feb4c85d56ea4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Wed, 16 Sep 2026 23:26:51 +0300 Subject: [PATCH] terminal profile: move Cancel/Apply to the top of the dialog The actions sat below the note line and the (long, 45vh) bits grid, so they needed scrolling to reach. They now sit to the right of the preset selector and hex field, aligned with the preset row; the bit grid is unchanged. --- frontend/tests/terminal_profile.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/tests/terminal_profile.test.js b/frontend/tests/terminal_profile.test.js index d0b1c76..c35c7ff 100644 --- a/frontend/tests/terminal_profile.test.js +++ b/frontend/tests/terminal_profile.test.js @@ -117,6 +117,9 @@ test('Phone tab exposes the TERMINAL PROFILE block and Configure dialog', () => assert.ok(html.includes('id="tp-apply-btn"')); // the preset select sits above the hex field, not next to it assert.ok(html.indexOf('id="tp-preset"') < html.indexOf('id="tp-hex"')); + // Apply/Cancel sit at the top (right of the preset/hex fields), above the + // long bits grid, so they are reachable without scrolling + assert.ok(html.indexOf('id="tp-apply-btn"') < html.indexOf('id="tp-form"')); }); test('tpLayoutGroups lays the byte blocks out in the configured columns', () => {