From 52a9a18364fd4b0b4e998ac11024a872ca3731a2 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Fri, 12 Jun 2026 23:39:05 +0900 Subject: [PATCH] =?UTF-8?q?AI=20reply=20menu:=20add=20=E2=80=A6=20note=20i?= =?UTF-8?q?nput=20to=20steer=20the=20draft?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Top row keeps Fast / Full + a new horizontal-dots button. Clicking the dots reveals a textarea ("e.g. reply nicely but say no"); as soon as text is in it the panel shows Draft fast / Draft full buttons that pass the note through as noteHint to the AI reply endpoint. Empty textarea hides the draft buttons so the user only gets the steered draft when they've actually typed direction. --- static/js/emailLibrary.js | 60 ++++++++++++++++++++++++++++++++------- 1 file changed, 49 insertions(+), 11 deletions(-) diff --git a/static/js/emailLibrary.js b/static/js/emailLibrary.js index 7fd7b1b07..b588e88dd 100644 --- a/static/js/emailLibrary.js +++ b/static/js/emailLibrary.js @@ -875,7 +875,7 @@ export function openEmailLibrary(opts = {}) {