From 42c0ef9c6391285d76825bdf0d29371cd6ebf500 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 10 Oct 2026 08:28:53 -0700 Subject: Composers: attach and GIF sit in the field's corner. The post composer's row had grown to Post · 📎 · GIF · Preview · Cancel; the reply box's likewise. The paperclip and GIF button are now small borderless tools inside the text field, bottom right (the field keeps room under its text so nothing runs beneath them), and the row under it is only what you do with the post: Post, Preview, Cancel (Preview, Cancel, Reply in a thread). Tests find the tools in .compose-box. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3 --- tools/post-actions-test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/post-actions-test.js') diff --git a/tools/post-actions-test.js b/tools/post-actions-test.js index a33079e..766cfa3 100644 --- a/tools/post-actions-test.js +++ b/tools/post-actions-test.js @@ -93,10 +93,11 @@ try { const reply = await page.evaluate(() => { const box = document.querySelector('.thread-reply-input'); if (!box) return { box: false }; - const row = box.parentElement; + const row = box.closest('.thread-reply'); return { box: true, - attach: !!row.querySelector('.attach-btn'), + // in the field's corner now, beside the GIF button + attach: !!row.querySelector('.compose-box .compose-tool:not(.gif-btn)'), file: !!row.querySelector('#reply-file'), accepts: (row.querySelector('#reply-file') || {}).accept, }; -- cgit v1.2.3