mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 01:35:36 -04:00
86965950ac
Main button: open cached AI draft if one exists, otherwise generate a fast draft inline. No more intermediate Fast/Full/Note menu. Caret on the side opens a focused popover with just a textarea + Generate button — the user types instructions (e.g. 'thank them and confirm Tuesday at 2', 'decline politely') and submitting fires the full-mode generation with those instructions as the noteHint. - _aiReplySplitButtonHtml(data) centralizes the new HTML so all three reader render sites use the same markup. - _showAiReplyChoice rewritten — drops the Fast/Full toggle row plus the kebab + 'Draft with note' two-step. Ctrl/Cmd+Enter submits. - _handleAiReplyButton routes based on which inner button was clicked (caret → popover, main → run-or-open). - The three reader event registrations now listen on .ai-reply-split so both inner buttons feed the same handler.