From cfac411e3859f03af7c8c1fe4deab6ab6bae42d0 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 28 Sep 2026 18:16:58 -0700 Subject: The feed header keeps its room on a phone: a ⋯ menu for the feed itself, a pencil for a new post. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Save feed, Relays, Share and New post sat in the title row and wrapped on a phone. Share, Relays and Save or Edit now live in the feed's ⋯ sheet, and New post is a pencil; the title has the width. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D --- tools/compose-preview-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/compose-preview-test.js') diff --git a/tools/compose-preview-test.js b/tools/compose-preview-test.js index d33dcdc..c2f35e6 100644 --- a/tools/compose-preview-test.js +++ b/tools/compose-preview-test.js @@ -65,7 +65,7 @@ try { await sleep(1000); await page.evaluate(() => { const e = [...document.querySelectorAll('.item')].find((n) => /feed/i.test(n.textContent)); if (e) e.click(); }); await sleep(2500); - const opened = await click('new post'); + const opened = await page.evaluate(() => { const b = [...document.querySelectorAll('button')].find((n) => (n.getAttribute('aria-label') || n.textContent).trim().toLowerCase() === 'new post'); if (b) { b.click(); return true; } return false; }); check('the composer opens', opened && !!(await page.$('textarea'))); await type('textarea', DRAFT); -- cgit v1.2.3