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:
parent
10a25f5959
commit
f6c4c9a67c
2 changed files with 7 additions and 4 deletions
|
|
@ -5992,10 +5992,9 @@ function _showAiReplyChoice(btn, em, data) {
|
||||||
function _handleAiReplyButton(ev, em, data) {
|
function _handleAiReplyButton(ev, em, data) {
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
const btn = ev.currentTarget;
|
const btn = ev.currentTarget;
|
||||||
if (data?.cached_ai_reply) {
|
// Always open the Fast/Full + context menu — even when a cached
|
||||||
_runAiReplyFromButton(btn, em, data, 'ai-reply');
|
// reply exists — so the user can ask for a fresh draft with new
|
||||||
return;
|
// steering instead of being locked into the cached one.
|
||||||
}
|
|
||||||
_showAiReplyChoice(btn, em, data);
|
_showAiReplyChoice(btn, em, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30345,6 +30345,10 @@ body.doc-find-active mark.doc-find-mark.current {
|
||||||
background: none; border: none; color: var(--fg);
|
background: none; border: none; color: var(--fg);
|
||||||
opacity: 0.4; font-size: 11px; cursor: pointer;
|
opacity: 0.4; font-size: 11px; cursor: pointer;
|
||||||
padding: 4px 8px; font-family: inherit;
|
padding: 4px 8px; font-family: inherit;
|
||||||
|
/* Nudge 2px down so the label baseline-aligns with the To: field
|
||||||
|
chips beside it. */
|
||||||
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
}
|
}
|
||||||
.email-cc-toggle:hover {
|
.email-cc-toggle:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue