From 9ab2b9a74559ad15e12cda64352f5cd155fe825e Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sat, 4 Apr 2026 08:14:34 -0700 Subject: [PATCH] feat: move cookies button to quick actions toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cookies now sits next to Cleanup and Screenshot as a primary action button (๐Ÿช Cookies) instead of buried in the footer. Same behavior, more discoverable. Co-Authored-By: Claude Opus 4.6 (1M context) --- browse/test/sidebar-ux.test.ts | 8 ++++---- extension/sidepanel.html | 2 +- extension/sidepanel.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/browse/test/sidebar-ux.test.ts b/browse/test/sidebar-ux.test.ts index e32d3c9e..25c9b066 100644 --- a/browse/test/sidebar-ux.test.ts +++ b/browse/test/sidebar-ux.test.ts @@ -1630,13 +1630,13 @@ describe('cookie import button (sidebar)', () => { const html = fs.readFileSync(path.join(ROOT, '..', 'extension', 'sidepanel.html'), 'utf-8'); const js = fs.readFileSync(path.join(ROOT, '..', 'extension', 'sidepanel.js'), 'utf-8'); - test('sidebar footer has cookies button', () => { - expect(html).toContain('id="copy-cookies"'); - expect(html).toContain('cookies'); + test('quick actions toolbar has cookies button', () => { + expect(html).toContain('id="chat-cookies-btn"'); + expect(html).toContain('Cookies'); }); test('cookies button navigates to cookie-picker', () => { - expect(js).toContain("'copy-cookies'"); + expect(js).toContain("'chat-cookies-btn'"); expect(js).toContain('cookie-picker'); }); }); diff --git a/extension/sidepanel.html b/extension/sidepanel.html index 94c36318..33c77f1f 100644 --- a/extension/sidepanel.html +++ b/extension/sidepanel.html @@ -141,6 +141,7 @@
+
@@ -156,7 +157,6 @@ -