diff --git a/src/web/public/index.html b/src/web/public/index.html index 93e14509..ea33beb5 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -206,7 +206,7 @@ - + diff --git a/test/mobile-header-buttons-policy.test.ts b/test/mobile-header-buttons-policy.test.ts index 4d7682fe..8ab13774 100644 --- a/test/mobile-header-buttons-policy.test.ts +++ b/test/mobile-header-buttons-policy.test.ts @@ -34,7 +34,8 @@ const PHONE_WIDTH = 393; // Its per-device setting still defaults off on a handheld. With the blanket phone // hide gone, that default and the startup hide are the whole lock, so both are // pinned below ("File Viewer on a phone: off until it is switched on"). -const MOBILE_VISIBLE_ALLOWLIST = new Set(['btn-file-viewer']); +// Response files is available once Codex links a file, and its preview floats on phones. +const MOBILE_VISIBLE_ALLOWLIST = new Set(['btn-file-viewer', 'btn-response-files']); // Buttons we expect to STAY hidden on phones — an explicit lock so a future edit // that removes a hide rule fails loudly (not silently). The attachments button is @@ -219,7 +220,9 @@ describe('File Viewer on a phone: off until it is switched on (#759)', () => { if (decl.value.trim() === 'none' && decl.important) hidesAtStartup = true; }); }); - expect(hidesAtStartup, 'mobile.css must keep .btn-file-viewer in its html.mobile-init display:none rule').toBe(true); + expect(hidesAtStartup, 'mobile.css must keep .btn-file-viewer in its html.mobile-init display:none rule').toBe( + true + ); }); });