mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 17:55:26 -04:00
AI reply always reopens menu + Cc toggle 2px down in doc compose
- AI reply: removed the cached_ai_reply shortcut so clicking the button always reopens the Fast/Full + context menu. Lets the user ask for a fresh draft (with new steering) instead of being locked into the cached one. - .email-cc-toggle gets position:relative + top:2px so it baseline-aligns with the To: field chips next to it in the document email compose.
This commit is contained in:
@@ -5992,10 +5992,9 @@ function _showAiReplyChoice(btn, em, data) {
|
||||
function _handleAiReplyButton(ev, em, data) {
|
||||
ev.stopPropagation();
|
||||
const btn = ev.currentTarget;
|
||||
if (data?.cached_ai_reply) {
|
||||
_runAiReplyFromButton(btn, em, data, 'ai-reply');
|
||||
return;
|
||||
}
|
||||
// Always open the Fast/Full + context menu — even when a cached
|
||||
// reply exists — so the user can ask for a fresh draft with new
|
||||
// steering instead of being locked into the cached one.
|
||||
_showAiReplyChoice(btn, em, data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user