mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: enhance Gmail draft update functionality
- Improved the update_gmail_draft tool to allow users to review and edit draft content before applying changes. - Added logic to generate draft body content based on user requests and conversation context. - Implemented fetching of existing draft body to facilitate user edits in the approval card. - Updated UI components to support displaying and editing existing draft content, enhancing user experience.
This commit is contained in:
parent
ab6eeaf02e
commit
cb6b687933
6 changed files with 132 additions and 18 deletions
|
|
@ -5,7 +5,6 @@ import {
|
|||
CornerDownLeftIcon,
|
||||
MailIcon,
|
||||
Pen,
|
||||
SendIcon,
|
||||
UserIcon,
|
||||
UsersIcon,
|
||||
} from "lucide-react";
|
||||
|
|
@ -193,7 +192,6 @@ function ApprovalCard({
|
|||
{/* Header */}
|
||||
<div className="flex items-start justify-between px-5 pt-5 pb-4 select-none">
|
||||
<div className="flex items-center gap-2">
|
||||
<SendIcon className="size-4 text-muted-foreground shrink-0" />
|
||||
<div>
|
||||
<p className="text-sm font-semibold text-foreground">
|
||||
{decided === "reject"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue